Skip to content
Provider guides

Claude Code agent detection: browser, crawler, and API traffic

Separate Claude Code browser work from ClaudeBot crawling and tool requests. Investigate authenticated automation with Marshy session evidence.

Obaid Ahmed4 min read

To investigate Claude Code website activity, determine whether the task used a browser, terminal HTTP client, web tool, or integration. Marshy can classify the instrumented browser journey; your server records cover direct tool and API requests. ClaudeBot, Claude-SearchBot, and Claude-User are separately documented clients and do not identify all Claude Code traffic.

Claude Code’s Chrome integration can share an existing browser’s login state. An authenticated account therefore supplies customer context without establishing that a person performed every action.

How Claude Code can interact with your product

Anthropic's Claude Code architecture guide describes a tool-driven assistant that can execute commands, fetch web information, and connect to external services. Its configured tools determine what actually reaches your application.

The Chrome integration documentation describes browser automation through the Claude in Chrome extension. It shares the browser's login state, can work with authenticated apps, and pauses for the person to handle a login or CAPTCHA.

That is different from the Claude computer-use API tool, which developers can use in their own agent implementations. A system built with a Claude model is not automatically Claude Code.

This distinction prevents a common mistake: assigning a product name based only on the underlying model family.

Claude crawlers are another surface

Anthropic separately documents its web crawlers and user-triggered retrieval. ClaudeBot, Claude-SearchBot, and Claude-User have different documented purposes.

Do not interpret those names as a universal signature for Claude Code browser work. A crawler visiting public documentation and a coding assistant operating a signed-in product are different events with different access policies.

Observation Supported conclusion Unsupported leap
A claimed crawler user agent A client claims that identity It must be Claude Code
A browser automation classification Software likely operated the session The provider is proven
An authenticated account The request carries an account session A person performed every action
A validated integration grant A particular client has granted scope All of its proposed operations are allowed

Why local browser work changes detection

A Chrome extension can operate a browser a person uses routinely. You should not require every agent to arrive from a cloud-hosting address. Nor should you trust a session simply because it comes from an address associated with an existing customer.

Inspect interaction and attempted operations together. Browser flags, request headers, and network context can contribute evidence, but no single one establishes the model directing the browser.

When your evidence supports automation without reliable attribution, retain “provider unknown.” That is an actionable finding: you can evaluate account permissions and protect an operation without pretending to know the vendor.

Test the access paths separately

Use a harmless staging task and keep the path in its test record. The same assistant can complete work through different tools, so a combined test obscures what your instrumentation covers.

Test path How to correlate it What to verify
Chrome integration Task window, browser session, authenticated account, result Marshy collection across the complete page journey
Terminal or HTTP tool Authenticated request and backend operation Permissions, client identity, and resource limits
MCP integration Authorized client grant, tool invocation, resulting operation Transport authorization and target-resource permission
Customer takeover Task record and session timeline Draft preservation and classification timing

Include an allowed resource and a resource the same account cannot access. The server should enforce that difference through every path. Anthropic's product name and a customer's valid login are context, not exceptions to the resource rule.

For a browser installation, use your Marshy integration's snippet and the integration configuration. For a protected HTTP MCP service, check the authorization specification. Record the comparison with the evaluation template.

Detect Claude Code activity with Marshy

Marshy AI agent detection helps you distinguish people from automated browser sessions and investigate their activity. Install your Marshy integration's snippet, inspect the session and its journey in Marshy, and connect the result to your backend's account and operation records. See the technical product overview for the underlying detection approach.

This guide does not claim that the documented SDK returns a claude_code provider identifier. If your team or another detector infers that identity, keep its attribution confidence and evidence separate from the automation verdict.

For the broader policy, read how to respond to agent activity. For testing the interface itself, use our product-readiness checklist.

Does blocking ClaudeBot block Claude Code?

A ClaudeBot rule applies to the documented crawler. It does not identify every Claude Code browser or terminal request. Claude Code’s Chrome integration can operate an existing authenticated browser, while tool or API work may bypass your page script. Investigate the actual access path and protect its server operation. The website protection guide provides the action-level checklist.

Primary documentation checked October 8, 2026. The proposed tests have not been presented as live Claude Code measurements.

Keep reading
Peopleand Agents

See who's visiting your website.

Connect your website to see agent traffic, follow session journeys, and understand your customers' activity.