mcp-geo-server
Provides tools to assess and enhance web pages for retrieval and citation by OpenAI's search capabilities (e.g., ChatGPT Search), increasing chances of being included in synthesized responses.
Audits web content for citation readiness and RAG optimization to improve visibility in Perplexity's generated answers.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-geo-serverAudit GEO for https://example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP GEO Server (mcp-geo-server)
A production-grade Model Context Protocol (MCP) Server that exposes the SAGE (Search & AI-Engine Guided Evaluation) auditing and measurement engine to AI agents (Claude Desktop, Cursor, Antigravity, custom agents).
Developed by Taqi Molavi (Molavi R&D Think Tank) as the official tool-exposure and protocol adapter layer for the SAGE Core framework.
ποΈ Architecture: Thin SAGE Adapter
mcp-geo-server implements a strict separation of concerns:
AI Agent / Claude Desktop / Cursor / Antigravity
β
βΌ (MCP JSON-RPC Protocol)
mcp-geo-server (Protocol & Transport Layer)
β
βΌ (Python API / SageAdapter)
SAGE Core (`sage-audit` Engine)
βββββββββββββΌββββββββββββ
βΌ βΌ βΌ
Pillar 1 Pillar 2 Pillar 3
Technical SEO Entity AEO GEO & RAGmcp-geo-server: Responsible exclusively for MCP protocol negotiation, tool definitions, transport error handling, and standard JSON shaping.sage-audit: The single source of truth for auditing, semantic embedding, RAG simulation, Citation Survival Proxy (CSP), and the SAGE Evidence Taxonomy (E0βE5).
Related MCP server: maxaeo-ai-visibility-mcp
π οΈ MCP Tools Reference
Full Audits
audit_url(url, embedding_backend="auto")
Performs a complete 3-pillar audit (Technical SEO, Entity AEO, GEO Readiness) against a live URL.audit_html(html_content, url="https://example.local/", embedding_backend="auto")
Performs a complete 3-pillar audit on raw HTML strings (ideal for local development, CI/CD, or offline snapshots).
Pillar-Specific Tools
technical_seo(url=None, html_content=None)
Pillar 1: Audits DOM hygiene, clean heading outlines, canonical tags, AI crawler directives (GPTBot, ClaudeBot, PerplexityBot in robots.txt), and header policies.aeo_readiness(url=None, html_content=None)
Pillar 2: Evaluates Answer Engine Optimization including JSON-LD schema depth, sameAs authority graph connections, and direct-answer density.geo_readiness(url=None, html_content=None, embedding_backend="auto")
Pillar 3: Generative Engine Optimization with RAG chunking simulation, semantic density, and Citation Survival Proxy (CSP).entity_analysis(url=None, html_content=None)
Deep analysis of linked-data schemas (Organization, Person, Product, Article), entity disambiguation, and knowledge graph signals.citation_readiness(url=None, html_content=None, embedding_backend="auto")
Evaluates fact density, source attribution, numeric verification anchors, and Citation Survival Proxy diagnostic factors.
Utilities & Capabilities
generate_llms_txt(domain, title, description, key_sections=None)
Generates a clean, spec-compliant/llms.txtfile for generative engines and AI crawlers.get_capabilities()
Returns supported pillars, available vector embedding backends, SAGE engine version, and active evidence taxonomy definitions.
Legacy & Backward Compatibility
audit_geo_url(url, html_content)β Forwards toaudit_htmlwith deprecation notice.calculate_mavi_score(...)β Legacy manual-input MAVI calculator (markedmode: manual_override).measure_mavi(...)β 5-layer MAVI measurement engine with SAGE L1βL4 automation.
π Evidence & Agent Tool Integration
MCP Client Demonstration Script:
examples/mcp_client_example.pyStandalone Offline JSON-RPC Demo:
examples/public_demo/5-Layer MAVI Integration Specification:
docs/mavi-methodology.mdEcosystem Data Flow & Contracts:
docs/BENCHMARK_ECOSYSTEM.mdCross-Repository Evidence Map: Ecosystem Evidence Flow
Evidence Taxonomy & CSP Diagnostics
Every finding and metric exposed by mcp-geo-server carries SAGE Evidence Taxonomy levels to guarantee transparency:
Level | Classification | Meaning |
E0 | Fact | Deterministic binary technical verification (HTTP status, canonical match). |
E1 | Standard | Backed by open published specifications (Schema.org, robots.txt RFC 9309). |
E2 | Documented | Directly verified by official documentation from Google, OpenAI, Anthropic. |
E3 | Empirical | Backed by published empirical benchmark findings. |
E4 | Heuristic | Industry-standard structural optimization practices. |
E5 | Hypothesis | Experimental or uncalibrated exploratory heuristic. |
Citation Survival Proxy (CSP) findings are clearly exposed as diagnostic indices and proxy metricsβnever misrepresented as uncalibrated citation probabilities.
π Installation
# Install with uv (Recommended)
uv pip install mcp-geo-server
# Or with pip
pip install mcp-geo-serverβοΈ MCP Client Configuration
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"geo-auditor": {
"command": "uv",
"args": [
"run",
"--package",
"mcp-geo-server",
"mcp-geo-server"
]
}
}
}Cursor IDE
Open Settings -> Features -> MCP.
Click + Add New MCP Server.
Command:
uv run --package mcp-geo-server mcp-geo-server
π Python Usage
from mcp_geo_server.adapter import SageAdapter
adapter = SageAdapter()
# Full audit
result = adapter.audit_full(url="https://example.com")
print(f"Overall Score: {result['score']}/100 ({result['grade']})")
# Pillar 3: GEO & RAG Readiness
geo = adapter.geo_readiness(url="https://example.com")
print(f"CSP Diagnostic: {geo['metrics']['citation_survival_proxy']}")π§ͺ Testing
uv run pytest -vποΈ Ecosystem
MCP GEO Server operates as the protocol integration component of the Molavi AI Visibility Stack:
Discovery: AnswerPath GEO
Measurement: GEO-Scope
Diagnostics: SAGE Audit
Action: SiteProbe
Protocol: MCP GEO Server
π Runnable Python Client Example
Run the bundled MCP adapter example script:
python examples/mcp_client_example.py㪠Community & External Collaboration
We welcome contributions to MCP tool definitions, AI agent bindings, and transport protocols:
Discussions: GitHub Discussions
First Contribution Guide:
docs/FIRST_CONTRIBUTION.mdMAVI Integration Specs:
docs/mavi-methodology.mdReport Issues: GitHub Issues
Contribution Standards:
CONTRIBUTING.mdandSECURITY.md
π License & Author
Developed by Taghi Molavi β molavi.pro
MIT License β Copyright (c) 2026 Taghi Molavi
This server cannot be deployed
Maintenance
Related MCP Connectors
Audit a page for search and AI answer engines; generate robots.txt, sitemap, head, llms.txt.
Run SEO + AI-visibility (GEO) audits from Claude, Cursor & other AI clients.
Generate 18 AI readiness files (llms.txt, ai.txt, RAG indexes, schema) for any website.
Create, validate and audit llms.txt, incl. the Lighthouse Agentic Browsing check.
Related MCP Servers
- FlicenseAqualityCmaintenanceEnables scanning websites for AI search readiness, generating fixes like llms.txt, and comparing GEO scores across domains.81-
- AlicenseAqualityBmaintenanceEnables AI agents to check whether a public website is crawlable, understandable, and ready for AI search workflows through local-only audits of robots.txt, sitemaps, metadata, and llms.txt.357 npm1MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to audit URLs or raw HTML for SEO, AEO, and GEO performance, generate llms.txt manifests, and check the tool version via MCP tools.1MIT
- AlicenseAqualityCmaintenanceEnables auditing, comparing, and optimizing websites for AI readiness, performance, SEO, AEO, GEO, and AI crawler accessibility.4MIT