anthropic-ai
Anthropic · Training crawlers · User agent + IP range
About this crawler
An older Anthropic user agent, still seen in logs and robots.txt files.
Usually means: Public content is being collected that may end up in model training data or large web datasets.
Anthropic's current crawlers are ClaudeBot, Claude-User and Claude-SearchBot.
User agent
anthropic-ai
MetricRaven matches this token anywhere in the request's user agent, ignoring case. Operators add version numbers and browser text around it, for example "anthropic-ai/1.0".
IP verification
Verified when the user agent and the IP range both match
1User agent
The request's user agent contains
anthropic-ai.2Request IP
Your server-side tracker sends the IP that made the request.
3Range check
The IP is compared with the ranges Anthropic publishes, refreshed twice a day.
Range sources
Anthropic crawler IP ranges
Control it in robots.txt
User-agent: anthropic-ai Disallow: /private/
Well-behaved crawlers re-read robots.txt within a day or so.
Questions
- What is anthropic-ai?
- An older Anthropic user agent, still seen in logs and robots.txt files. MetricRaven groups it under Training crawlers: crawlers collecting public pages that may be used to train AI models.
- How do I verify that a request really comes from anthropic-ai?
- Check both the user agent and the IP. Requests from anthropic-ai contain "anthropic-ai" in the user agent and come from the IP ranges Anthropic publishes (https://claude.com/crawling/bots.json). A request with the name but another IP is likely spoofed.
- How do I block or allow anthropic-ai?
- Add a robots.txt group for "anthropic-ai" with the paths to allow or disallow. Fetchers that act for a user may ignore robots.txt; block those at your server or firewall instead.
- How can I see when anthropic-ai visits my website?
- Most crawlers never run JavaScript, so browser analytics miss them. MetricRaven's @metricraven/ai-crawl package reports crawler requests from your server, verifies their IPs against published ranges, and shows which pages each crawler reads.
See when AI assistants and crawlers read your site
Add one line to your server and MetricRaven shows which assistants, search engines and training crawlers request your pages, which ones are IP-verified, and the URLs they expected to find, including 404s.