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 theClaude-Agenttoken), your visibility in other engines.
How to check
1. Does robots.txt allow the crawler?
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?
curl -s -o /dev/null -w "%{http_code}\n" \
-A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Claude-SearchBot/1.0; [email protected])" \
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?
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:
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 (opens in a new tab).
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:
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:
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 (opens in a new tab).
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:
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:
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:
RewriteCond %{HTTP_USER_AGENT} ClaudeBot [NC]
RewriteRule .* - [F,L]
Nginx
Versions Nginx 1.18 and later.
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:
curl -s https://claude.com/crawling/bots.json \
| jq -r '.prefixes[] | (.ipv4Prefix // .ipv6Prefix) + " 1;"' \
| sudo tee /etc/nginx/snippets/anthropic-ips.conf
# 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;
sudo nginx -t && sudo systemctl reload nginx
Cloudflare
Versions Cloudflare dashboard, all plans, November 2026.
- AI crawler policies:
Security > Settings,Bot trafficfilter,AI Crawler and Agent access policies. SetSearchtoAllow (do not block). TheTrainingpolicy can stay onBlockorDisallow: it targets ClaudeBot, not Claude-SearchBot. - AI Crawl Control:
Crawlerstab, check the action applied to each of Anthropic's three crawlers. - Custom rules: look in
Security > Security rulesfor an expression such ashttp.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:
(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:
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 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 (opens in a new tab) guide; the label-based alternative is described in check CDN, Cloudflare and WAF (opens in a new tab).
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 (opens in a new tab).
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-aiandClaude-Webno 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 themsupport.claude.com
- Anthropic: crawler IP addresses (JSON)claude.com
- Anthropic: identifying Anthropic-hosted browserssupport.claude.com
- Cloudflare: AI crawler and agent access policiesdevelopers.cloudflare.com
Updated on
Topic checklist (PDF)