ClaudeBot
- Job
- Collects web content for model training
- Anthropic says blocking it
- Signals that future material should be excluded from training datasets
ClaudeBot collects web content for Anthropic's AI models. What blocking it signals, how to verify it, and the robots.txt rules to set.
ClaudeBotClaudeBot is Anthropic's crawler for collecting web content to train its generative AI models. Disallowing it in robots.txt signals that your site's future materials should be excluded from Anthropic's AI model training datasets. It is separate from Claude-SearchBot and Claude-User, so you can opt out of training and make a separate call on search and user fetches.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
Anthropic's help center says that disallowing ClaudeBot signals "that the site's future materials should be excluded from our AI model training datasets." The word to notice is future. Anthropic's article does not describe removing content that was already collected.
ClaudeBot token in your logs. Anthropic's help center does not publish a full user agent string, so don't write log filters or firewall rules that depend on one.For verification, Anthropic publishes its IP ranges at https://claude.com/crawling/bots.json. Use that list to confirm a request is real before you trust the token. One trap: Anthropic warns that blocking by IP may not work reliably, because it can stop the bot from reading your robots.txt, so it never sees your opt-out. Put the rule in robots.txt and leave the bot able to fetch that one file.
To keep ClaudeBot out of only some directories, list the paths instead of /. Matching is by prefix under RFC 9309.
User-agent: ClaudeBot
Disallow: /research/private/
Disallow: /confidential/User-agent: ClaudeBot
Disallow: /If you opt out of training but still want Claude to be able to read a page when a person asks, that is a separate bot, so decide on Claude-User on its own merits. For a combined policy, see block AI training and keep AI search.
/robots.txt and read what is served.User-agent: * rules don't apply to a bot that has its own group. RFC 9309 says crawlers use case-insensitive matching to find the group for their product token and obey that group, and fall back to the * group only when no matching group exists.grep -i 'ClaudeBot' access.log | awk '{print $1}' | sort | uniq -c | sort -rn | headIP=216.73.216.10
curl -s https://claude.com/crawling/bots.json | python3 -c "import sys,json,ipaddress as i;ip=i.ip_address('$IP');print(any(ip in i.ip_network(p.get('ipv4Prefix') or p['ipv6Prefix']) for p in json.load(sys.stdin)['prefixes']))"4 questions people ask next, answered from the sources on this page.
Anthropic says its bots respect "do not crawl" signals by honoring industry standard directives in robots.txt, and that it supports the Crawl-delay extension. Use a User-agent: ClaudeBot group with Disallow rules.
ClaudeBot collects web content for model training. Claude-User retrieves a page when a person asks Claude to access a site. They have separate tokens, so blocking one does not block the other.
Not by itself. Search is handled by Claude-SearchBot. Anthropic says blocking that bot prevents indexing for search optimization and may reduce your visibility, so decide on it separately.
Anthropic's help center does not document one, so we do not print one. Match on the ClaudeBot token and confirm the source IP against claude.com/crawling/bots.json.
The free audit reads your robots.txt and checks AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews.