crawlerpeek
The crawlerpeek MCP server provides six read-only tools for auditing AI crawler access, robots.txt, sitemaps, and crawler IPs.
check_ai_access: check robots.txt decisions per bot and optionally fetch the page with each bot's user-agent to report live HTTP status.see_as_bot: fetch one URL as a specified bot and report status, redirects, content type, size, title, and block/challenge signals.verify_bot_ip: verify an IP against an operator's published IP ranges or forward-confirmed reverse DNS, optionally for a specified bot; never connects to the IP.generate_robots_txt: generate a robots.txt that welcomes AI crawlers, with optional disallowed paths, blocked bots, and sitemap URL; no network requests.lint_robots_txt: lint robots.txt from a site URL or supplied text, returning stable finding codes, line numbers, and severities.scan_site: read a site's sitemap (following an index one level) and report which sitemap URLs robots.txt blocks per bot, without fetching the pages.
Checks access for Apple's crawlers (Applebot, Applebot-Extended) and verifies whether an IP belongs to Apple using its published IP ranges or forward-confirmed reverse DNS.
Checks DuckDuckGo's crawler (DuckAssistBot) against robots.txt and live HTTP responses, and verifies claimed DuckDuckGo IPs using the operator's published IP ranges.
Checks access for Googlebot and Google-Extended (robots.txt rules and live fetches) and verifies IPs claiming to be Googlebot via Google's published IP ranges or reverse DNS with forward confirmation.
Checks whether Meta's crawlers (meta-externalagent, meta-externalfetcher) may access a URL, combining robots.txt decisions with live HTTP fetches using their user agents.
Checks and verifies OpenAI's crawlers (GPTBot, OAI-SearchBot, ChatGPT-User): robots.txt access decisions, live HTTP status when fetched as the bot, and IP verification against OpenAI's published IP-range lists.
Checks access for PerplexityBot and Perplexity-User via robots.txt and live HTTP fetches, and verifies Perplexity IPs using the operator's published IP ranges.
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., "@crawlerpeek Check whether GPTBot and ClaudeBot can crawl example.com/pricing"
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.
crawlerpeek
Check whether AI crawlers can access your site. For each bot (GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot, Claude-SearchBot, PerplexityBot, Google-Extended, Googlebot, Bingbot, CCBot and more) it tells you:
whether
robots.txtallows the URL's path for that bot (RFC 9309: user-agent groups, wildcards,$, longest match wins), andwhat the page actually returns when fetched with that bot's user-agent string: status, final URL after redirects, content type, size, title, and whether the response looks like a block or challenge page.
It also lints a robots.txt for mistakes, checks every URL in a sitemap against robots.txt, and generates a robots.txt that welcomes AI crawlers. A library, a CLI for CI, and an MCP server. Node 20 or newer, no runtime dependencies, ESM and CommonJS, TypeScript types included.
The same checks as a web tool: crawlerpeek.com. Documentation with examples for CI and MCP clients: crawlerpeek.com/cli.
Install
npm install crawlerpeek # library
npx crawlerpeek --help # CLI, no install neededRelated MCP server: geo-tool-check
CLI
npx crawlerpeek check https://example.comhttps://example.com
robots.txt: ok (HTTP 200) at https://example.com/robots.txt
Bot robots HTTP
GPTBot blocked 200 FAIL
ClaudeBot allowed 403 (block page) FAIL
Google-Extended allowed -npx crawlerpeek check https://example.com/pricing --bots GPTBot,ClaudeBot --fail-on blocked
npx crawlerpeek check https://example.com --bots all --json
npx crawlerpeek check https://example.com --no-http # robots.txt only
npx crawlerpeek see https://example.com --bot ClaudeBot # one bot, full detail
npx crawlerpeek verify 66.249.66.1 --bot Googlebot # is this IP really Googlebot?
npx crawlerpeek lint https://example.com # find mistakes in its robots.txt (or: lint ./robots.txt, lint -)
npx crawlerpeek scan https://example.com --limit 50 # robots.txt per bot for the URLs in its sitemap
npx crawlerpeek check https://example.com --markdown # GitHub-flavoured Markdown table
npx crawlerpeek robots --disallow /admin/,/cart/ --sitemap https://example.com/sitemap.xmlExit codes: 0 ok, 1 the --fail-on condition was met, 2 usage error (including an unknown option) or request error. see exits 0 when the page was fetched, whatever its HTTP status, and 2 when the request failed or was refused.
verify <ip> [--bot GPTBot] [--json] checks whether an address from your server logs really belongs to a crawler. It uses only what the operator documents: the published IP-range JSON (Google, OpenAI, Anthropic, Perplexity, Bing, Apple, Common Crawl, DuckDuckGo, Ahrefs) or reverse DNS with forward confirmation (Google, Bing, Apple, Common Crawl, Ahrefs). Without --bot every bot with such a method is checked. Each result has method (ip-list, reverse-dns or none), verified (true, false, or null when it cannot be decided, for example the list is unreachable or the operator documents no method) and a detail. Lists are cached for one hour, and nothing is ever sent to the IP. Exit codes: 0 verified for at least one bot, 1 not verified or undecidable, 2 usage error.
check --markdown prints the result as a GitHub-flavoured Markdown table (a heading with the URL, a ✅/❌ summary line and one row per bot) instead of the text table; it cannot be combined with --json. --summary-file <path> appends the same Markdown to a file in addition to the normal output, which is how the GitHub Action fills the job summary (--summary-file "$GITHUB_STEP_SUMMARY").
lint <url|file|-> [--fail-on error|warning] [--json] checks a robots.txt: the /robots.txt of a URL, a local file, or - for stdin. It prints one line per finding (L12 warning unknown-field ...) and a summary. Each finding has a stable code, a severity (error, warning, info) and the line number, and is based on RFC 9309 or Google's robots.txt documentation:
Code | Severity | Finding |
| error | the server answered |
| error | the file is binary or compressed data, not text |
| warning | Allow or Disallow before any User-agent line (ignored) |
| warning | a misspelled field such as |
| warning | an Allow or Disallow path that does not start with |
| warning | a Sitemap value that is not an absolute http(s) URL |
| warning | every AI training, search and user crawler in the default list is blocked from |
| warning | more than 500 KiB; Google reads only the first 500 KiB |
| info |
|
| info |
|
| info | a misspelled bot token (for example |
| info | a User-agent group without rules, or the same token in more than one group |
| info | the file has more than 20 000 lines, or more than 200 findings |
Exit codes: 0 nothing at or above the --fail-on threshold (default warning), 1 findings, 2 usage error or a robots.txt that could not be fetched. A missing robots.txt (404) has no findings.
scan <url> [--limit 25] [--bots a,b|all] [--fail-on none|blocked] [--json] evaluates robots.txt for the URLs in the site's sitemap: the Sitemap: lines of its robots.txt, else /sitemap.xml; a sitemap index is followed one level (at most 5 child sitemaps). Only http(s) URLs on the same host are kept (www. and the bare domain count as different hosts, unless robots.txt redirects from one to the other), without duplicates, and --limit (1 to 200) takes the first ones. .gz sitemaps are reported as skipped. No page is fetched: the only requests are robots.txt and the sitemap files. The output has a table of how many URLs each bot is blocked from, then the blocked URLs per bot (the first 10, then "... and N more"; --json has all). Exit codes: 0 ok, 1 with --fail-on blocked when any checked bot is blocked from any URL, 2 usage or request error, or when no URL could be read from the sitemap.
| Fails when |
| robots.txt closes the path for a bot, or the page answers that bot with 401/403/406/451 or a challenge page |
| as above, or any other status (404, 5xx, redirects that end elsewhere) or a failed request |
Without --fail-on the exit code is 0 whatever the result. --bots takes tokens or all; the default is 15 bots: the main AI crawlers plus Googlebot and Bingbot. A robots.txt that cannot be fetched (timeout, 5xx, a redirect that is refused or has no target) is reported as unknown, with the reason in robotsTxt.error, and never counts as blocked. Note: this deliberately differs from RFC 9309 §2.3.1.4, where crawlers treat an unreachable robots.txt (5xx) as "disallow everything" (Google does too), so a site whose robots.txt returns 5xx is effectively closed to many bots even though --fail-on blocked passes. Treat unknown as a problem to fix.
Library
import { checkAiAccess, seeAsBot, verifyBotIp, lintRobotsTxt, lintRobotsUrl, scanSite, formatMarkdown, generateRobotsTxt, failingBots } from "crawlerpeek";
const report = await checkAiAccess("https://example.com/pricing", { bots: ["GPTBot", "ClaudeBot"] });
report.bots[0].robots; // { access: "allowed", pathAllowed: true, matchedGroup: "*" }
report.bots[0].http; // { status: 200, finalUrl, redirects, contentType, bytes, title, looksBlocked, outcome: "ok", ... }
failingBots(report, "blocked"); // ["ClaudeBot"] when it is closed or challenged
await seeAsBot("https://example.com", "PerplexityBot");
await verifyBotIp("66.249.66.1", { bot: "Googlebot" }); // [{ bot: "Googlebot", method: "ip-list", verified: true, detail, source }]
lintRobotsTxt("User-agent: *\nDissallow: /a\n"); // [{ line: 1, severity: "info", code: "empty-group", ... }, { line: 2, severity: "warning", code: "unknown-field", message: '... Did you mean Disallow?' }]
await lintRobotsUrl("https://example.com"); // { url, status, state, findings, ... }
const scan = await scanSite("https://example.com", { limit: 50, bots: ["GPTBot"] });
scan.summary.perBot; // [{ bot: "GPTBot", blocked: 3 }]
scan.urls[0]; // { url: "https://example.com/private/a", blockedFor: ["GPTBot"] }
formatMarkdown(report, failingBots(report, "blocked")); // GitHub-flavoured Markdown
generateRobotsTxt({ disallow: ["/admin/"], blockBots: ["CCBot"], sitemap: "https://example.com/sitemap.xml" });generateRobotsTxt names each AI bot explicitly with Allow: /. Disallowed paths are repeated in that group on purpose: a bot with its own group ignores the * group.
MCP server
crawlerpeek mcp speaks the Model Context Protocol over stdio and exposes six read-only tools: check_ai_access, see_as_bot, verify_bot_ip, generate_robots_txt, lint_robots_txt (give a url or the file text) and scan_site (url, limit, bots). Results are cached for 10 minutes per call. No LLM is called; the tools only fetch the URL you give them.
Client | Install |
Claude Code |
|
Claude Code (plugin: MCP server and skill) |
|
Claude Desktop | Download |
Codex |
|
VS Code |
|
Any other client | the JSON below |
Generic configuration (Claude Desktop, Cursor, Windsurf, Cline and others use this mcpServers shape):
{ "mcpServers": { "crawlerpeek": { "command": "npx", "args": ["-y", "crawlerpeek", "mcp"] } } }VS Code reads .vscode/mcp.json with servers as the root key and "type": "stdio" on the entry. Codex reads ~/.codex/config.toml; raise the startup timeout so the first npx download does not run into the default 10 seconds:
[mcp_servers.crawlerpeek]
command = "npx"
args = ["-y", "crawlerpeek", "mcp"]
startup_timeout_sec = 30Agent skill
skills/crawlerpeek/ is an Agent Skill: a SKILL.md that tells an AI agent when to check AI crawler access, which commands to run, and how to read the result. It uses only the common frontmatter fields, so the same folder works in several agents.
Agent | Install |
Claude Code | installed with the plugin above, or copy the folder to |
claude.ai | zip the |
Codex | copy the folder to |
OpenClaw | copy the folder to |
Hermes |
|
git clone --depth 1 https://github.com/crawlerpeek/crawlerpeek.git
mkdir -p ~/.agents/skills && cp -r crawlerpeek/skills/crawlerpeek ~/.agents/skills/Restart the agent afterwards so it picks up the new skill. The skill and the MCP server are independent: with the MCP server connected the skill uses its tools, otherwise it runs npx -y crawlerpeek.
GitHub Action
A composite action lives in action/; see action/README.md.
- uses: crawlerpeek/crawlerpeek/action@v0
with: { url: "https://example.com", fail-on: blocked }The action also writes a Markdown table of the result to the job summary (input summary, on by default).
What you should know
see-as-bot sends the bot's own user-agent string from your machine. It is not the real bot and not from the operator's IP ranges. Sites that verify bot IPs (Googlebot, GPTBot and others publish theirs) may treat a request that only claims to be the bot differently, often by blocking it. A 403 for
Googlebothere can therefore be normal; a 403 for an unusual bot with a 200 for a browser usually points at a WAF or CDN rule.robots.txtitself is fetched with an honestcrawlerpeek/<version>user agent.Google-Extended and Applebot-Extended are robots.txt control tokens, not crawlers: they get a robots.txt decision but are never fetched.
Pages are fetched as raw HTML. No JavaScript runs.
robots.txt is a request, not access control. Some user-triggered fetchers (ChatGPT-User, Perplexity-User) may not follow it; the operators' documentation says which.
The bot list and user-agent strings come from the operators' documentation and can drift; the list was last compared with the operators' documentation on 2026-10-18.
Safety limits
check: one request per bot plus one for robots.txt, sequential with a 300 ms pause (--delay); 10 s timeout for the whole request chain; at most 5 redirects, each re-checked (a redirect to a refused target is reported for that bot or for robots.txt, it does not stop the run); response bodies capped at 2 MB; no cookies. lint makes one request (robots.txt, read up to 500 KiB); scan makes at most 11: robots.txt, up to 5 sitemaps and up to 5 child sitemaps of an index (5 MB each, 50 000 entries), and never fetches the pages themselves. Private, loopback, link-local and metadata addresses are refused after DNS resolution (and again at connect time), as are ports other than 80 and 443 and URLs with credentials. --allow-private (CLI and crawlerpeek mcp) or allowPrivate: true lifts these limits for local testing.
Contributing
Issues and pull requests are welcome, see CONTRIBUTING.md. Report security problems privately, see SECURITY.md.
License
Available Tools
6 toolscheck_ai_accessARead-onlyIdempotent
Check whether AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended and others) may access a URL: robots.txt decision per bot plus the live HTTP status when the page is fetched with each bot's user-agent string. Read-only; one request per bot.
Inputs: url (required), bots, http.
generate_robots_txtARead-onlyIdempotent
Generate a robots.txt that welcomes AI crawlers, with optional disallowed paths and bots to close. Pure text generation; makes no network requests.
Inputs: sitemap, disallow, block_bots.
lint_robots_txtARead-onlyIdempotent
Lint a robots.txt for mistakes: HTML served instead of robots.txt, misspelled fields or bot tokens, rules before any User-agent, relative paths or sitemap URLs, duplicate or empty groups, directives Google ignores, every AI crawler blocked. Give the site's URL (fetches its /robots.txt) or the file's text. Findings carry stable codes, line numbers and a severity.
Inputs: url, text.
scan_siteARead-onlyIdempotent
Check robots.txt for many pages of one site at once: takes the URLs from its sitemap (listed in robots.txt, else /sitemap.xml; a sitemap index is followed one level) and reports per bot which URLs robots.txt blocks. Same host only, up to 200 URLs, .gz sitemaps are skipped. Read-only; fetches only robots.txt and the sitemap files, never the pages.
Inputs: url (required), bots, limit.
see_as_botARead-onlyIdempotent
Fetch one URL with a single bot's user-agent string from this machine and report status, final URL after redirects (max 5), content type, size, page title and whether the response looks like a block or challenge page. Does not prove what the real bot gets (operators verify IP ranges).
Inputs: bot (required), url (required).
verify_bot_ipARead-onlyIdempotent
Check whether an IP address really belongs to a crawler (for example one seen in server logs claiming to be Googlebot), using only what the operator documents: its published IP-range list or forward-confirmed reverse DNS. Without bot, checks every bot that has such a method. Reads the operators' public lists; never connects to the IP. verified null means it could not be decided.
Inputs: ip (required), bot.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a distinct core action: generate, lint, per-URL bot check, site-wide scan, single-bot fetch, and IP verification. The main overlap is between check_ai_access, see_as_bot, and scan_site, which all involve fetching with crawler user-agents, but the descriptions clarify their different scopes (robots decision vs. live response detail vs. bulk sitemap checking).
All names are snake_case and verb-first, which is predictable overall. see_as_bot is the only notable deviation from the verb_noun pattern, but it remains readable and clearly action-oriented.
Six tools is well-scoped for a focused robots.txt and AI-crawler access server. Each tool covers a distinct workflow and none feels redundant or padding.
The surface covers generation, linting, per-page checking, bulk scanning, live bot-user-agent fetching, and IP verification, which is strong end-to-end coverage. Minor gaps exist, such as no explicit tool to list supported bots or explain their individual rules, but agents can work around this through the existing checks.
Maintenance
Related MCP Connectors
Check which AI crawlers a site allows and see pages the way AI crawlers do. Free, read-only.
Free MCP tools for AI-search visibility: crawler checks, page audits, and llms.txt generation.
See what GPTBot, ClaudeBot and other crawlers get from a site: robots.txt checks and AI scans.
AI-search-visibility tools: check crawler access, generate llms.txt, lint robots.txt, census data.
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 gradedqualityBmaintenanceProvides agents with tools to score a page's AI readiness, check which AI crawlers robots.txt blocks, and assess passage citability—all performed locally.2MIT
- AlicenseAqualityCmaintenanceLets an MCP client check whether an ecommerce store can be read by AI assistants, auditing robots.txt to see which AI search versus training crawlers are blocked and sampling product pages to confirm structured data and facts survive in raw HTML without JavaScript. It can also generate a training-only opt-out robots.txt that leaves answer-engine crawlers allowed, all inside the conversation the user is already in.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to list known AI crawlers such as GPTBot and ClaudeBot, generate and validate robots.txt rules, and check a live site's existing crawler directives. It runs as a remote Streamable HTTP MCP server exposing tools for crawler listing, rule generation, validation, and site checking.MIT