BotBouncer logoBotBouncer

BotBouncer / AI bots / ClaudeBot

ClaudeBot

Anthropic, a training and dataset crawler

Operator
Anthropic
Type
Model training and datasets
Sent as a user agent
Not confirmed
Follows robots.txt
Not confirmed
Details
Not yet checked against the operator's own documentation

What it does

Collects public pages to train Claude.

We have not yet checked this page against Anthropic's own documentation. Check it before you rely on it.

Block it in robots.txt

User-agent: ClaudeBot
Disallow: /

To allow it again, remove those lines or use Allow: /. Rules for other bots are not affected.

Block it on your server

robots.txt is a request. To enforce the block, filter the user agent on your server.

Nginx

map $http_user_agent $blocked_bot {
    default 0;
    ~*(ClaudeBot) 1;
}
# inside server { }
if ($blocked_bot) { return 403; }

Apache (.htaccess)

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ClaudeBot [NC]
RewriteRule ^ - [F,L]

Cloudflare custom rule (action: Block)

(lower(http.user_agent) contains "claudebot")

Source

No official documentation link has been confirmed yet.

Other bots of this type

Build a full robots.txt