> SpecStream is the live web data engine for teams and agents. This is the Markdown copy of https://specstream.ai/docs/mcp/claude-code. Every page, with what SpecStream does and costs: https://specstream.ai/llms.txt

# Use SpecStream in Claude Code

Add SpecStream to Claude Code with one command. Your agent then searches the live web, reads the pages it finds and builds whole lists, with a source on every value.

## What you need

-   A SpecStream account. [Start free](https://specstream.ai/signup): $2 of credit, no card.

The server address is the same for every client:

Server address

```text
https://api.specstream.ai/mcp
```

## Connect

1.  Run this in a terminal, in the project you work on:

Terminal

```bash
claude mcp add --transport http specstream https://api.specstream.ai/mcp
```

2.  Start Claude Code and run `/mcp`. Pick SpecStream and sign in to SpecStream in the browser window that opens.
3.  Run `/mcp` again to see the server and its tools, then ask.

The default scope is local: private to you and the current project. To have SpecStream in every project, add it at user scope:

Terminal

```bash
claude mcp add --transport http --scope user specstream https://api.specstream.ai/mcp
```

### Or use an API key

### Create an API key

1.  Open [Agents & API](https://specstream.ai/workspace/agents?tab=keys) in the workspace and choose **API keys**.
2.  Choose **Create API key**. Give it only what the task needs: read, prepare or execute permissions, the projects it may use, an expiry and a spending limit.
3.  Copy the key when it's shown. It isn't shown again.

### Add the server with the key

Terminal

```bash
claude mcp add --transport http specstream https://api.specstream.ai/mcp \
  --header "Authorization: Bearer YOUR_SPECSTREAM_API_KEY"
```

Use a key on a machine with no browser, in CI, or where a key with its own spending limit fits better. Don't use `--scope project` with a key in it, because that file is shared through version control.

### Keep the tool list short

Add `?tools=search` to the address and Claude Code loads only the search and page reading tools, which keeps your context small:

Terminal

```bash
claude mcp add --transport http specstream "https://api.specstream.ai/mcp?tools=search"
```

### What it costs

A new account starts with $2 of credit, no card. A web search from your agent is $1 per 1,000 searches on the fast tier and $5 per 1,000 on the default tier. Reading pages is $0.80 per 1,000 pages. A list is priced before it runs, and nothing is spent until you approve a maximum.

For steady use, [start the Starter plan](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter): $49 a month of credit, enough for 49,000 fast searches.

## Try it

Once Claude Code shows SpecStream's tools, ask in your own words:

> Use SpecStream to find the current stable release of every dependency in package.json and read each one's release notes for breaking changes. Show me the price first.

SpecStream reads the request back and gives you the price. Nothing is spent until you approve a maximum, and you pay per match, each with its source.

## Set access and spending limits

An agent works on your account, with the same balance, permissions and spending limits you have. Give its key the least it needs: read, prepare or execute permissions, project limits, an expiry and a spending ceiling. Paid work needs an approved price with a ceiling, and reading, exporting and sharing cost nothing.

## More

-   [MCP connection details](https://specstream.ai/docs/mcp.md), with every tool your agent can call.
-   [The REST API](https://specstream.ai/docs/api.md), [the SDKs and command line](https://specstream.ai/docs/sdk.md), and [everything your agent can do](https://specstream.ai/agents.md).
-   [How quotes and billing work](https://specstream.ai/docs/billing.md).
-   Other clients: [Claude](https://specstream.ai/docs/mcp/claude.md), [ChatGPT](https://specstream.ai/docs/mcp/chatgpt.md), [Cursor](https://specstream.ai/docs/mcp/cursor.md), [VS Code](https://specstream.ai/docs/mcp/vscode.md), [Perplexity](https://specstream.ai/docs/mcp/perplexity.md), [Gemini](https://specstream.ai/docs/mcp/gemini.md), [Grok](https://specstream.ai/docs/mcp/grok.md), [Le Chat](https://specstream.ai/docs/mcp/le-chat.md), [Manus](https://specstream.ai/docs/mcp/manus.md), [Make AI Agents](https://specstream.ai/docs/mcp/make.md), [LM Studio](https://specstream.ai/docs/mcp/lm-studio.md), [Cherry Studio](https://specstream.ai/docs/mcp/cherry-studio.md), [AnythingLLM](https://specstream.ai/docs/mcp/anythingllm.md), [Windsurf](https://specstream.ai/docs/mcp/windsurf.md), [Cline](https://specstream.ai/docs/mcp/cline.md), [Roo Code](https://specstream.ai/docs/mcp/roo-code.md), [Codex](https://specstream.ai/docs/mcp/codex.md), [Gemini CLI](https://specstream.ai/docs/mcp/gemini-cli.md), [n8n](https://specstream.ai/docs/mcp/n8n.md), [Dify](https://specstream.ai/docs/mcp/dify.md), [Zapier](https://specstream.ai/docs/mcp/zapier.md), [Zed](https://specstream.ai/docs/mcp/zed.md), [LangChain](https://specstream.ai/docs/mcp/langchain.md), [Vercel AI SDK](https://specstream.ai/docs/mcp/vercel-ai-sdk.md).

[Get started free](https://specstream.ai/signup)

Claude Code's own documentation: [Claude Code: MCP](https://code.claude.com/docs/en/mcp).
