AI Assistant Fetchers

Claude-User user agent

Operated by Anthropic

AI assistantOfficial docs Allow

Claude-User is the user agent Claude uses when it fetches a page because a Claude user asked a question that needs it.

What identifies Claude-User?

  • Claude-User is operated by Anthropic and fetches a page when a person asks an AI assistant about it or shares its link.
  • The robots.txt token for Claude-User is Claude-User.
  • An on-demand assistant fetch is not proof of search indexing or a ranking signal.
  • Claude-User robots.txt support: Yes.
  • Recommendation for Generative Engine Optimization (GEO): Allow.

What is Claude-User?

Claude-User visits pages on behalf of individual Claude users, for example to read a page the user referenced.

Anthropic says blocking Claude-User prevents Claude from retrieving a site’s content in response to user queries.

Should you block Claude-User?

Consider allowing Claude-User when you use the associated service; verify identity, access requirements and server load first.

Effect on search rankingsAn on-demand assistant fetch is not proof of search indexing or a ranking signal.
Effect on AI visibilityA blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions.
Follows robots.txtYes
RecommendationAllow

When does Claude-User visit your site?

Claude-User visits a page only when a Claude user needs it: a question that calls for a live source, or a link the user shares. It does not crawl the web on a schedule.

Anthropic says disabling Claude-User prevents Claude from retrieving the site's content in response to a user query, which may reduce the site's visibility for user-directed web search.

Why did Anthropic create Claude-User?

Anthropic uses Claude-User so Claude can read a specific page a person asks about, separately from its scheduled crawlers.

What Claude-User means for GEO

Claude-User decides whether Claude can read your page at the moment a user asks about it.

What changesIf you allow itIf you block it
Answers that read your page liveClaude can open the current version of the page and use it in the answer.Claude cannot open the page and answers from other sources.
Search index and model trainingNo change: indexing and training use Claude-SearchBot and other bots.No change: indexing and training use Claude-SearchBot and other bots.
Google and Bing rankingsNo effect.No effect.

Claude-User vs other Anthropic bots

Anthropic runs a separate bot for each job, and each bot follows its own robots.txt rule. Blocking one does not block the others.

BotJobrobots.txtIf you block it
Claude-UserAI assistantYesA blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions.
ClaudeBotAI trainingYesA rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product.
Claude-SearchBotAI searchYesRestricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed.
anthropic-aiAI trainingNot documentedA rule can limit future collection or permitted uses under the operator policy. It does not undo prior collection or prove exclusion from every AI product.
Claude-WebAI assistantNot documentedA blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions.
Claude-CodeAI agentNot documentedRestricting an agent can interrupt the task it is performing. It does not establish a measured effect on sales or AI citations.

Should your type of site allow Claude-User?

Most public websitesAllow. These visits happen because a person wants your page right now; refusing them makes Claude answer without you.
Members-only or private pagesProtect them with a login. A login is more reliable than a robots.txt rule.

Common mistakes with Claude-User

  • Treating Claude-User as a crawler. Its traffic follows user demand, so spikes usually mean people are asking Claude about your pages.
  • Blocking it to stop training. Training uses a different bot.
  • Trusting the user agent alone: check the request IP against the IP list Anthropic publishes for Claude-User before acting on log data.

How do you block or allow Claude-User?

Put the robots.txt rule in the file at the root of every domain and subdomain, for example https://example.com/robots.txt. The token Claude-User is matched case-insensitively.

robots.txt: block

# Block Claude-User
User-agent: Claude-User
Disallow: /

robots.txt: allow

# Allow Claude-User
User-agent: Claude-User
Allow: /

robots.txt: partial

# Keep Claude-User out of private areas only
User-agent: Claude-User
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /

Nginx

# Nginx: return 403 to Claude-User
if ($http_user_agent ~* "(Claude\-User)") {
    return 403;
}

Apache

# Apache .htaccess: return 403 to Claude-User
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (Claude\-User) [NC]
RewriteRule .* - [F,L]

Cloudflare WAF

# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "Claude-User")

How can you verify Claude-User traffic?

Anthropic publishes the IP ranges that Claude-User uses. A request outside the current published list does not pass that IP check. Investigate before granting an exception.

Official Claude-User IP ranges

How do you find Claude-User in server logs?

Search the web server access log for the literal identifier. The command below counts candidate Claude-User requests per URL on Nginx or Apache.

grep -iF -- 'Claude-User' access.log | awk '{print $7}' | sort | uniq -c | sort -rn | head -20

For a full report per AI bot, upload the log to the AI Log File Analyzer, a free tool by Justin Hà.

Claude-User FAQ

No. It only stops Claude from opening the page live. Claude can still mention the site from its search index, from training data or from other websites.

Claude-User uses the robots.txt token "Claude-User". No full user-agent sample is recorded in this profile. Treat a token match as a candidate identity, not authentication.

Anthropic states that Claude-User follows robots.txt rules. Check the documented scope and any exceptions on this profile.

An on-demand assistant fetch is not proof of search indexing or a ranking signal. A blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions.

Add two lines to the robots.txt file at the root of each domain and subdomain: "User-agent: Claude-User" followed by "Disallow: /". The token is case-insensitive. Operator fetch schedules and caching policy determine when a change is applied; check subsequent requests.

Yes. Anthropic publishes the IP ranges Claude-User uses. Check the request IP against that list; a source outside the current list does not pass that check. Investigate before granting an exception.

Search your server access log for "Claude-User", for example with: grep -i "Claude-User" access.log. The AI Log File Analyzer by Justin Hà counts visits per AI bot from an uploaded log file.

Sources: Anthropic crawler documentation. Content updated by Justin Hà.

See which of these bots actually reach your website

The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.

Zalo logo Chat Zalo WhatsApp logo Chat WhatsApp