# Allow Claude-SearchBot if you want Claude visibility

- Check 31.06 · AI crawler access and data policy · Critical
- Source: https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/allow-claude-searchbot-if-you-want-claude-visibility
- Allow Claude-SearchBot in robots.txt and at the firewall, test its HTTP response with curl and check Anthropic's IPs to stay visible in Claude.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/allow-claude-searchbot-if-you-want-claude-visibility.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

Claude-SearchBot is the Anthropic crawler that crawls the web to improve the quality of the search results offered to Claude users. If you want your pages to be found and cited by Claude, this crawler must be allowed in robots.txt and receive a 200 response from your server, your CDN (Content Delivery Network) and your firewall. This check is conditional: only do it if this visibility is part of your policy.

## Why it matters

Anthropic documents three crawlers, each with its own robots.txt token:

| Crawler | Role | Effect of a refusal, according to Anthropic |
| --- | --- | --- |
| `Claude-SearchBot` | analyzes content to improve the relevance and accuracy of search results | content is no longer indexed for search, which may reduce the site's visibility |
| `ClaudeBot` | collects content that may contribute to model training | the site's future content is excluded from training datasets |
| `Claude-User` | accesses a page when a user asks Claude a question | Claude cannot retrieve the content to answer the user's request |

The three settings are independent: you can refuse `ClaudeBot` and allow `Claude-SearchBot`. Anthropic states that its crawlers respect robots.txt directives, including the non-standard `Crawl-delay` extension.

Two particularities set Anthropic apart from other vendors. The refusal is declared subdomain by subdomain: each host must carry its own rule. And Anthropic advises against blocking its crawlers by IP address to express a refusal, as this method does not guarantee a reliable, lasting opt-out: the intended channel is robots.txt.

Many robots.txt files still contain the `anthropic-ai` and `Claude-Web` tokens. They no longer appear in Anthropic's current documentation: a rule that targets only them no longer describes the active crawlers.

## What it improves

- **Crawling by Claude**: the crawler can read and index your public pages.
- **Citations in Claude**: your pages remain eligible for answers that rely on web search. No practice guarantees a citation or a recommendation.
- **Accuracy**: indirect effect. Anthropic states that a refusal may reduce not only the site's visibility but also the accuracy with which it appears in search results.
- **What it does not change**: training (controlled by `ClaudeBot`), on-demand access (`Claude-User`), browsing by Anthropic-hosted agents (which identify themselves with the `Claude-Agent` token), your visibility in other engines.

## How to check

**1. Does robots.txt allow the crawler?**

```bash
curl -s https://example.com/robots.txt | grep -i -E -A 5 "claude|anthropic"
```

Check that no group refuses `Claude-SearchBot`, and note any outdated tokens along the way. Without a dedicated group, the crawler follows the `User-agent: *` group.

**2. Does the server respond with a 200 to the crawler's user agent?**

```bash
curl -s -o /dev/null -w "%{http_code}\n" \
  -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Claude-SearchBot/1.0; +searchbot@anthropic.com)" \
  https://example.com/
```

Compliant result: `200`, identical to the one obtained without the `-A` option. Anthropic's help page does not publish the full user agent strings: this one follows the form observed in logs. What matters for your rules is the `Claude-SearchBot` token.

**3. Does the real crawler get through?**

```bash
grep "Claude-SearchBot" /var/log/nginx/access.log | awk '{print $1, $9}' | sort | uniq -c | sort -rn | head -20
```

Anthropic publishes the list of addresses its crawlers operate from:

```bash
curl -s https://claude.com/crawling/bots.json | jq -r '.prefixes[] | .ipv4Prefix // .ipv6Prefix'
```

A source address in this list indicates that the crawler does come from Anthropic. The list is shared by the crawlers: it does not say which of the three sent the request; the user agent tells you that.

> **Good to know:** the curl test comes from your IP address. A firewall that verifies crawler origin may refuse your test and let the real crawler through, or the reverse. The logs are what count; see [analyze AI crawler logs](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/analyze-ai-crawler-logs).

## How to implement

### Before you start

**The robots.txt rule.** If the general group allows crawling, there is nothing to add. Create a dedicated group when the `*` group is restrictive, or to make the decision explicit:

```txt
User-agent: Claude-SearchBot
Disallow: /admin/
Disallow: /compte/
Disallow: /panier/
```

A named crawler no longer applies the `*` group: copy the relevant restrictions. To combine this permission with a training refusal and a limited crawl rate:

```txt
User-agent: Claude-SearchBot
Crawl-delay: 1
Disallow: /admin/
Disallow: /compte/
Disallow: /panier/

User-agent: ClaudeBot
Disallow: /
```

Anthropic documents `Crawl-delay` with an example for ClaudeBot; whether it applies to the other two crawlers is not stated. Publish the rule on every subdomain concerned: see [configure robots.txt to match these goals](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/configure-robotstxt-match-these-goals).

**IP addresses.** The `https://claude.com/crawling/bots.json` list is used to verify a crawler's identity and to write a firewall exception. Do not use it as a means of refusal: Anthropic states that an IP block may not work correctly.

### Apache

Versions: Apache 2.4.

Look for rules that refuse the crawler by name:

```bash
grep -r -n -i -E "claude|anthropic" /var/www/example/public/.htaccess /etc/apache2/
```

A blocklist often targets the whole family with a single pattern:

```apache
RewriteCond %{HTTP_USER_AGENT} (Claude|anthropic) [NC]
RewriteRule .* - [F,L]
```

The `Claude` pattern catches `ClaudeBot`, but also `Claude-SearchBot` and `Claude-User`. Replace it with the exact token of the crawler you refuse:

```apache
RewriteCond %{HTTP_USER_AGENT} ClaudeBot [NC]
RewriteRule .* - [F,L]
```

### Nginx

Versions: Nginx 1.18 and later.

```bash
grep -r -n -i -E "claude|anthropic" /etc/nginx/
```

Fix overly broad patterns in the same way. To exempt the crawler from a rate limit when the name and the address match:

```bash
curl -s https://claude.com/crawling/bots.json \
  | jq -r '.prefixes[] | (.ipv4Prefix // .ipv6Prefix) + " 1;"' \
  | sudo tee /etc/nginx/snippets/anthropic-ips.conf
```

```nginx
# http context
geo $anthropic_ip {
    default 0;
    include /etc/nginx/snippets/anthropic-ips.conf;
}

map "$anthropic_ip:$http_user_agent" $limit_key {
    default $binary_remote_addr;
    "~^1:.*Claude-SearchBot" "";
}

limit_req_zone $limit_key zone=parip:10m rate=5r/s;
```

```bash
sudo nginx -t && sudo systemctl reload nginx
```

### Cloudflare

Versions: Cloudflare dashboard, all plans, November 2026.

1. **AI crawler policies**: [`Security > Settings`](https://dash.cloudflare.com/?to=/:account/:zone/security/settings), `Bot traffic` filter, `AI Crawler and Agent access policies`. Set `Search` to `Allow (do not block)`. The `Training` policy can stay on `Block` or `Disallow`: it targets ClaudeBot, not Claude-SearchBot.
2. **[AI Crawl Control](https://dash.cloudflare.com/?to=/:account/:zone/ai)**: `Crawlers` tab, check the action applied to each of Anthropic's three crawlers.
3. **Custom rules**: look in [`Security > Security rules`](https://dash.cloudflare.com/?to=/:account/:zone/security/security-rules) for an expression such as `http.user_agent contains "Claude"`, which blocks all three crawlers at once. Replace it with the exact token, then add an exception if needed, placed above the blocking rules:

```txt
(cf.client.bot and http.user_agent contains "Claude-SearchBot")
```

`Skip` action, checking the remaining custom rules, rate limiting, managed rules and Super Bot Fight Mode rules. If the crawler is not recognized as verified on your zone, replace `cf.client.bot` with an IP list populated from `bots.json`: `ip.src in $anthropic`.

### AWS

Versions: AWS WAF with the Bot Control managed rule group, AWS CLI v2, November 2026 console.

With **AWS WAF** (Web Application Firewall) and Bot Control, the `CategoryAI` rule blocks AI bots by default, verified or not. Create an IP set from Anthropic's list:

```bash
aws wafv2 create-ip-set \
  --name anthropic-bots \
  --scope CLOUDFRONT \
  --region us-east-1 \
  --ip-address-version IPV4 \
  --addresses $(curl -s https://claude.com/crawling/bots.json | jq -r '[.prefixes[].ipv4Prefix | select(. != null)] | join(" ")')
```

Then add to the web ACL, in the [AWS WAF console](https://console.aws.amazon.com/wafv2/homev2) and before Bot Control, an `Allow` rule that requires both this IP set and the presence of `Claude-SearchBot` in the `User-Agent` header. Since the address list is shared by all three crawlers, the condition on the name is what keeps the door closed to ClaudeBot. The full JSON template is in the [allow PerplexityBot](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/allow-perplexitybot-if-you-want-perplexity-visibility) guide; the label-based alternative is described in [check CDN, Cloudflare and WAF](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/check-cdn-cloudflare-waf).

### Shared hosting

Apply the `.htaccess` part of the Apache section. If the curl test returns a `403` while no rule appears in your files, the host's protection is to blame: see [check automatic blocking and CAPTCHAs](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/check-automatic-blocking-captchas).

### WordPress

Versions: WordPress 6.7 to 7.1, SEO and security plugins in their November 2026 versions.

Check the SEO plugin's robots.txt editor and any AI crawler blocking options it has, then the security plugins: a block on a `Claude*` pattern or a prefilled “bad bot” list refuses all three crawlers indiscriminately. Replace the pattern with `ClaudeBot` if only training is refused.

### Shopify

Versions: Shopify, all plans, November 2026.

Only robots.txt is in your hands, through the `robots.txt.liquid` template. On Squarespace, the artificial intelligence crawler blocking toggle applies a list set by the platform: read the public robots.txt to find out whether `Claude-SearchBot` is on it. On Wix and Webflow, check the content of the robots.txt editor.

## Common mistakes

- **Blocking “Claude” with a single pattern**: a broad expression refuses search and user-triggered access along with training.
- **Keeping outdated tokens**: `anthropic-ai` and `Claude-Web` no longer appear in Anthropic's documentation; add the current tokens.
- **Forgetting subdomains**: the rule is published on each host.
- **Refusing by IP address**: Anthropic advises against this method; the refusal is expressed in robots.txt.
- **Creating an `Allow: /` group without the restrictions**: the named crawler no longer reads the general group.
- **Confusing Claude-SearchBot and Claude-User**: the first indexes in advance, the second reads a page at the moment a user asks for it.
- **Expecting an automatic citation**: allowing the crawler makes the page eligible, nothing more.

## Frequently asked questions

### Does blocking ClaudeBot remove my site from Claude?

No, blocking ClaudeBot does not remove your site from Claude's search. ClaudeBot collects content for model training, whereas Claude-SearchBot indexes pages for search and Claude-User reads them at a user's request. The three settings are independent in robots.txt: you can refuse ClaudeBot and allow Claude-SearchBot, provided you do not block them with a single “Claude” pattern.

### Should I keep anthropic-ai and Claude-Web in robots.txt?

The anthropic-ai and Claude-Web tokens no longer appear in Anthropic's current documentation. A rule that targets only them therefore no longer describes the active crawlers. To express your policy, use the documented tokens: ClaudeBot for training, Claude-SearchBot for search and Claude-User for on-demand access, on every subdomain concerned.

### Can I refuse Anthropic's crawlers by IP address?

Anthropic advises against blocking its crawlers by IP address to express a refusal: according to its documentation, this method does not guarantee a reliable, lasting opt-out. The refusal is expressed in each subdomain's robots.txt. The address list Anthropic publishes is meant rather for verifying that a crawler really comes from Anthropic and for writing a firewall exception.

### Does allowing Claude-SearchBot guarantee being cited by Claude?

No, allowing Claude-SearchBot only makes your pages eligible for Claude's search. The crawler must also receive a 200 response from every layer: server, CDN and firewall. After that, the choice of sources belongs to Claude, and no practice guarantees a citation or a recommendation. Anthropic does state, however, that a refusal may reduce the site's visibility in its results.

## Resources

- [Anthropic: Anthropic's crawlers, the role of each and how to block them](https://support.claude.com/en/articles/8896518)
- [Anthropic: crawler IP addresses (JSON)](https://claude.com/crawling/bots.json)
- [Anthropic: identifying Anthropic-hosted browsers](https://support.claude.com/en/articles/18234133)
- [Cloudflare: AI crawler and agent access policies](https://developers.cloudflare.com/bots/additional-configurations/block-ai-bots/)

Next steps: [allow OAI-SearchBot](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/allow-oai-searchbot-if-you-want-chatgpt-visibility), [allow PerplexityBot](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/allow-perplexitybot-if-you-want-perplexity-visibility) and [verify crawler identity against official IP ranges](https://checklist-seo-geo.com/en/ai-crawler-access-data-policy/verify-crawler-identity-against-official-ip-ranges-if-possible).
