Spiral gives your agent every tool with one account. Browse the tools →

n8n · Developer

How to Use Claude Code documentation search in n8n

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 n8n

Copy an example into n8n, or ask in your own words.

Every week, use Claude Code documentation search to find guidance on PreToolUse decision control and report documentation matches that differ from the previous check.

Claude Code documentation searchn8n
Try asking
  • Every Monday at 9am: use Claude Code documentation search to look this up and give me the result as a table.

  • 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 n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Claude Code documentation search in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Claude Code documentation search, prices it and runs it each time the step fires.

Use the Spiral CLI

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

  1. Create an API key

    In the console, under API keys.

  2. 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: n8n 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.

AlexandriaDeveloper
Claude Code Docs · Search docs
code-claude-com/developer-documentation/search_docs

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 10

Maximum hits, 1-10 (the server returns at most 10). Defaults to 10.

Languageen, de, es, fr, id, it, ja, ko and 4 more

Docs language as it appears in page paths. Defaults to en.

Max snippet chars100 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 n8n?

Keep a Claude Code reference digest current for the features your team uses. A scheduled agent can compare retrieved documentation, configuration references, and release notes with earlier results and prepare a focused change report.

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.

Questions about Claude Code documentation search in n8n

Can n8n use Claude Code documentation search?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Claude Code documentation search like any built-in tool.

How much does Claude Code documentation search cost in n8n?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need an Alexandria account to use Claude Code documentation search in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Claude Code documentation search on its own Alexandria account.

How long does it take to set up Claude Code documentation search in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Claude Code documentation search runs?

Claude Code documentation search runs in the background. n8n 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.

Get started

Start using Claude Code documentation search in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options