How to Use Claude Code documentation search in Codex
Returns matches from Claude Code documentation through Anthropic's documentation search. Use it to locate guidance on a specific problem before reading the relevant page or section.
Prompts to try with Claude Code documentation search in Codex
Copy an example into Codex, or ask in your own words.
Use Claude Code documentation search to find guidance on PreToolUse decision control and compare it with this project's hook implementation.
Use Claude Code documentation search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Claude Code documentation search and tell me what changed since last week.
Check Claude Code documentation search and summarize what you find in three bullet points.
Pull the newest data from Claude Code documentation search and give me the result as a table.
How to set up Claude Code documentation search in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Claude Code documentation search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "code-claude-com/developer-documentation/search_docs", "input": { "query": "<query>" } }'
Then paste one of the prompts above: Codex finds Claude Code documentation search on Spiral, shows the price and runs it.
Claude Code documentation search providers and prices
Spiral runs Claude Code documentation search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 10 | Maximum hits, 1-10 (the server returns at most 10). Defaults to 10. | |
| Language | en, de, es, fr, id, it, ja, ko and 4 more | Docs language as it appears in page paths. Defaults to | |
| Max snippet chars | 100 to 20000 | Cut each snippet to this many characters. Defaults to 1500. |
Every API field of Claude Code Docs · Search docs is on its tool page: open its card above.
What can you do with Claude Code documentation search in Codex?
Turn Claude Code documentation into a review of your project's hooks, skills, and settings. A coding agent can compare repository files with published references and release changes, then propose edits with supporting links.
Review a Claude Code upgrade
Find release changes affecting hooks and settings, locate the relevant documentation, check configuration names, and read the explanations needed for an upgrade checklist.
Write a hook troubleshooting guide
Map the hook documentation, find event references and relevant sections, and check release notes for changes that could explain a reported failure.
Review team configuration guidance
Collect the settings and precedence pages, look up documented keys, and review release changes before revising a team's Claude Code policy guide.
Maintain a skill authoring handbook
Find the skill documentation and frontmatter reference, read the relevant sections, and review release notes before updating authoring examples.
Prepare a support investigation
Search a reported Claude Code issue, retrieve the supporting documentation, check configuration terminology, and inspect release notes for a related fix.
Build a documentation reading list
Collect pages about hooks, skills, and settings, then read their outlines to assemble a focused reference list for engineers.
Draft a release briefing
Summarize Claude Code release changes and locate documentation that explains the affected features, with links for readers who need the details.
More on Claude Code documentation search and Codex
Overview
Claude Code documentation search in other agents
Questions about Claude Code documentation search in Codex
Can Codex use Claude Code documentation search?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Claude Code documentation search like any built-in tool.
How much does Claude Code documentation search cost in Codex?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need an Alexandria account to use Claude Code documentation search in Codex?
No. Spiral runs Claude Code documentation search on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Claude Code documentation search in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Claude Code documentation search runs?
Claude Code documentation search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.
What does the Claude Code documentation cover?
The official index covers configuration, skills, subagents, hooks, MCP, and the Agent SDK. This is the Claude Code documentation corpus.
Does this data show my organization's actual configuration?
The source is published documentation at code.claude.com. Its configuration references describe documented settings and behavior; they do not inspect your organization's installation.
Does documentation search cover the whole web?
Anthropic describes its documentation MCP server as providing full-text search over Claude Code docs. Its search coverage is the documentation corpus.
How recent is the published release information?
When checked on November 20, 2026, the official changelog included version 2.1.329 dated November 19, 2026. That establishes the recency of the published release history at that check.
How far back does the release history go?
The published changelog reaches back at least to version 0.2.21, dated April 2, 2025. This is release history, rather than an archive of every earlier documentation revision.
Start using Claude Code documentation search in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


