ClaudeBot
- Purpose
- Collects web content that could potentially contribute to training its generative AI models
- What Anthropic says blocking does
- Signals "that the site's future materials should be excluded from our AI model training datasets"
What Anthropic documents about Claude web search and its three crawlers, with robots.txt rules, IP verification and a way to test your own visibility.
Claude web search answers include direct citations and source links. Anthropic runs three bots: ClaudeBot for training, Claude-SearchBot for search indexing, and Claude-User for retrieval when a user asks. Anthropic says blocking either of the last two may reduce your site's visibility, so block ClaudeBot alone if you only want to opt out of training.
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.
A direct URL is a separate path. When web search is enabled and a user provides a page link, Claude can use web fetch to retrieve and analyze that page. A page read after a user submits its URL is not evidence that the automatic search crawler discovered or selected it.
Anthropic's support pages name Bing only for image results and do not name the index behind general web results, so this page does not either. Any claim about which index Claude uses, or how it ranks sources, is unverified. Anthropic does not publish a citation formula or a guarantee that allowing its search bot will make a page appear.
Anthropic says its bots honor industry standard directives in robots.txt and respect anti-circumvention technologies, for example by not trying to bypass CAPTCHAs. It also supports the non-standard Crawl-delay extension. Put the rules in the robots.txt in your top-level directory, and repeat them for every subdomain you want to opt out.
User-agent: ClaudeBot
Disallow: /
User-agent: Claude-SearchBot
Allow: /
User-agent: Claude-User
Allow: /User-agent: ClaudeBot
Crawl-delay: 1User-agent: ClaudeBot
Disallow: /
User-agent: Claude-SearchBot
Disallow: /
User-agent: Claude-User
Disallow: /The last rule set is the most restrictive. It follows Anthropic's own warning that blocking the search and user bots may reduce visibility, and what that costs you in Claude is something Anthropic does not quantify.
Search your access logs for ClaudeBot, Claude-SearchBot or Claude-User.
Compare the source IP against the ranges in the JSON file. Anthropic says a crawler with a source IP on that list is coming from Anthropic; a token match without an IP match cannot be confirmed as Anthropic.
Anthropic warns IP blocking may not work reliably, because it can stop the bot from reading robots.txt and so from seeing your opt-out. Use robots.txt to opt out.
Write three to five questions your pages answer directly.
At claude.ai, ask each question in a new conversation with web search enabled. The new Claude experience has no web search toggle and searches when it helps, so add "Search the web" to the prompt, which Anthropic suggests when you want to make sure Claude searches. Claude may use a location inferred from your IP address for localized results.
Look for the search indicator and the source links. Note whether your domain appears and whether the intended canonical URL was the one cited. Open the linked page to see whether it supports the answer.
In a separate conversation, give Claude the exact URL and ask it to analyze the page. Label this result as a user-directed fetch, not an automatic search citation.
If your domain does not appear, confirm robots.txt allows Claude-SearchBot and Claude-User for the exact hostname, and look for their tokens in your server or CDN logs.
In GA4, check Session source for claude.ai. The pages we checked do not describe referral tagging, so see what actually shows up.
Save the exact URL and the claim it supports.
This shows only that the page was not linked in that run. It does not prove a crawler block or permanent exclusion.
This confirms an access event if the source IP is authentic; it does not show the page was selected for a particular answer.
This confirms that the user-directed request worked. It does not show whether automatic web search would have found the page.
For a content and eligibility checklist, see how to get cited by Claude.
User-agent: * block, or a long list of AI tokens copied from a blog post, can include Claude-SearchBot and Claude-User without you meaning to. Anthropic's own wording is that blocking either may reduce visibility.The second error is trusting a robots.txt change instantly. Anthropic does not state a propagation time in the pages we checked, so compare logs a few days after any change before concluding it worked.
Decide first whether your goal is training opt-out, search visibility, or both, then write rules per bot. That is the only split Anthropic documents.
More on Claude: Claude web search, Anthropic and ads, Claude vs Meta AI.
7 questions people ask next, answered from the sources on this page.
Anthropic documents ClaudeBot as the training bot and Claude-SearchBot and Claude-User as separate bots. Blocking only ClaudeBot opts you out of training without touching the other two.
Anthropic says it prevents indexing of your content for search optimization, which may reduce your site's visibility. It does not say by how much.
Yes. Anthropic says it supports the Crawl-delay extension and gives Crawl-delay: 1 as an example.
Check the source IP against https://claude.com/crawling/bots.json. Match on the bot token first.
Anthropic documents that answers include citations and source links, but the pages we checked do not say how sources are chosen. Test with real queries.
Claude can fetch and analyze a URL when web search is enabled and the user supplies the link. The result is user-directed retrieval, so test it separately from a search query intended to discover sources automatically.
Anthropic identifies Claude-SearchBot as its crawler for improving search-result quality. Claude-User serves user-directed requests, while ClaudeBot is used for potential training data collection.
Run the free audit, then approve the fixes. Every change can be undone.