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

# Use SpecStream in AnythingLLM

Add SpecStream to AnythingLLM as an MCP server, or install the SpecStream agent skill from the Community Hub. 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

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

Add SpecStream to `anythingllm_mcp_servers.json` in the `plugins` folder of AnythingLLM's storage directory. AnythingLLM starts it when the agent needs it, and its MCP screen reloads the servers after a change:

anythingllm\_mcp\_servers.json

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

### Or install the agent skill

The [SpecStream agent skill (opens in a new tab)](https://hub.anythingllm.com/i/agent-skill/BtUY4th0gIJK0rLqWNax) on the AnythingLLM Community Hub prices a request first, runs it once you approve, and reads the rows with their sources. Import it, then add your key in the skill's settings.

## Web search with the Search API

For AnythingLLM admins: the agent's web search runs on the Search API once you set one URL.

Open **Agent Skills** in Settings, turn on web search, choose **SearXNG** as the search provider, and paste this into **SearXNG API Base URL**, with [your key](https://specstream.ai/workspace/search?route=searxng&utm_source=anythingllm&utm_medium=howto) in place of `YOUR_SPECSTREAM_KEY`. On Docker, set `AGENT_SEARXNG_API_URL` to the same value.

SearXNG API Base URL

```text
https://api.specstream.ai/searxng/search?key=YOUR_SPECSTREAM_KEY
```

The address then holds your key, so keep it in a secret or an environment setting.

To check it, start a message with `@agent` and ask it to search the web for something from this week. The agent's reply names the pages it found.

Each search is one Search API call. A drop-in call runs the fast search, at $1 per 1,000 searches of up to 10 results. A call that asks for an answer or the tool's thorough mode runs the default search, at $5 per 1,000. It comes out of your balance, with no quote and no approval. [Search API](https://specstream.ai/docs/search-api.md) has the details.

[Get your key](https://specstream.ai/workspace/search?route=searxng&utm_source=anythingllm&utm_medium=howto) on the Search API screen of your SpecStream workspace. New accounts start with $2 of credit, no card.

The same setting works in other tools too: [Search API by one setting](https://specstream.ai/docs/integrations/drop-in-search.md).

## Try it

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

> @agent use SpecStream to find every nonprofit in Ohio that runs a food pantry, with its revenue and website. 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), [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)

AnythingLLM's own documentation: [AnythingLLM: MCP compatibility](https://docs.anythingllm.com/mcp-compatibility/overview).
