---
title: "Claude-User User Agent: What It Does & How to Block It"
description: "Claude-User (Anthropic): user agent string, robots.txt rules, IP verification and what blocking it does to SEO and AI visibility."
url: "https://justinha.info.vn/bots/ai-assistants/claude-user/"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://justinha.info.vn/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

[AI Assistant Fetchers](https://justinha.info.vn/bots/ai-assistants/)

# Claude-User *user agent*

Operated by [Anthropic](https://justinha.info.vn/bots/company/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 rankings | An on-demand assistant fetch is not proof of search indexing or a ranking signal. |
| --- | --- |
| Effect on AI visibility | A blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions. |
| Follows robots.txt | Yes |
| Recommendation | Allow |

## 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 changes | If you allow it | If you block it |
| --- | --- | --- |
| **Answers that read your page live** | Claude 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 training** | No change: indexing and training use Claude-SearchBot and other bots. | No change: indexing and training use Claude-SearchBot and other bots. |
| **Google and Bing rankings** | No 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.

| Bot | Job | robots.txt | If you block it |
| --- | --- | --- | --- |
| **Claude-User** | AI assistant | Yes | A blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions. |
| [ClaudeBot](https://justinha.info.vn/bots/ai-crawlers/claudebot/) | AI training | Yes | A 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-SearchBot](https://justinha.info.vn/bots/ai-search/claude-searchbot/) | AI search | Yes | Restricting access can limit future retrieval or discovery in that service. Citations and removal of already indexed content are not guaranteed. |
| [anthropic-ai](https://justinha.info.vn/bots/ai-crawlers/anthropic-ai/) | AI training | Not documented | A 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-Web](https://justinha.info.vn/bots/ai-assistants/claude-web/) | AI assistant | Not documented | A blocked request may fail, but a product can use cached content or other sources. Check documented robots exceptions. |
| [Claude-Code](https://justinha.info.vn/bots/ai-agents/claude-code/) | AI agent | Not documented | Restricting 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 websites | Allow. These visits happen because a person wants your page right now; refusing them makes Claude answer without you. |
| --- | --- |
| Members-only or private pages | Protect 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](https://claude.com/crawling/bots.json)

## 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](https://justinha.info.vn/ai-log-file-analyzer-tool/), a free tool by Justin Hà.

## Claude-User FAQ

Does blocking Claude-User stop Claude from mentioning my site?

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.

What is the Claude-User user agent?

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.

Does Claude-User respect robots.txt?

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

Will blocking Claude-User hurt my SEO?

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.

How do I block Claude-User in robots.txt?

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.

How can I verify a request really comes from Claude-User?

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.

How do I see if Claude-User visits my website?

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](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler). Content updated November 12, 2026 by [Justin Hà](https://justinha.info.vn/about/).

## Related bots

[anthropic-ai Anthropic AI training](https://justinha.info.vn/bots/ai-crawlers/anthropic-ai/)   [Claude-Code Anthropic AI agent](https://justinha.info.vn/bots/ai-agents/claude-code/)   [Claude-SearchBot Anthropic AI search](https://justinha.info.vn/bots/ai-search/claude-searchbot/)   [Claude-Web Anthropic AI assistant](https://justinha.info.vn/bots/ai-assistants/claude-web/)   [ClaudeBot Anthropic AI training](https://justinha.info.vn/bots/ai-crawlers/claudebot/)   [AI2Bot-DeepResearchEval Ai2 AI assistant](https://justinha.info.vn/bots/ai-assistants/ai2bot-deepresearcheval/)

## 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.

[Analyze your AI bot traffic free](https://justinha.info.vn/ai-log-file-analyzer-tool/) [See the GEO Technical Package](https://justinha.info.vn/geo-ai-branding/technical-package/)
