[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Notion developer documentation search](https://spiral.ai/integrations/opencode/notion-developer-documentation-search)

# How to Use Notion developer documentation search in opencode

Returns matching developer documentation sections with snippets and source references. Use it for a focused technical question instead of browsing the documentation index.

|  |  |
| --- | --- |
| Model | Notion developer documentation search |
| Available through | Alexandria |
| Category | Developer |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Notion developer documentation search in opencode

- Use Notion developer documentation search to find sections about page.created webhook event aggregation and compare the returned guidance with this project’s webhook handler.
- Use Notion developer documentation search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Notion developer documentation search and tell me what changed since last week.
- Check Notion developer documentation search and summarize what you find in three bullet points.
- Pull the newest data from Notion developer documentation search and give me the result as a table.

## How to set up Notion developer documentation search in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Notion developer documentation search**: One request; the result comes back by polling or a webhook.

```bash
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": "notion-com/developer-documentation/search_docs",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Notion developer documentation search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Notion developer documentation search tools and prices

- [Notion Docs, Help Center, Pricing, Blog and Templates · Search docs](https://spiral.ai/tools/alexandria/notion-com/developer-documentation/search_docs) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 10 | — | Maximum hits, 1-10 (the server returns at most 10). Defaults to 10. |
| max_snippet_chars | 100 to 20000 | — | Cut each snippet to this many characters. Defaults to 1500. |

## What can you do with Notion developer documentation search in opencode?

Build a Notion reference list alongside your integration code, with technical documentation and resources for the people using the workflow. Use help categories, announcements, and template examples to connect implementation decisions to actual Notion tasks.

### Build a Notion onboarding resource pack

Collect help areas for new users, technical documentation for engineers, product announcements for context, and project template examples. Produce separate reading lists for the people configuring workflows and the people implementing integrations.

### Research a project management pilot

Find project plans, sprint boards, and status report templates. Pair the shortlist with relevant help areas, developer references, and product announcements to prepare a pilot that covers both daily use and integration requirements.

### Refresh monthly Notion training

Compare product announcements with an existing training outline. Find the help categories, developer references, and template examples worth reviewing before revising lessons for users and engineers.

### Prepare a feature adoption review

Start with a Notion product announcement and collect related help topics, technical references, and workflow templates. Turn the findings into a review brief that separates announced functionality from implementation questions that still need documentation.

### Map developer references for an integration

Inventory relevant developer pages, then search for specific sections about webhooks, data sources, or page content. Create a reference list engineers can consult while reviewing implementation choices.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Notion developer documentation search in other agents

- [Amp](https://spiral.ai/integrations/amp/notion-developer-documentation-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/notion-developer-documentation-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/notion-developer-documentation-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/notion-developer-documentation-search)
- [Cline](https://spiral.ai/integrations/cline/notion-developer-documentation-search)
- [Codex](https://spiral.ai/integrations/codex/notion-developer-documentation-search)
- [Cursor](https://spiral.ai/integrations/cursor/notion-developer-documentation-search)
- [Devin](https://spiral.ai/integrations/devin/notion-developer-documentation-search)
- [dots](https://spiral.ai/integrations/dots/notion-developer-documentation-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/notion-developer-documentation-search)
- [Gemini](https://spiral.ai/integrations/gemini/notion-developer-documentation-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/notion-developer-documentation-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/notion-developer-documentation-search)
- [goose](https://spiral.ai/integrations/goose/notion-developer-documentation-search)
- [Grok](https://spiral.ai/integrations/grok/notion-developer-documentation-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/notion-developer-documentation-search)
- [Hermes](https://spiral.ai/integrations/hermes/notion-developer-documentation-search)
- [Instinct](https://spiral.ai/integrations/instinct/notion-developer-documentation-search)
- [Manus](https://spiral.ai/integrations/manus/notion-developer-documentation-search)
- [Muse](https://spiral.ai/integrations/muse/notion-developer-documentation-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/notion-developer-documentation-search)
- [n8n](https://spiral.ai/integrations/n8n/notion-developer-documentation-search)
- [Notion](https://spiral.ai/integrations/notion/notion-developer-documentation-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/notion-developer-documentation-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/notion-developer-documentation-search)
- [Raycast](https://spiral.ai/integrations/raycast/notion-developer-documentation-search)
- [VS Code](https://spiral.ai/integrations/vscode/notion-developer-documentation-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/notion-developer-documentation-search)
- [Zapier](https://spiral.ai/integrations/zapier/notion-developer-documentation-search)

## More opencode guides

- [Notion developer documentation index](https://spiral.ai/integrations/opencode/notion-developer-documentation-index)
- [Notion help article](https://spiral.ai/integrations/opencode/notion-help-article)
- [Notion developer documentation](https://spiral.ai/integrations/opencode/notion-developer-documentation)
- [Notion help article index](https://spiral.ai/integrations/opencode/notion-help-article-index)
- [Notion blog post](https://spiral.ai/integrations/opencode/notion-blog-post)
- [Notion help categories](https://spiral.ai/integrations/opencode/notion-help-categories)

## Questions about Notion developer documentation search in opencode

**Can opencode use Notion developer documentation search?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Notion developer documentation search like any built-in tool.

**How much does Notion developer documentation search cost in opencode?**

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

**Do I need an Alexandria account to use Notion developer documentation search in opencode?**

No. Spiral runs Notion developer 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 Notion developer documentation search in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Notion developer documentation search runs?**

Notion developer documentation search runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does the developer documentation index cover all of Notion’s website?**

It is an index of developer documentation. Notion’s Help Center has its own category tree and article lists, so a developer page inventory should not be treated as a complete website inventory.

**Are product release notes the same as the developer changelog?**

No. Notion’s product feed covers releases, improvements, and fixes, while its separate developer changelog records technical changes such as the November 11, 2026 webhook delivery update.

**Can API behavior change while an integration stays on the same version?**

Yes. Notion says additive changes, including new response fields and optional parameters, apply to older API versions too. A pinned version does not freeze the documentation or response shape.

**What freshness information does Notion publish?**

Product announcements carry dates, including the August 19, 2026 developer sidebar announcement. Those dates identify announcements, rather than establishing a fixed refresh schedule for documentation retrieval.

**What kinds of project workflows can I research through Notion’s templates?**

Notion’s project template category explicitly covers project plans, timelines, sprints, and status reports. Use those as concrete starting points when comparing project workflows.

