-
Home
-
User Agent Directory
- Claude-User
Claude-User
What is Claude-User?
Claude-User is the user agent employed when Anthropic's Claude assistant fetches web pages in real-time during user conversations. This bot is triggered by explicit user requests for current web information and does not perform bulk crawling or data collection for training purposes. It respects robots.txt directives and operates transparently, allowing website owners to distinguish between user-initiated browsing and training data collection by Anthropic's other crawlers.
User Agent String
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; Claude-User/1.0; [email protected])
How to Control Claude-User
Block Completely
To prevent Claude-User from accessing your entire website, add this to your robots.txt file:
Block Specific Directories
To restrict access to certain parts of your site while allowing others:
Set Crawl Delay
To slow down the crawl rate (note: not all bots respect this directive):
How to Verify Claude-User
Verify requests originate from Anthropic IP ranges
Learn more in the official documentation.
This bot may collect and use your website content for AI model training. Consider whether you want your content used for this purpose before allowing access.
Detection Patterns
Multiple ways to detect Claude-User in your application:
Basic Pattern
/Claude\-User/i
Strict Pattern
/^Mozilla/5\.0 AppleWebKit/537\.36 \(KHTML, like Gecko; compatible; Claude\-User/1\.0; \+Claude\-User@anthropic\.com\)$/
Flexible Pattern
/Claude\-User[\s\/]?[\d\.]*?/i
Vendor Match
/.*Anthropic.*Claude\-User/i
Implementation Examples
Should You Block This Bot?
Recommendations based on your website type:
| Site Type | Recommendation | Reasoning |
|---|---|---|
| E-commerce | Limit Access | Protect pricing and inventory data from AI training |
| Blog/News | Consider Blocking | Your content may be used for AI training without compensation |
| SaaS Application | Block | No benefit for application interfaces; preserve resources |
| Documentation | Selective | Allow for public docs, block for internal docs |
| Corporate Site | Limit | Allow for public pages, block sensitive areas like intranets |
Advanced robots.txt Configurations
E-commerce Site Configuration
Publishing/Blog Configuration
SaaS/Application Configuration
Quick Reference
User Agent Match
Claude-User
Robots.txt Name
Claude-User
Category
ai
Respects robots.txt
Yes