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

# Use SpecStream in Gemini

Add SpecStream to the Gemini app as a custom app, or to Gemini CLI as an MCP server. Ask for a list in your own words, approve the price, and get results with their sources.

## 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

### Gemini app

1.  On a computer, go to **gemini.google.com**, click **Settings** at the bottom, then **Connected Apps**.
2.  Under **Custom apps**, choose **Add a custom app** and paste the server address.
3.  Click **Next**, sign in to SpecStream, and review what Gemini asks for.

Type **@** and pick SpecStream to make sure Gemini uses it. Once added on the web, it works in the Gemini phone app too. For now Google offers custom apps in English, on personal Google accounts (not work or school), with Keep Activity on.

### Gemini CLI

Add SpecStream to `~/.gemini/settings.json`, then run `/mcp auth specstream` to sign in:

settings.json

```json
{
  "mcpServers": {
    "specstream": {
      "httpUrl": "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.

Gemini CLI takes the key as a header instead of signing in:

settings.json

```json
{
  "mcpServers": {
    "specstream": {
      "httpUrl": "https://api.specstream.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}
```

## Try it

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

> Use SpecStream to find every bakery in Lyon rated 4.6 or better on Google Maps, with its phone and opening hours. 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), [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), [Claude Code](https://specstream.ai/docs/mcp/claude-code.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)

Gemini's own documentation: [Gemini Apps Help: connect custom apps](https://support.google.com/gemini/answer/17209137), [Gemini CLI: MCP servers](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md).
