Anthropic · AI search & citations
How to Allow or Block Claude-SearchBot in robots.txt
Retrieves web results to improve live search citations in Claude.
Updated
- Official User-Agent
- Claude-SearchBot
- Owner
- Anthropic
- Purpose
- Live Search / Citations
- Recommended action
- Allow
- What blocking it means
- Fetches or indexes pages so AI assistants can cite and link to you. Blocking it directly reduces AI search visibility.
Claude-SearchBot robots.txt rules
Allow Claude-SearchBotRecommended
User-agent: Claude-SearchBot Allow: /
Block Claude-SearchBot
User-agent: Claude-SearchBot Disallow: /
Block Claude-SearchBot from specific folders only
User-agent: Claude-SearchBot Disallow: /private/ Disallow: /drafts/ Allow: /
Place these rules in /robots.txt at the root of your domain. Crawlers cache robots.txt, so changes apply the next time Claude-SearchBot re-fetches it. Allow up to a day or more. If no group names Claude-SearchBot, it follows your User-agent: * rules. robots.txt is a voluntary standard, not access control. See the FAQ for details.
Claude-SearchBot FAQ
What is Claude-SearchBot?
Claude-SearchBot is a web crawler operated by Anthropic. Retrieves web results to improve live search citations in Claude.
How do I block Claude-SearchBot in robots.txt?
Add these lines to the robots.txt file at the root of your domain: "User-agent: Claude-SearchBot" followed by "Disallow: /". To block only part of the site, replace / with a path such as /private/.
How do I allow Claude-SearchBot in robots.txt?
Add "User-agent: Claude-SearchBot" followed by "Allow: /". If no rule names Claude-SearchBot, it falls back to your "User-agent: *" rules, so check that those don't block it.
What happens if I block Claude-SearchBot?
Claude-SearchBot will stop fetching the blocked pages, so Anthropic's AI features can't use fresh copies of them to answer questions or link to them as sources. This can reduce your visibility in Anthropic's AI search results.
Should I allow or block Claude-SearchBot?
AEO Grader recommends allowing Claude-SearchBot if you want to appear in Anthropic's AI answers. It is a search crawler: it fetches pages so they can be used and linked as sources. Allowing it makes your pages eligible to be cited, but doesn't guarantee that they will be.
Does blocking Claude-SearchBot remove content it already collected?
No. robots.txt only affects future crawling. Content collected before you added the rule isn't removed. Check Anthropic's own documentation for any separate opt-out or removal process.