Skip to main content
Glama

GEOMCP is an open-source Model Context Protocol server for technical SEO and generative engine optimization (GEO). Connect it to an MCP-capable assistant to inspect HTML, structured data, crawler policies and sitemap documents without leaving your development workflow.

Every page finding includes a stable check ID, observed evidence and a concrete recommendation. Audit reports work as structured JSON, so your assistant can turn findings into code changes and compare the result.

See it before installing: Watch the recorded audit-to-traffic workflow · Walkthrough and installation options · Run GEOMCP

The recording pairs a GEOMCP audit with WebDecoy’s own-site traffic dashboard. GEOMCP audits crawlability and page evidence; observing AI crawler visits and referral traffic requires a separate WebDecoy integration. A crawler visit does not establish an AI citation or a referred visitor.

  • Evidence you can inspect. Findings point to observed metadata, elements, counts and response details.

  • Works on your machine. No GEOMCP account, API key, telemetry or paid LLM dependency.

  • Useful before launch. Audit supplied HTML without making network requests.

  • Search and training stay distinct. Inspect declared crawler policies without treating training opt-outs as SEO failures.

  • Designed for a second pass. Compare checks after changes; unknowns remain coverage changes.

Get started

Requires Node.js 22+. Run the versioned GitHub release directly:

npx --yes --package=https://github.com/WebDecoy/geomcp/releases/download/v0.1.1/webdecoy-geomcp-0.1.1.tgz geomcp

This downloads the built release; cloning and compiling are optional. For development, use:

git clone https://github.com/WebDecoy/geomcp.git
cd geomcp
npm ci
npm run build
node dist/cli.js --help

Use the absolute path to dist/cli.js in your MCP client. The server communicates over stdio and waits for an MCP client when started without arguments.

Claude Desktop or Cursor

Add this entry to your client's MCP configuration (claude_desktop_config.json for Claude Desktop; .cursor/mcp.json for a Cursor project). Replace the example path with your actual clone location, then restart or enable the server.

{
  "mcpServers": {
    "geomcp": {
      "command": "node",
      "args": ["/absolute/path/to/geomcp/dist/cli.js"]
    }
  }
}

If your desktop app cannot find Node, use the absolute path returned by which node (macOS/Linux) or where node (Windows) as command.

VS Code

In .vscode/mcp.json:

{
  "servers": {
    "geomcp": {
      "type": "stdio",
      "command": "node",
      "args": ["/absolute/path/to/geomcp/dist/cli.js"]
    }
  }
}

Start with a question

Audit https://your-site.com/guide for technical GEO issues. Show the evidence for the three most useful fixes, inspect its robots policy, and propose specific changes.

Audit this generated HTML before I deploy it. Keep unavailable HTTP checks separate from failures.

Compare these two GEOMCP reports. What improved, what regressed, and what could we not evaluate?

The included improve-page prompt guides the audit → fix plan → verification workflow. geomcp://methodology exposes scoring guidance directly to clients that support MCP resources.

Related MCP server: sagrank-mcp

Five tools, one workflow

Tool

Input

Result

audit_url

url

Fetch one public HTML page; return scored checks, evidence, coverage and up to eight prioritized fixes.

audit_html

html, url

Analyze supplied HTML offline. The URL resolves relative links; no request is made.

inspect_robots

url

Fetch the origin's /robots.txt; evaluate declared policies for the exact page path.

inspect_sitemap

url

Inspect one XML sitemap or sitemap index for syntax, locations, dates and duplicates.

compare_audits

before, after

Compare check statuses from two reports using the same rules version.

audit_url, inspect_robots and inspect_sitemap make public GET requests. The other tools run offline. All tools are read-only: they do not edit your files or deploy changes.

What it checks

26 page checks across seven categories. Rules are readable in src/audit.ts; the complete check IDs and weights are in docs/checks.md.

Category

Signals inspected

Discovery

Title, page description, canonical URL, index directives, Open Graph metadata

Structure

Document language, primary heading, heading order, main landmark, extractable HTML text

Semantics

JSON-LD syntax, entity types and contexts, publisher identity metadata

Media & interaction

Image alt attributes, table headers, form labels

Links

Internal links, descriptive labels, HTML navigation destinations

Evidence signals

Author attribution, machine-readable dates, supporting source links

Delivery

HTTP status, HTML Content-Type, HTTPS URL, responsive viewport

Robots inspection reports policies for Googlebot, Bingbot, OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot, GPTBot and ClaudeBot. These are declared policies, not live requests made under those identities.

An actual report

examples/audit.json is generated from the included examples/page.html fixture. It is a reproducible example, not a customer result.

{
  "id": "canonical-url",
  "category": "discovery",
  "status": "warn",
  "weight": 2,
  "title": "Canonical URL",
  "evidence": "0 canonical elements; resolved URL: none",
  "recommendation": "Use one HTTP(S) canonical URL for the preferred version of this page."
}

You can also use the audit engine directly after building:

import { auditHTML } from './dist/index.js';

const report = auditHTML(html, 'https://example.com/guide');
console.log(report.priorities);

Understand the score

The score is a transparent technical checklist, with rules version 0.1.0:

pass = 1    warn = 0.5    fail = 0
score = round(100 × Σ(weight × value) / Σ(evaluated weights))
unknown checks are excluded

Core checks receive weights of 2 or 3; supporting checks receive 1. Reports include coverage and category scores so a high score with sparse evidence remains visible. Compare similar page types, coverage and the same rules version.

A checklist score does not predict AI citations, rankings, factual accuracy or signups. A public product page, private dashboard and editorial article have different needs. Intentional noindex, absent bylines and missing editorial dates can all be appropriate. No recommendation requires invented content, credentials, claims or reviews.

Network behavior & privacy

  • Runs locally. No telemetry, vendor API or account system. Reports are returned to the MCP client; your assistant provider's own data policies still apply.

  • Public fetches identify as GEOMCP/0.1.1 (+https://github.com/WebDecoy/geomcp). It does not impersonate AI vendors.

  • HTTP(S) only, ports 80/443, a 15-second total fetch deadline, four redirects maximum and a 2 MiB response limit. The same size limit applies to offline HTML input.

  • Private, loopback, link-local and reserved IP ranges are blocked. DNS answers are checked and pinned to each connection; redirects are revalidated. HTTPS downgrades are blocked.

  • No cookies, authentication headers, form submissions, JavaScript execution or browser automation. Requests ask for uncompressed content; unexpectedly compressed responses are rejected.

  • audit_url fetches one page and does not enforce robots.txt policy automatically. Use it on pages you are authorized to inspect; use inspect_robots when reviewing declared crawler preferences.

  • Page content is untrusted data. MCP tool descriptions and server instructions tell assistants to treat it as evidence, never as instructions.

The tool does not measure Core Web Vitals, computed visibility, rendered accessibility, actual crawler identity or index inclusion. Sitemaps and outbound links are inspected without following their destinations. Supporting links are evidence signals, not fact checking.

Development

npm ci
npm run build
npm test
npm run check
npm run artwork

Tests cover audit behavior, scoring, crawler rules, XML parsing, SSRF protections and a real MCP client/server stdio exchange. GitHub Actions runs the build and tests on Node.js 22 and 24. Artwork is generated from the editable SVG designs in scripts/artwork.mjs.

A live validation of all 193 WebDecoy sitemap pages exercised all five tools through a real SDK client and stdio server. It also checked a controlled missing-title/missing-H1 fixture, blocked a metadata IP, and verified the methodology resource and prompt. Reproduce the initial 12-page validation with npm run validate:site -- /tmp/geomcp-validation. The recorded scores describe checklist results, not search visibility.

See CONTRIBUTING.md for adding checks and SECURITY.md for private vulnerability reports.

Find the installation guide, interactive demo and audit case study.

Built by WebDecoy

WebDecoy builds bot detection for websites, applications, WordPress and Shopify. GEOMCP helps developers inspect discoverability; WebDecoy helps them understand the traffic that arrives.

If GEOMCP helps you ship a better page, give it a star or share a reproducible issue. Contributions and thoughtful new checks are welcome.

MIT licensed. Made for people who want to see the work behind the score.

Available Tools

5 tools
audit_htmlAudit supplied HTML offlineA
Read-onlyIdempotent

Audit HTML supplied by the user or a build pipeline. Makes no network requests. HTTP checks remain unknown. Base URL is used only to resolve links.

Inputs: url (required), html (required).

audit_urlAudit a public pageA
Read-onlyIdempotent

Fetch one public page as GEOMCP and audit server-delivered HTML. Returns evidence, scored checks, unknowns, and prioritized fixes. No JavaScript execution, vendor impersonation or citation prediction.

Inputs: url (required).

compare_auditsCompare before and afterA
Read-onlyIdempotent

Compare two GEOMCP 0.1.0 check reports. Unknowns and absent checks are coverage changes, never improvements. Pass prior audit objects directly; extra fields are ignored.

Inputs: after (required), before (required).

inspect_robotsInspect search and training policiesA
Read-onlyIdempotent

Fetch origin /robots.txt and report declared policies for search, AI retrieval and training separately at the supplied page path. Does not prove live vendor access.

Inputs: url (required).

inspect_sitemapInspect a sitemap documentA
Read-onlyIdempotent

Fetch one public XML sitemap or sitemap index. Report malformed locations, duplicate URLs, date syntax and samples. Does not fetch child maps or check indexing.

Inputs: url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct input and action: audit_url (network page), audit_html (supplied markup), inspect_robots, inspect_sitemap, and compare_audits. The only near-pair, audit_url vs audit_html, is clearly separated by input source and network behavior in the descriptions.

    Naming Consistency5/5

    All names follow a consistent verb_noun snake_case pattern (audit_url, audit_html, inspect_robots, inspect_sitemap, compare_audits). Verbs vary (audit/inspect/compare) but each accurately reflects the operation without breaking the convention.

    Tool Count4/5

    Five tools is a tight, well-scoped set that maps cleanly onto the audit workflow. It is on the lean side, with no batch or multi-page variants, but nothing is redundant.

    Completeness4/5

    The set covers page auditing from both live and supplied HTML plus robots.txt, sitemap, and report comparison. Gaps exist for batch/multi-URL audits and other GEO-relevant artifacts like llms.txt, but the core lifecycle is workable.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • -
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to perform comprehensive SEO and GEO measurements, including site audits, keyword research, ranking tracking, and brand visibility analysis across search engines and generative AI platforms.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to crawl live websites, audit AEO readiness, generate Schema.org @graph JSON-LD, llms.txt, ai.txt, and robots.txt, inject structured data into HTML, validate optimizations, and retrieve framework-specific code snippets.
      MIT