VisiblyRank
All posts
field notesAI coding agentsAI crawler access

Field notes: how to get your API or MCP server recommended by AI coding agents like Claude Code and Codex

Nate OkelloEditor, crawler access

Field notes on getting an API or MCP server recommended by AI coding agents: which bots fetch your docs, which prompts to track, and how to attribute the signups.

Developer-tool clients ask the same question in different words: why does Claude Code reach for a competitor's SDK when the task is exactly what we built? We can't answer "why" with certainty, because neither Anthropic nor OpenAI documents how their coding agents pick an API, a library, or an MCP server. What we can do is check the things those agents are documented to depend on, and measure what they say. These are our working notes.

Note 1: track the agents, not just the chatbots

Most AI visibility programs track ChatGPT, Perplexity, Gemini and the Google AI surfaces. For a devtools brand that misses the place where a developer asks a tool to pick a tool. In Promptwatch, which we run our client work on, Codex, Claude Code, and OpenCode are models you can add to a monitor like any other.

Prompt writing is different here. A developer doesn't ask a coding agent "what is the best email API." They say "send a password reset email from this Express app." We write prompts as tasks, include the stack, and keep a few vague ones for comparison. The monitor records which tools each agent names and, because these agents search while answering, the query fan-outs they ran.

Note 2: check docs crawl access first

Claude Code's web tools search the web and fetch documentation, per Anthropic's own description. So the first thing we open is the crawler log for the docs host. Anthropic runs three bots: ClaudeBot for training, Claude-User for fetches when a person asks Claude something, and Claude-SearchBot for search indexing. Anthropic says blocking either of the last two may reduce visibility. On the OpenAI side, OAI-SearchBot handles ChatGPT search and ChatGPT-User makes fetches on a user's behalf.

OpenCode is the one people forget. It searches through Exa, so ExaSearchBot (Exa's indexer) and ExaUser (live fetches) are the bots to look for. One detail from Promptwatch's Nov 6 changelog: without an ExaSearchBot group in robots.txt, ExaSearchBot follows your Googlebot and Bingbot rules instead of your default group. Promptwatch's robots.txt generator for AI writes that group when you add search-engine rules.

Promptwatch Academy playbook "Turn Crawler Logs in Promptwatch into Content Opportunities" explaining that a page the models never fetch cannot be cited

Promptwatch Academy, "Turn Crawler Logs in Promptwatch into Content Opportunities", captured November 14, 2026.

Crawler logs in Promptwatch need the Professional plan and a log source (Cloudflare, Vercel, Fastly, CloudFront and others). Requests are IP-verified against each operator's published ranges, except the Exa bots, since Exa publishes none.

Note 3: Claude's fetches grew fast this year

Promptwatch's report on the Claude citation crawler tracked its share of AI citation crawler traffic from Dec 11, 2025 to Apr 19, 2026. The share peaked at 1.73% on April 13, 2026, and the report says daily visits jumped from the hundreds into the thousands within two weeks in late March. It also notes the crawler may visit cited pages when someone asks Claude a question or uses Claude Code.

Promptwatch chart of Claude citation crawler share of AI crawler traffic, rising sharply from late March to April 2026

Promptwatch data report, "How Has the Claude Citation Crawler Grown Over Time?", captured November 14, 2026.

It's still around 1% of tracked citation crawler traffic in that report, with ChatGPT taking most of the rest. Small, but it grew quickly over the window the report covers.

Note 4: read the fan-outs before writing anything

When a coding agent skips your API, the fan-outs often explain it. If the agent searched for "Express email library comparison" and you have no comparison page, the fix is obvious. If it searched for your product by name and still chose someone else, the problem is more likely in your quickstart or your errors, which is a conversation for the client's developer relations team, not a content brief.

Note 5: attribute what you can

Promptwatch's visitor analytics count AI-referred visits and conversions from ChatGPT, Claude, Perplexity, Copilot and others. For docs, we set the signup or API-key creation as the conversion. ChatGPT stopped sending a referrer on Oct 8, 2026, per Promptwatch's changelog, so we turn on the "Include ChatGPT UTM referrers" toggle to count utm_source=chatgpt.com visits again. Traffic from coding agents running in a terminal is harder to see; we don't pretend otherwise.

Note 6: the MCP Registry is necessary, not sufficient

For MCP servers we publish metadata to the official registry with a verified namespace. It's in preview and built mainly for aggregators. We haven't found any vendor page saying a listing changes what an agent recommends, so it gets an afternoon, not a quarter.

Where we'd start

Open the crawler logs for your docs host, then add Claude Code and Codex to a monitor with ten task-style prompts. Promptwatch's 7-day free trial on monthly billing covers the monitor; crawler logs need Professional.