Bots by company
Anthropic bots and crawlers
Anthropic builds the Claude models and the Claude assistant. It runs separate bots for training, for Claude search and for user-requested fetches.
Anthropic bots at a glance
- Anthropic runs 6 bots listed in this directory.
- They belong to: AI Training Crawlers, AI Agents, AI Search Crawlers, AI Assistant Fetchers.
- Each Anthropic bot has its own robots.txt token, so each purpose can be allowed or blocked separately.
- Website: www.anthropic.com
Every Anthropic bot
| Bot | Group | Purpose | robots.txt | For GEO |
|---|---|---|---|---|
| anthropic-ai | AI Training Crawlers | AI trainingReported | Not documented | Your choice |
| Claude-Code | AI Agents | AI agentReported | Not documented | Your choice |
| Claude-SearchBot | AI Search Crawlers | AI searchOfficial docs | Yes | Allow |
| Claude-User | AI Assistant Fetchers | AI assistantOfficial docs | Yes | Allow |
| Claude-Web | AI Assistant Fetchers | AI assistantReported | Not documented | Your choice |
| ClaudeBot | AI Training Crawlers | AI trainingOfficial docs | Yes | Your choice |
Block or allow all Anthropic bots
The rules below name every Anthropic token in this directory. To block training but keep AI search, delete the search and assistant tokens from the block rule.
robots.txt: block
# Block all Anthropic bots
User-agent: anthropic-ai
User-agent: Claude-Code
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: Claude-Web
User-agent: ClaudeBot
Disallow: /robots.txt: allow
# Allow all Anthropic bots
User-agent: anthropic-ai
User-agent: Claude-Code
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: Claude-Web
User-agent: ClaudeBot
Allow: /robots.txt: partial
# Keep all Anthropic bots out of private areas only
User-agent: anthropic-ai
User-agent: Claude-Code
User-agent: Claude-SearchBot
User-agent: Claude-User
User-agent: Claude-Web
User-agent: ClaudeBot
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /Nginx
# Nginx: return 403 to all Anthropic bots
if ($http_user_agent ~* "(anthropic\-ai|Claude\-Code|Claude\-SearchBot|Claude\-User|Claude\-Web|ClaudeBot)") {
return 403;
}Apache
# Apache .htaccess: return 403 to all Anthropic bots
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (anthropic\-ai|Claude\-Code|Claude\-SearchBot|Claude\-User|Claude\-Web|ClaudeBot) [NC]
RewriteRule .* - [F,L]Cloudflare WAF
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "anthropic-ai") or (http.user_agent contains "Claude-Code") or (http.user_agent contains "Claude-SearchBot") or (http.user_agent contains "Claude-User") or (http.user_agent contains "Claude-Web") or (http.user_agent contains "ClaudeBot")See which of these bots actually reach your website
The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.