sagrank-mcp
This MCP server lets AI assistants audit, compare, and optimize websites for AI visibility using SAG RANK's scoring and data.
Full website audits (
sagrank_audit): Get a SAG RANK score (0–100) covering performance (Core Web Vitals), SEO, AEO (Schema & semantics), GEO (EEAT & Q&A), AI crawler access, SPA/CSR detection, and optimization priorities.Competitive comparisons (
sagrank_compare): Compare two sites side-by-side across all major SEO/AI metrics, identify the winner, and highlight strengths and strategic recommendations.AI crawler checks (
sagrank_check_ai_crawlers): Verify whether 8 major AI bots (GPTBot, ChatGPT-User, ClaudeBot, PerplexityBot, Google-Extended, Applebot-Extended, Bytespider, CCBot) are allowed, blocked, or restricted byrobots.txt.Generate instant fixes (
sagrank_generate_fixes): Produce ready-to-use/llms.txt, Schema.org JSON-LD, and a balancedrobots.txttailored to your site.Flexible integration: Works with Cursor, Windsurf, Claude Desktop, VS Code (Roo Code, Cline, etc.) via
npx; supports mobile/desktop strategies and optional Google PageSpeed API keys.
Checks Applebot-Extended directives and helps optimize website visibility for Apple Intelligence and Siri.
Checks Bytespider directives in robots.txt and helps optimize website access for ByteDance/TikTok AI crawlers.
Checks Google-Extended directives and helps optimize website visibility for Google Gemini and Vertex AI.
Checks robots.txt permissions for OpenAI's GPTBot and ChatGPT-User crawlers and helps optimize website visibility for ChatGPT and SearchGPT.
Provides website performance and SEO data from Google PageSpeed Insights, including Core Web Vitals metrics such as FCP, LCP, TBT, CLS, and Speed Index, for audits and comparisons.
Checks robots.txt permissions for PerplexityBot and helps optimize website visibility for Perplexity AI.
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., "@sagrank-mcp Audit https://example.com and recommend AI improvements"
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.
🚀 SAG RANK MCP Server
El servidor oficial de Model Context Protocol (MCP) para SAG RANK — la suite integral de diagnóstico, optimización y auditoría para la era de la inteligencia artificial.
Permite a tus asistentes y agentes de programación (Cursor, Windsurf, Claude Desktop, Antigravity, Roo Code, Cline y VS Code) auditar, comparar y optimizar cualquier sitio web directamente desde tu chat o workflow de desarrollo.
✨ Capacidades Principales
🎯 Score SAG RANK Global (0 - 100): Algoritmo unificado ponderado que combina Rendimiento, SEO, AEO, GEO y Acceso de IA.
⚡ Core Web Vitals & Rendimiento: Métricas reales de Google Lighthouse (FCP, LCP, TBT, CLS, Speed Index).
🤖 AEO (Answer Engine Optimization): Análisis de semántica HTML y validación de datos estructurados Schema.org (JSON-LD).
🧠 GEO (Generative Engine Optimization): Evaluación de señales EEAT, citabilidad para LLMs y patrones de preguntas/respuestas (Q&A).
⚔️ Comparativa Competitiva (A vs B): Compara dos sitios web lado a lado, detecta al ganador, analiza ventajas competitivas y brechas técnicas.
🛡️ Auditoría de 8 Rastreadores de IA: Verificación granular en
robots.txtpara GPTBot, ChatGPT-User, ClaudeBot, PerplexityBot, Google-Extended, Applebot-Extended, Bytespider y CCBot.🛠️ Generador de Soluciones Inmediatas: Genera
/llms.txt, Schema JSON-LD yrobots.txtbalanceado listos para guardar en tu proyecto.
Related MCP server: Seonix SEO MCP
⚡ Inicio Rápido
Estado de Distribución:
Mientras se completa el registro en los catálogos públicos globales (como mpxjs y npmjs.com), puedes ejecutar el servidor directamente referenciando el repositorio de GitHub:
npx -y git+https://github.com/pabloandrestro/sagrank-mcp-v2.gitUna vez indexado en los registros globales, también estará habilitada la invocación sin URL: npx -y sagrank-mcp-v2.
🛠️ Configuración en Editores y Asistentes
1. Cursor
Añade el servidor en tu configuración de MCP en Cursor:
Opción A — Archivo .cursor/mcp.json o ~/.cursor/mcp.json:
{
"mcpServers": {
"sagrank": {
"command": "npx",
"args": ["-y", "sagrank-mcp-v2"]
}
}
}Opción B — Desde la Interfaz de Cursor:
Abre Cursor Settings (
Ctrl + ,oCmd + ,).Ve a Features > MCP Servers.
Haz clic en + Add New MCP Server.
Nombre:
sagrankTipo:
commandComando:
npx -y sagrank-mcp-v2
2. Windsurf (Codeium)
Añade el servidor en ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"sagrank": {
"command": "npx",
"args": ["-y", "sagrank-mcp-v2"]
}
}
}3. Claude Desktop
Edita el archivo de configuración según tu sistema operativo:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"sagrank": {
"command": "npx",
"args": ["-y", "sagrank-mcp-v2"]
}
}
}4. Google Antigravity & Agentic IDEs
Configura en tu bloque de herramientas MCP:
{
"name": "sagrank-mcp-v2",
"command": "npx",
"args": ["-y", "sagrank-mcp-v2"]
}5. VS Code (Roo Code / Cline / Continue / Copilot)
En la configuración MCP de la extensión seleccionada:
{
"mcpServers": {
"sagrank": {
"command": "npx",
"args": ["-y", "sagrank-mcp-v2"]
}
}
}📚 Herramientas Disponibles
1. sagrank_audit
Realiza una auditoría completa de un sitio web.
Parámetros:
url(string, obligatorio): Dominio o URL a auditar (ej.https://miweb.com).estrategia(string, opcional, por defecto"mobile"):"mobile"o"desktop".psi_key(string, opcional): Clave de Google PageSpeed Insights API si deseas cuota dedicada.
Ejemplo de prompt en el chat:
"Audita mi sitio https://miweb.com con sagrank_audit y dime qué necesito mejorar para aparecer en Perplexity y SearchGPT."
2. sagrank_compare
Compara competitivamente dos sitios web (Sitio A vs Sitio B) lado a lado.
Parámetros:
url1(string, obligatorio): URL del primer sitio (tu web o Sitio A).url2(string, obligatorio): URL del segundo sitio (competidor o Sitio B).estrategia(string, opcional, por defecto"mobile"):"mobile"o"desktop".psi_key(string, opcional): Clave opcional de Google PageSpeed Insights API.
Ejemplo de prompt en el chat:
"Compara mi web https://miempresa.com contra el competidor https://competidor.com usando sagrank_compare y muéstrame la tabla de ventajas."
Respuesta generada:
Score global y delta de puntos con ganador proclamado.
Tabla comparativa lado a lado (Lighthouse, SEO, AEO, GEO, AI Bots, llms.txt, SPA).
Desglose de fortalezas exclusivas del Sitio A y del Sitio B.
Recomendación estratégica para superar al competidor.
3. sagrank_check_ai_crawlers
Audita de forma exhaustiva el archivo robots.txt para 8 motores y rastreadores de IA.
Parámetros:
url(string, obligatorio): URL del sitio web.
Rastreadores analizados:
GPTBot (OpenAI - ChatGPT & SearchGPT)
ChatGPT-User (OpenAI - Navegación web en vivo)
ClaudeBot (Anthropic - Claude & Claude Search)
PerplexityBot (Perplexity AI)
Google-Extended (Google Gemini & Vertex AI)
Applebot-Extended (Apple Intelligence & Siri)
Bytespider (ByteDance & TikTok IA)
CCBot (Common Crawl - Conjunto masivo de entrenamiento LLM)
Ejemplo de prompt en el chat:
"Verifica con sagrank_check_ai_crawlers si GPTBot y PerplexityBot tienen permiso de indexar mi web https://miweb.com."
4. sagrank_generate_fixes
Genera código listo para copiar y pegar para solventar las deficiencias detectadas.
Parámetros:
url(string, obligatorio): URL base del sitio.nombre_sitio(string, opcional): Nombre de la marca o proyecto.descripcion(string, opcional): Breve resumen de la propuesta de valor.
Archivos generados:
/llms.txt: Archivo estándar en Markdown que guía a los LLMs sobre la estructura, propósito y APIs de tu web.Schema.org JSON-LD: Bloque estructurado con entidadesWebSite,OrganizationyFAQPage.robots.txt: Directivas equilibradas que abren las puertas a los motores de IA mientras restringen áreas administrativas.
🏗️ Arquitectura y Flujo de Peticiones
+-------------------------------------------------------------+
| Entorno de Desarrollo / IA |
| (Cursor, Windsurf, Claude Desktop, Antigravity) |
+-------------------------------------------------------------+
|
JSON-RPC sobre stdio
|
v
+-------------------------------------------------------------+
| sagrank-mcp-v2 (Local) |
| Cliente ligero en Node.js (< 1 MB) |
+-------------------------------------------------------------+
/ \
(HTTPS) (HTTPS)
v v
+-----------------------+ +----------------------+
| SAG RANK Cloud API | | Google PageSpeed |
| (Cloudflare Workers) | | Insights API v5 |
| | | |
| - AEO & Semántica | | - Core Web Vitals |
| - GEO & EEAT Signals | | - FCP, LCP, TBT, CLS |
| - AI Bots robots.txt | | - Score Rendimiento |
| - SPA / CSR Detection | | - SEO On-Page |
| - Security Headers | +----------------------+
+-----------------------+⚙️ Variables de Entorno Opcionales
Puedes configurar variables de entorno para personalizar el comportamiento del servidor:
Variable | Descripción | Valor por defecto |
| URL del endpoint de diagnóstico de SAG RANK |
|
| Clave API de Google Cloud para PageSpeed Insights | (Opcional, utiliza llamadas públicas si no se define) |
💻 Desarrollo Local
Si deseas contribuir o modificar el servidor MCP:
# 1. Clonar el repositorio
git clone https://github.com/pabloandrestro/sagrank-mcp-v2.git
cd sagrank-mcp-v2
# 2. Instalar dependencias
npm install
# 3. Probar en modo desarrollo
npm start📄 Licencia
Distribuido bajo la Licencia MIT. Consulta LICENSE para más detalles.
Desarrollado con ❤️ por Marcelo Pino Valverde • Potenciado por SAG RANK
Available Tools
4 toolssagrank_auditB
Audita un sitio web completo con el algoritmo oficial de SAG RANK. Calcula el Score Global (0-100), Core Web Vitals (FCP, LCP, TBT, CLS), SEO On-Page, AEO (Answer Engine Optimization con Schema y Semántica), GEO (Generative Engine Optimization con EEAT y Q&A), estado de 8 bots de IA en robots.txt, detección de SPA/CSR, y entrega las prioridades de optimización.
Inputs: url (required), psi_key, estrategia.
sagrank_check_ai_crawlersB
Verifica específicamente el acceso de los 8 principales rastreadores y motores de IA (GPTBot, ChatGPT-User, ClaudeBot, PerplexityBot, Google-Extended, Applebot-Extended, Bytespider, CCBot) en el robots.txt del sitio web. Indica si están Permitidos, Bloqueados o Restringidos y las directivas exactas.
Inputs: url (required).
sagrank_compareA
Compara competitivamente dos sitios web (Sitio A vs Sitio B) con SAG RANK. Genera una tabla comparativa exhaustiva lado a lado: Score Global SAG RANK, Core Web Vitals, SEO, AEO (Schema & Semántica), GEO (EEAT & Citabilidad), Acceso de Bots de IA, llms.txt, detección SPA/CSR, y concluye con el ganador y las fortalezas competitivas clave de cada uno.
Inputs: url1 (required), url2 (required), psi_key, estrategia.
sagrank_generate_fixesA
Genera código y archivos listos para producción para solucionar problemas detectados por SAG RANK: 1) Archivo /llms.txt estándar optimizado para modelos de lenguaje, 2) Datos estructurados Schema.org JSON-LD (WebSite, Organization, FAQPage), y 3) Archivo robots.txt balanceado que permite el rastreo de IA protegiendo rutas privadas.
Inputs: url (required), descripcion, nombre_sitio.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly defined purpose: single-site audit, two-site comparison, dedicated AI-crawler access check, and fix generation. Even where audit and compare mention bot status, the descriptions make their different scopes unambiguous.
All tool names share the clear sagrank_ prefix and use snake_case, giving the set a cohesive feel. However, sagrank_audit and sagrank_compare are bare verbs while the other two follow a verb_noun pattern, which is a minor inconsistency.
Four tools is a well-scoped count for a specialized SAG RANK auditing server. Each tool has a distinct role, and the set avoids both bloat and an overly thin surface.
The tool set covers the core workflow: audit a site, compare sites, inspect AI crawler access, and generate actionable fixes. Minor gaps exist, such as no explicit re-audit or page-level audit tool, but agents can work around them using the provided tools.
Related MCP Connectors
Live AEO, GEO, JSON-LD Schema, robots.txt AI crawler, and Agent Readiness diagnostic auditor.
AI website growth audits: SEO, performance, AI readiness (GEO), conversion, a11y, security.
Free SEO, GEO, and AEO audits: analyze any page or domain, AI-crawler access, agent readiness.
AEO audit: score any website 0-100 for AI visibility. Checks schema, meta, content, AI crawlers.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables scanning websites for AI search readiness, generating fixes like llms.txt, and comparing GEO scores across domains.81MIT

Seonix SEO MCPofficial
AlicenseAqualityCmaintenanceLets any AI agent audit any website for SEO, GEO/AEO, and speed problems, reporting issues and recommendations without modifying the site.4MIT- -licenseNot gradedqualityCmaintenanceEnables 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.-

SitePulsar MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceMeasures and improves how findable, readable, and usable a website is to AI answer engines and autonomous AI agents through hosted AEO audit tools.MIT