robotstxt-ai
v1.0.1Analyze and generate robots.txt with AI crawler detection for 20+ bots like GPTBot and ClaudeBot.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fetch_robots
Fetch and analyze a robots.txt file from a URL. Returns which AI bots are blocked or allowed.
| Parameter | Type | Description |
|---|---|---|
url * | string | The website URL to fetch robots.txt from (e.g. https://example.com) |
analyze_robots
Analyze pasted robots.txt content. Returns which AI bots are blocked or allowed based on the rules.
| Parameter | Type | Description |
|---|---|---|
content * | string | The robots.txt content to analyze |
generate_robots
Generate a robots.txt file with specified blocked bots, sitemap URLs, and custom rules.
| Parameter | Type | Description |
|---|---|---|
block_all_ai | boolean | If true, blocks all known AI crawlers (but not search engines like Googlebot) |
blocked_bots | array | Array of bot user-agent strings to block (e.g. ['GPTBot', 'ClaudeBot', 'CCBot']). Use list_ai_bots to see available user-agents. |
custom_rules | string | Additional custom robots.txt rules to append (raw robots.txt syntax) |
sitemap_urls | array | Array of sitemap URLs to include (e.g. ['https://example.com/sitemap.xml']) |
list_ai_bots
List all known AI bots with their user-agents, companies, and descriptions. Useful for deciding which bots to block.
check_bot_status
Check if a specific bot is blocked or allowed on a given website by fetching and analyzing its robots.txt.
| Parameter | Type | Description |
|---|---|---|
bot_name * | string | The bot user-agent string to check (e.g. 'GPTBot', 'ClaudeBot'). Use list_ai_bots to see available names. |
url * | string | The website URL to check (e.g. https://example.com) |