---
title: "Anthropic Bots & Crawlers: 6 User Agents Explained"
description: "Every Anthropic bot (6) with its purpose, user agent and robots.txt token, and a single robots.txt block to allow or block all of them."
url: "https://justinha.info.vn/bots/company/anthropic/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

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](https://www.anthropic.com)

## Every Anthropic bot

| Bot | Group | Purpose | robots.txt | For GEO |
| --- | --- | --- | --- | --- |
| [anthropic-ai](https://justinha.info.vn/bots/ai-crawlers/anthropic-ai/) | [AI Training Crawlers](https://justinha.info.vn/bots/ai-crawlers/) | AI trainingReported | Not documented | Your choice |
| [Claude-Code](https://justinha.info.vn/bots/ai-agents/claude-code/) | [AI Agents](https://justinha.info.vn/bots/ai-agents/) | AI agentReported | Not documented | Your choice |
| [Claude-SearchBot](https://justinha.info.vn/bots/ai-search/claude-searchbot/) | [AI Search Crawlers](https://justinha.info.vn/bots/ai-search/) | AI searchOfficial docs | Yes | Allow |
| [Claude-User](https://justinha.info.vn/bots/ai-assistants/claude-user/) | [AI Assistant Fetchers](https://justinha.info.vn/bots/ai-assistants/) | AI assistantOfficial docs | Yes | Allow |
| [Claude-Web](https://justinha.info.vn/bots/ai-assistants/claude-web/) | [AI Assistant Fetchers](https://justinha.info.vn/bots/ai-assistants/) | AI assistantReported | Not documented | Your choice |
| [ClaudeBot](https://justinha.info.vn/bots/ai-crawlers/claudebot/) | [AI Training Crawlers](https://justinha.info.vn/bots/ai-crawlers/) | AI trainingOfficial docs | Yes | Your 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.

| Purpose | Bots in this directory | What to check |
| --- | --- | --- |
| **AI training** | [anthropic-ai](https://justinha.info.vn/bots/ai-crawlers/anthropic-ai/) (reported), [ClaudeBot](https://justinha.info.vn/bots/ai-crawlers/claudebot/) | Decide 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 search** | [Claude-SearchBot](https://justinha.info.vn/bots/ai-search/claude-searchbot/) | If 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 assistant** | [Claude-User](https://justinha.info.vn/bots/ai-assistants/claude-user/), [Claude-Web](https://justinha.info.vn/bots/ai-assistants/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 agent** | [Claude-Code](https://justinha.info.vn/bots/ai-agents/claude-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.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
