ai-visibility-mcp
ai-visibility-mcp
Un servidor MCP para verificar y mejorar la visibilidad de un sitio web frente a los rastreadores de IA y motores de respuesta (ChatGPT, Claude, Perplexity, Google AI Overviews, etc.) en relación con tus propias propiedades.
La mayoría de los consejos de "AI SEO" se limitan a "añadir un llms.txt". En la práctica, el problema más grande y común está aguas arriba: robots.txt — a menudo gestionado automáticamente por una CDN como Cloudflare — bloquea silenciosamente los mismos rastreadores a los que quieres llegar, lo que hace que cualquier llms.txt o trabajo de contenido sea irrelevante. Este servidor verifica ambos, además puede auditar y generar la solución.
Herramientas
check_visibility(url)— obtiene elrobots.txten vivo de un sitio y marca cualquier bot de IA nombrado (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, Applebot-Extended, CCBot, Bytespider, Amazonbot, meta-externalagent y otros) bloqueado conDisallow: /, o un bloqueo comodín. También comprueba sillms.txtexiste como un archivo real en lugar de caer en una ruta de captura general de una SPA (un falso positivo común: el archivo da "200" pero en realidad es tu página de inicio).cloudflare_ai_bot_audit(domain)— lee la configuración de bots de IA del Bot Management de una zona de Cloudflare (ai_bots_protection,ai_training,ai_search,ai_user,is_robots_txt_managed) para un dominio que controlas. Requiere las variables de entornoCLOUDFLARE_API_EMAIL+CLOUDFLARE_API_KEY(Global API Key).generate_llms_txt(name, description, url, phrase?)— genera una línea dellms.txty, si proporcionas unphrasede nicho propio, un pequeño paquete de contenido (meta descripción + bloque de preguntas frecuentes) anclado en esa frase. Generación de texto puro — sin escritura en el sistema de archivos ni en git.
Related MCP server: ai-readiness
Instalación
git clone https://github.com/tsushanth/ai-visibility-mcp.git
cd ai-visibility-mcp
npm install
npm run buildAñade a la configuración de tu cliente MCP (por ejemplo, Claude Code, Claude Desktop):
{
"mcpServers": {
"ai-visibility": {
"command": "node",
"args": ["/absolute/path/to/ai-visibility-mcp/dist/index.js"],
"env": {
"CLOUDFLARE_API_EMAIL": "you@example.com",
"CLOUDFLARE_API_KEY": "your-global-api-key"
}
}
}
}Las variables de entorno de Cloudflare solo son necesarias para cloudflare_ai_bot_audit — check_visibility y generate_llms_txt funcionan sin configuración.
Por qué existe esto
Los sitios en Cloudflare frecuentemente tienen activado el bloqueo de rastreadores de IA por defecto (el toggle "Block AI Bots"), que reescribe el robots.txt servido para denegar GPTBot, ClaudeBot, Google-Extended y otros — incluso cuando el propietario del sitio nunca lo decidió explícitamente y en realidad quiere visibilidad en búsquedas de IA. Esto es fácil de pasar por alto porque el sitio sigue luciendo y funcionando normalmente para los visitantes humanos y para los motores de búsqueda convencionales; solo los rastreadores de IA son rechazados silenciosamente. check_visibility revela esto desde el exterior (lo que realmente se está sirviendo) y cloudflare_ai_bot_audit lo confirma desde el lado de la cuenta (lo que dicen los ajustes de Cloudflare), para que puedas distinguir ambas cosas.
Licencia
MIT
Available Tools
3 toolscheck_visibilityA
Check a site's actual AI-crawler visibility: fetch its live robots.txt and look for Disallow rules blocking named AI bots (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, etc.) or a wildcard block, plus whether llms.txt actually exists as a real file (vs. falling through to a SPA catch-all).
Inputs: url (required).
cloudflare_ai_bot_auditA
Read a Cloudflare zone's Bot Management AI-bot settings (ai_bots_protection, ai_training, ai_search, ai_user, is_robots_txt_managed) for a domain. Requires CLOUDFLARE_API_EMAIL and CLOUDFLARE_API_KEY env vars (Global API Key, X-Auth-Email/X-Auth-Key auth).
Inputs: domain (required).
generate_llms_txtA
Generate an llms.txt line plus a content pack (ownable phrase, llms.txt sentence, meta description, FAQ block) for a product, ready to hand-place on a landing page or drop as a file. Does not write files or touch git — pure text generation.
Inputs: url (required), name (required), description (required), phrase.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: one checks live robots.txt and llms.txt, one audits Cloudflare's specific AI bot settings, and one generates llms.txt content. There is no overlap or ambiguity.
All names use snake_case and include a verb, but check_visibility and generate_llms_txt follow a verb_noun pattern while cloudflare_ai_bot_audit places the verb at the end of a compound noun. This slight inconsistency is minor and does not hinder readability.
Three tools is a reasonable number for a focused domain like AI crawler visibility. The scope is narrow enough that each tool earns its place without feeling sparse or excessive.
The tool set covers the core workflows: checking visibility, auditing a specific provider's settings, and generating content. However, it lacks support for other hosting providers beyond Cloudflare and does not include any write/modify capabilities, which may be expected in a visibility management server but is likely intentional as an analysis-only tool.
Maintenance
Related MCP Connectors
Checks llms.txt, AI crawler access in robots.txt, and sitemap - with a 0-100 AI readiness score.
Gets a website ready for AI assistants: robots.txt fixed, llms.txt drafted (access pass).
Audit a site's visibility to ChatGPT, Perplexity, Claude and AI agents. Generates llms.txt.
Audit websites for AI search readiness and generate or validate llms.txt. Free quick check.
Related MCP Servers
- AlicenseAqualityDmaintenanceAnalyze and generate robots.txt files with AI crawler awareness. Fetch any site's robots.txt, detect which AI bots (GPTBot, ClaudeBot, PerplexityBot, Google-Extended) are blocked or allowed, and generate optimized robots.txt with toggle controls for 20+ AI crawlers.51MIT
- AlicenseNot gradedqualityCmaintenanceGenerates a complete suite of AI readiness files (llms.txt, ai.txt, schema, RAG indexes) for any website to optimize representation in ChatGPT, Claude, Gemini, and Perplexity.52 npm4MIT
- AlicenseAqualityCmaintenanceEnables AI agents to audit and improve a site's visibility in AI search by checking robots.txt against 17 major AI crawlers, detecting llms.txt, and returning a 0-100 visibility score with per-crawler verdicts; it also lists known AI crawlers and their purposes.2MIT

QueryRev AI Readinessofficial
AlicenseAqualityCmaintenanceChecks a site for AI crawlers: which of 11 AI crawlers its robots.txt lets in, whether its llms.txt follows llmstxt.org, and what its home page says without scripts. Findings with evidence; no scores, no model calls, no telemetry.543 npmMIT