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

BotGroupPurposerobots.txtFor GEO
anthropic-aiAI Training CrawlersAI trainingReportedNot documentedYour choice
Claude-CodeAI AgentsAI agentReportedNot documentedYour choice
Claude-SearchBotAI Search CrawlersAI searchOfficial docsYesAllow
Claude-UserAI Assistant FetchersAI assistantOfficial docsYesAllow
Claude-WebAI Assistant FetchersAI assistantReportedNot documentedYour choice
ClaudeBotAI Training CrawlersAI trainingOfficial docsYesYour choice

How to manage Anthropic bot access by purpose

Review the role you need before making an operator-wide rule. A bot can appear in more than one row. Follow its profile for the exact token, evidence and policy exceptions.

PurposeBots in this directoryWhat to check
AI traininganthropic-ai (reported), ClaudeBotDecide which public material you are willing to make available for training. Review search access separately, and do not assume that blocking reverses previous collection.
AI searchClaude-SearchBotIf discovery in the associated AI product matters, test access to public pages you want it to find. Access alone does not guarantee inclusion or citations.
AI assistantClaude-User, Claude-Web (reported)If readers use the associated assistant, test whether it can retrieve a representative public URL on request. A successful fetch does not show that the page is indexed.
AI agentClaude-Code (reported)Test public read-only journeys separately from actions such as booking or checkout. Keep authentication and transaction checks in place.

Block or allow all Anthropic bots

The rules below name every Anthropic token in this directory. For a narrower rule, select the exact tokens from the purpose table above and check each profile for scope and exceptions.

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.

Zalo logo Chat Zalo WhatsApp logo Chat WhatsApp