robotstxt-ai-mcp
Provides tools to analyze and manage robots.txt rules for Amazonbot, enabling control over how Amazon's AI crawlers access website content.
Provides tools to analyze and manage robots.txt rules for Baiduspider, enabling control over how Baidu's search crawlers access website content.
Provides tools to analyze and manage robots.txt rules for Googlebot and Google-Extended, enabling control over how Google's search and AI agents crawl website content.
Provides tools to analyze and manage robots.txt rules for Meta-ExternalAgent, enabling control over how Meta's AI agents crawl website content.
Provides tools to analyze and manage robots.txt rules for PerplexityBot, enabling control over how Perplexity's AI search agents crawl website content.
Manage which AI bots can crawl your website — visually.
Toggle GPTBot, ClaudeBot, PerplexityBot, and 20+ AI crawlers on/off with a simple UI. Analyze any site's robots.txt instantly.
Features
Visual Toggle UI — Block or allow AI bots with simple on/off switches
20+ AI Bots Database — GPTBot, ClaudeBot, Google-Extended, CCBot, Bytespider, Diffbot, cohere-ai, Amazonbot, Meta-ExternalAgent, and more
Analyze Existing robots.txt — Paste or fetch any robots.txt to see which AI bots are blocked
Generate robots.txt — Create a complete robots.txt with your chosen rules
MCP Server — Use with Claude Desktop, Cursor, or any MCP-compatible AI assistant
Check Bot Status — Verify if a specific bot is blocked on any website
Related MCP server: ai-visibility-mcp
MCP Tools
Tool | Description |
| Fetch and analyze a robots.txt from any URL |
| Analyze pasted robots.txt content for AI bot blocking status |
| Generate a robots.txt with specified blocked bots and custom rules |
| List all known AI bots with user-agents, companies, and descriptions |
| Check if a specific bot is blocked on a given website |
Installation
Web App
git clone https://github.com/sharozdawa/robotstxt-ai.git
cd robotstxt-ai
npm install
npm run devOpen http://localhost:3000 in your browser.
MCP Server — Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"robotstxt-ai": {
"command": "npx",
"args": ["-y", "robotstxt-ai-mcp"]
}
}
}MCP Server — Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"robotstxt-ai": {
"command": "npx",
"args": ["-y", "robotstxt-ai-mcp"]
}
}
}Tracked Bots
The server knows about 25+ bots including:
AI Crawlers: GPTBot, ClaudeBot, Google-Extended, CCBot, Bytespider, Diffbot, cohere-ai, Amazonbot, Meta-ExternalAgent
AI Search: ChatGPT-User, OAI-SearchBot, PerplexityBot, YouBot
Search Engines: Googlebot, Bingbot, YandexBot, Baiduspider, DuckDuckBot
Why robotstxt.ai vs Manual Editing
Feature | robotstxt.ai | Manual Editing |
Visual toggle UI | Yes | No |
20+ AI bots database | Yes | Research yourself |
Analyze existing robots.txt | Yes | No |
MCP Server | Yes | No |
Price | Free | Free but tedious |
More Open Source SEO Tools
Tool | Description |
Curated list of SEO MCP servers and agent skills | |
Instant URL indexing via IndexNow | |
Schema.org JSON-LD markup generator | |
AI brand visibility tracker |
License
MIT
Built by Sharoz Dawa — SEO Professional & Digital Marketing Expert
Available Tools
5 toolsanalyze_robotsA
Analyze pasted robots.txt content. Returns which AI bots are blocked or allowed based on the rules.
Inputs: content (required).
check_bot_statusA
Check if a specific bot is blocked or allowed on a given website by fetching and analyzing its robots.txt.
Inputs: url (required), bot_name (required).
fetch_robotsB
Fetch and analyze a robots.txt file from a URL. Returns which AI bots are blocked or allowed.
Inputs: url (required).
generate_robotsB
Generate a robots.txt file with specified blocked bots, sitemap URLs, and custom rules.
Inputs: block_all_ai, blocked_bots, custom_rules, sitemap_urls.
list_ai_botsA
List all known AI bots with their user-agents, companies, and descriptions. Useful for deciding which bots to block.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct operation: analyzing pasted content, checking a specific bot, fetching from a URL, generating, and listing bots. No overlap in functionality.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., analyze_robots, check_bot_status). No mixing of conventions.
Five tools is a well-scoped set for this domain, covering the essential tasks without being too few or excessive.
The tools cover the full lifecycle: fetching, analyzing, checking specific bots, generating, and listing known AI bots. No obvious gaps for the intended purpose.
Maintenance
Related MCP Connectors
Generate, validate and check robots.txt rules for AI crawlers. Free; optional Pro key.
robots.txt tester (RFC 9309), AI crawler access (GPTBot, ClaudeBot...) and sitemap check.
See what GPTBot, ClaudeBot and other crawlers get from a site: robots.txt checks and AI scans.
Check which AI bots a website or a pasted robots.txt lets in, grouped by purpose.
Related MCP Servers
- AlicenseAqualityDmaintenanceAudits AI-bot visibility: robots.txt per-bot for 22 AI user-agents (GPTBot/ClaudeBot/PerplexityBot/etc), Cloudflare flags, JSON-LD, sitemap, llms.txt, SPA shell, plus cross-model brand mentions via Perplexity + OpenRouter. 0-100 score. SSRF-guarded, spend-capped.41MIT
- AlicenseAqualityDmaintenanceChecks a website's robots.txt and Cloudflare settings to identify AI crawler blocking. Also generates llms.txt content to improve visibility to AI answer engines.355 npmMIT
- AlicenseNot gradedqualityCmaintenanceLets an AI assistant check any URL to see how much of a page's main content is present in the raw HTML versus only after JavaScript runs, showing which text blocks, meta fields, canonical tags, JSON-LD and links AI crawlers like GPTBot and ClaudeBot cannot read. It also reports what robots.txt allows for 22 AI bot tokens and how the site responds to each bot's user-agent.AGPL 3.0
- 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