
SEO & GEO
io.github.OrtaMarcoPublished by GitHub account OrtaMarcov1.2.2Updated Oct 24, 2026
Audit a page's SEO and its readiness for AI answer engines: meta, schema, robots, sitemaps, AI bots.
Overview
A local MCP server that lets an assistant audit a page's SEO and its readiness to be crawled and cited by AI answer engines.
- What you can do
- Run full SEO and GEO audits of a URL, returning weighted 0–100 scores, A–F grades and prioritised fixes, with an optional GEO dimension in the SEO audit and a dedicated AI answer-engine readiness score covering crawler access, server-rendered content, structured data, extractable structure, authorship, freshness and depth. Check AI crawler access against robots.txt, separating training bots from citation bots and flagging blocks vendors document as unenforceable, and test whether content survives without JavaScript. Validate llms.txt and report its real adoption status. Inspect on-page elements: meta tags, social previews and og:image loading, heading outline, structured data against rich-sn
- When to use it
- Use it when you want an assistant to check a page's on-page SEO and whether AI assistants such as ChatGPT, Claude, Perplexity and Gemini can crawl and cite it, and to get a graded report with prioritised fixes in the same loop as editing the code.
- Requirements
- Runs locally over stdio via npx; requires Node.js 20.18 or later. No API keys or accounts. Optional self-hosting over Streamable HTTP uses environment variables TRANSPORT, PORT, HOST, ALLOWED_HOSTS, ALLOWED_ORIGINS and MCP_AUTH_TOKEN. Network access is needed to fetch the audited pages and their linked resources.
Installation
In SourceWeft
- Open SEO & GEO in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
seo-geo-mcp-server
An MCP server that lets an AI agent audit a page for SEO and GEO (Generative Engine Optimization) — on-page tags, structured data, robots.txt, sitemaps, hreflang, and whether ChatGPT, Claude, Perplexity and Gemini can actually crawl and cite you. No API keys required.
[ci] [npm] [MCP] [TypeScript] [License: MIT]
Built on the v2 MCP SDK: the server speaks the 2026-07-28 protocol revision and still accepts 2025-era clients (Claude Desktop, Claude Code, Cursor) from the same factory — one build, both eras, nothing to configure.
Ask Claude "how is this page doing, and will AI assistants cite it?" and it runs a full audit and hands you a graded report with prioritised fixes — instead of you pasting a URL into six different web tools.
Why this exists
Two gaps, one server.
The SEO gap: the on-page checkers are all web UIs. None of them let an agent run the audit, read the result and fix the code in the same loop.
The GEO gap: "generative engine optimization" tooling is mostly rank-tracking dashboards behind a subscription. The mechanics that actually decide whether an AI assistant can cite you are cheap to check and almost never checked:
- Can the AI search crawlers reach you? Blocking
GPTBotstops training. BlockingOAI-SearchBotstops you being cited. Most sites that meant to do the first have accidentally done the second. This server separates them. - Does your content exist without JavaScript? Googlebot renders JS.
GPTBot,ClaudeBot,PerplexityBotandCCBotlargely do not. A client-rendered page can rank fine in Google and be invisible to every AI assistant.
It is the agent-facing companion to the tools at ortamarco.me,
and shares its core (the connect-time SSRF guard and host validation)
with domain-security-mcp-server.
Tools
Audits
GEO
On-page
Technical
Every tool is read-only, declares an outputSchema and returns
structuredContent (validated by the SDK) alongside human-readable Markdown
(default) or JSON (response_format="json"), plus actionable error messages.
Honesty notes
This server deliberately refuses to overstate two things that most GEO content gets wrong. Both are surfaced in tool output, not buried here:
llms.txtis not an adopted standard. It is a community proposal from September 2024. No major AI vendor has documented that its crawlers read it from third-party sites, and Google has publicly said it does not. The tool reports presence and validates shape — andgeo_auditdeliberately does not score it. (llms-full.txtis a docs-tooling convention, not part of the proposal.)- Some robots.txt blocks are advisory.
Perplexity-User,ChatGPT-Userandmeta-externalfetcherare documented by their own vendors as ignoring or possibly ignoring robots.txt. Reporting those as cleanly "blocked" would be misleading, so they are listed separately as unenforceable.
Crawler tokens carry a provenance field distinguishing first-party vendor
documentation from community aggregators, and vendors that publish no token at
all (xAI/Grok, Microsoft Copilot) are named explicitly — because a missing rule
cannot be read as either allowed or blocked.
Install
Requires Node.js 20.18+. Nothing to clone — every MCP client can run it with npx.
Use it with Claude Code
Use it with Claude Desktop or Cursor
Add to claude_desktop_config.json (or ~/.cursor/mcp.json) — see examples/:
On Windows use "command": "cmd" with "args": ["/c", "npx", "-y", "seo-geo-mcp-server"].
Restart the client, then ask: "Audit the SEO and GEO of example.com."
Self-host (HTTP transport)
The same server speaks stateless Streamable HTTP for remote or multi-client
use. One endpoint serves both protocol eras; there is no session state and no
Mcp-Session-Id to carry.
It is safe by default: it binds to 127.0.0.1 and only accepts localhost
Host and Origin headers, which blocks DNS-rebinding attacks from a web page.
To expose it — for example behind Coolify or Traefik — opt in explicitly:
Binding to a non-loopback address without ALLOWED_HOSTS or MCP_AUTH_TOKEN
works, but the server says so on stderr. With Docker (the image sets HOST=0.0.0.0):
Develop
evals/ holds a 10-question LLM evaluation set (stable, verifiable)
and instructions for running it — see evals/README.md.
How it works
The core/ layer is deliberately free of any MCP types, so the same logic can
power both this server and a web UI.
Security
The tools fetch URLs the caller names and URLs the audited site names (links,
og:image, hreflang alternates, sitemap children, redirects), so every outbound
connection is screened against server-side request forgery:
- Private, loopback, link-local (cloud metadata), shared (CGNAT), multicast and
reserved addresses are refused in every spelling, including IPv4 embedded in
IPv6 (
[::ffff:127.0.0.1]). - The check runs at connect time, on the address the socket is about to use, so DNS rebinding and names only an internal resolver knows are refused too. Redirects are followed by hand, every hop is screened, and loops are reported.
- Untrusted input is bounded: 2 MB of HTML, 512 levels of nesting (what browsers keep), a backtracking-free robots.txt matcher, 10 MiB per sitemap (gzip output included), six link checks at a time, and at most 200 items per list in a result.
Found a problem? Please open a private security advisory.
License
MIT © Marco Orta
Source: README.md at commit f9ab062
Tools
0Version history
3- v1.2.2LatestOct 16, 2026
- v1.2.1Oct 7, 2026
- v1.2.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
