Anthropic

Operator

Published IP ranges

Verification

Claude-User

robots.txt token

Yes

Honours robots.txt

What Claude-User is

Claude browsing on behalf of users.

Its robots.txt token is Claude-User , and it is listed as honouring robots.txt. Operator documentation: Anthropic .

Verifying it yourself

Anthropic publishes the ranges Claude-User crawls from. Fetch them and test the source address:

# 1. fetch the published ranges
curl -s -o ranges.json \
  https://claude.com/crawling/bots.json

# 2. check an address against them
python3 - 203.0.113.42 <<'PY'
import json, sys, ipaddress
ip = ipaddress.ip_address(sys.argv[1])
data = json.load(open('ranges.json'))
hit = any(ip in ipaddress.ip_network(p.get('ipv4Prefix') or p['ipv6Prefix'])
          for p in data['prefixes'])
print('verified' if hit else 'NOT VERIFIED')
PY

Swap in the address you are checking. Never trust the User-Agent on its own: it is a header the client picks for itself.

Blocking it

If you want the real crawler to stay away, robots.txt is the polite way to ask:

User-agent: Claude-User
Disallow: /

robots.txt only works on a client willing to obey it, which rules out every request that was already lying about who it is. Stopping those takes enforcement at the network or application layer, keyed on something the client cannot simply retype. That is the problem WebDecoy exists to solve.

Frequently Asked Questions

What is Claude-User? +

Claude-User is an ai agent operated by Anthropic. Claude browsing on behalf of users.

How do I verify Claude-User? +

Anthropic publishes the IP ranges Claude-User uses at https://claude.com/crawling/bots.json. Check whether the request's source address falls inside one of those prefixes, and reject it if it does not. Never match on the User-Agent alone, because that is the part a client chooses for itself.

How do I block Claude-User? +

Add a robots.txt rule for the token Claude-User. That stops the real crawler, but not clients that only borrow its name, so pair it with verification and enforcement at your edge.

See which Claude-User requests are real

WebDecoy verifies declared crawlers against what their operators publish and identifies the ones that fail, as persistent actors rather than disposable IPs.

Start Free Trial