Skip to content
Ask Sera Search
Ask SeraAnswers from our guides, research and news Search
Learn
Guides
Research
Sectors
Platforms
News
Tools
About

Claude-Code

A name that bot lists give the web requests of Claude Code, Anthropic's coding agent. Anthropic documents a WebFetch tool in Claude Code that fetches content from a URL, but it does not document a Claude-Code robots.txt token.

In short. Claude-Code is the name that bot lists give the web requests of Claude Code, Anthropic's coding agent. Anthropic says its WebFetch tool sends a user agent that starts with Claude-User. Anthropic documents no Claude-Code token and no robots.txt policy for Claude Code, so a Claude-Code rule is only a request. Known Agents reports user agents that contain claude-code.

On this page 8 sections

Facts

User fetchReported
Documentation
Reported. Anthropic has not documented this crawler, so each fact below is graded by its evidence.
Operator
Anthropic
Purpose
A name that bot lists give the web requests of Claude Code, Anthropic's coding agent. Anthropic documents a WebFetch tool in Claude Code that fetches content from a URL, but it does not document a Claude-Code robots.txt token.
robots.txt token
Claude-CodeA reported name. Anthropic has not confirmed it.
Obeys robots.txt
The operator does not say
User agent
Claude-User (claude-code/2.1.330; +https://support.anthropic.com/)Reported by Known Agents, not by Anthropic.
IP addresses
Not published by Anthropic.
If you block it
Unknown. Anthropic does not document a Claude-Code token and does not say whether Claude Code's WebFetch tool reads robots.txt, so a Claude-Code rule is only a request.
Other Anthropic bots
anthropic-ai Claude-Web ClaudeBot Claude-SearchBot Claude-Agent Claude-User

Does your site block Claude-Code? The robots.txt checker shows the rule that decides it.

Verified Nov 29, 2026 against Claude Code Docs (Anthropic)Next check due Dec 29, 2026

The evidence

  • Confirmed:

    Anthropic's Claude Code tools reference says WebFetch sets a User-Agent header that begins with Claude-User. It also sends an Accept header that prefers Markdown over HTML.1Claude Code Docs (Anthropic)

  • Observed:

    The Claude Code tools reference does not mention robots.txt.1Claude Code Docs (Anthropic)

    Checked on code.claude.com on Nov 29, 2026.

  • Observed:

    Anthropic's crawler page lists three bots: ClaudeBot, Claude-User and Claude-SearchBot. It does not name Claude-Code.2Anthropic Help Center

    Checked on support.claude.com on Nov 29, 2026.

  • Observed:

    Known Agents lists Claude-Code as an Anthropic coding agent that a user action triggers. Its top user agents include Claude-User (claude-code/2.1.330; +https://support.anthropic.com/).3Known Agents

  • Observed:

    Known Agents expects Claude-Code to follow robots.txt. It says the agent publishes no verification method.3Known Agents

Confirmed by the platformObserved in data

#What happens if I block Claude-Code?

Claude Code is Anthropic's coding agent. Its tools reference lists a WebFetch tool that fetches content from a specified URL.1 Anthropic says WebFetch sets a User-Agent header that begins with Claude-User.1 The tools reference does not mention robots.txt.1

Anthropic's crawler page lists three bots: ClaudeBot, Claude-User and Claude-SearchBot.2 It does not name Claude-Code or Claude Code. Anthropic does not say whether a Claude-User rule applies to Claude Code.

Known Agents lists Claude-Code as an Anthropic coding agent. It says a user action triggers it and that it fetches documentation and other resources to help build software.3 Known Agents expects it to follow robots.txt.3 This is a third-party view, not an Anthropic statement.

#How do I block Claude-Code in robots.txt?

This group asks Claude-Code to stay out of the whole site. Anthropic has not said that Claude Code reads it:

Text
User-agent: Claude-Code
Disallow: /

The documented user agent starts with Claude-User. To ask both names, add Claude-User to the same group:

Text
User-agent: Claude-Code
User-agent: Claude-User
Disallow: /

Anthropic says a Claude-User block stops its system from retrieving your content in response to a user query, which may reduce your visibility for user-directed web search.2 A firewall rule that matches "claude-code" in the user agent can refuse the request. robots.txt can only ask.

#How do I check that a request is from Claude-Code?

You cannot verify a Claude Code request. Anthropic gives only the start of the user agent.1 Known Agents reports full strings such as Claude-User (claude-code/2.1.330; +https://support.anthropic.com/) and claude-code/2.1.317 (claude-desktop, agent-sdk/0.3.317).3 It says the agent publishes no verification method, so any client can send the name.3 The Claude Code tools reference gives no IP list.1 A match in your logs is only a clue.

Questions

Should I block Claude-Code?

Claude-Code is a fetcher that loads a page when a user asks an AI assistant from Anthropic. Unknown. Anthropic does not document a Claude-Code token and does not say whether Claude Code's WebFetch tool reads robots.txt, so a Claude-Code rule is only a request.

Does Claude-Code obey robots.txt?

Unknown. No source confirms that Claude-Code obeys robots.txt. To be sure it stays out, block it with a firewall or CDN rule as well.

How do I verify Claude-Code?

Anthropic publishes no way to verify Claude-Code. The user agent alone is not proof, because any client can copy it.

Notes

  1. 1
    Tools referenceClaude Code Docs (Anthropic) · Checked Nov 29, 2026 · Primary source
  2. 2
    Does Anthropic crawl data from the web, and how can site owners block the crawler?Anthropic Help Center · Checked Nov 29, 2026 · Primary source
  3. 3
    What Is Claude-Code? User Agent & Robots.txt BlockingKnown Agents · Checked Nov 29, 2026 · Dataset

About this page

Researched and reviewed by Promptly Found. Verified Nov 29, 2026. Next review due Dec 2026.

Cite this page
Citation style

Promptly Found. (2026, November 29). Claude-Code https://promptlyfound.com/crawlers/claude-code

Revisions 1
First published as a reported profile. Anthropic documents the Claude Code WebFetch user agent prefix but not a Claude-Code token.