The live web data engine for teams and agents: Search API, Extract API and Deep Search.
MCP Server: ai.specstream/specstream
This MCP server provides “finished lists” sourced from the live web. It returns results where each row includes its source information and pricing “per match,” as described in the server summary.
🛠️ Key Features
Produces finished lists from live web data
Returns results as rows
Includes a source for each row
Includes pricing per match
🚀 Use Cases
Generate curated, ready-to-use lists from current web content
Support workflows that need per-item provenance and match-based pricing
⚡ Developer Benefits
Structured row output with source attribution
Pricing included per match for downstream handling
⚠️ Limitations
The description only specifies “finished lists” with source and per-match pricing; no additional capabilities are stated.
One platform to build, search, extract, enrich, map, and monitor data across the entire web.
Ask for any dataset in plain words, and SpecStream builds it from the entire live web: every match found, extracted and enriched into structured records, then monitored for change. It runs through the API and MCP, and inside Sheets, CRMs, Slack, n8n, Zapier and the other tools teams already use.
Ask in plain words. Get every match on the live web, in structured rows. It also enriches a list you have and monitors for change.
5¢, 15¢ or $1 a row
Search:
sh
curl -G https://api.specstream.ai/v1/web-search \
-H "Authorization: Bearer $SPECSTREAM_API_KEY" \
--data-urlencode "q=What is the population of Japan?"
The Search API and Extract API need no quote and no approval. Each search or page takes its flat price from your balance.
In Deep Search, the most a run can cost is shown and approved before it runs. Only delivered rows are billed, and a run that finds nothing costs nothing.
A saved request reruns hourly to yearly, and each row is labeled changed, unchanged or no longer matching.
Your agent works on your account, inside the spending limits you set.
This repository holds what you install around SpecStream: MCP client setup, agent plugins and skills, SDKs, the n8n node, a GitHub Action, and examples. The product itself runs at specstream.ai. Licensed MIT.
Python SDK, TypeScript SDK, OpenAI Agents SDK and LangChain
Connect an agent
The MCP server is https://api.specstream.ai/mcp (Streamable HTTP). Your agent works on your account: the same balance, permissions and spending limits you have.
Open Agents & API in the workspace and create an API key. Give it only what the task needs: read, prepare, or execute, the projects it may use, an expiry, and a spending limit.
Put it in an environment variable, so no file holds it:
sh
export SPECSTREAM_API_KEY="ss_live_..."
Add the server to your client, below.
Clients that support MCP sign-in can connect without a key. Each guide at specstream.ai/docs/mcp shows the current steps.
New accounts start with $10 of credit for 30 days, no card.
Claude
In Claude, go to Customize > Connectors, choose Add custom connector, name it SpecStream and paste https://api.specstream.ai/mcp. Steps for both sign-in and a key: docs/mcp/claude.
Go to ChatGPT Plugins, choose the plus button, then Add custom MCP server. Paste https://api.specstream.ai/mcp under Connection and set Authentication to OAuth. Steps: docs/mcp/chatgpt.
Add to .vscode/mcp.json. VS Code asks for the key once and keeps it out of the file.
json
{"inputs":[{"type":"promptString","id":"specstream-key","description":"SpecStream API key","password":true}],"servers":{"specstream":{"type":"http","url":"https://api.specstream.ai/mcp","headers":{"Authorization":"Bearer ${input:specstream-key}"}}}}
Cline also connects to the hosted server directly with OAuth sign-in: cline mcp install specstream --transport http https://api.specstream.ai/mcp. Zed and Continue, and Cline if you prefer a key, use the stdio proxy. It forwards your key from the environment and nothing else.
Add the plugin to opencode.json. It adds the SpecStream server and the four skills, and opencode mcp auth specstream signs you in through your browser:
The button adds SpecStream to Replit Agent; you sign in when the Project Editor asks. No key goes in the link.
Any other client that takes a URL
Lovable, Gumloop, Relevance AI, Lindy, Manus, Genspark and the rest: add a remote MCP server, paste https://api.specstream.ai/mcp, and sign in when asked. If the client only takes headers, use Authorization: Bearer $SPECSTREAM_API_KEY.
Agents that speak A2A
SpecStream is also an A2A agent. The Agent Card is at https://api.specstream.ai/.well-known/agent-card.json (A2A 1.0, with the 0.3 fields) and the JSON-RPC endpoint is https://api.specstream.ai/a2a. Without a key, the reply shows how SpecStream read the request, the columns and the most it can cost:
bash
curl -s https://api.specstream.ai/a2a -H 'Content-Type: application/json' -H 'A2A-Version: 1.0' \
-d '{"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{"message":{"messageId":"m1","role":"ROLE_USER","parts":[{"text":"Clinical trials recruiting in Germany for type 2 diabetes, with their sponsor"}]}}}'
With Authorization: Bearer $SPECSTREAM_API_KEY (or an OAuth token), the reply is a task waiting for approval. Reply on the task with a data part {"confirm_max_cents": N}, where N is the quoted maximum, to run it; GetTask returns the rows, each value with its source_url.
n8n
Install the community node from Settings > Community nodes: n8n-nodes-specstream. It reads a request, shows the quote, approves the maximum you type in, and returns the results. Three importable workflows are in integrations/n8n/workflows. An AI agent in n8n can also use the MCP Client Tool node with endpoint https://api.specstream.ai/mcp, transport HTTP Streamable and a Bearer credential.
LangChain
bash
pip install -U langchain-specstream
python
from langchain.agents import create_agent
from langchain_specstream import specstream_tools
agent = create_agent("anthropic:claude-sonnet-5-5", tools=specstream_tools(max_price_usd=5))
Two tools and a retriever. The agent writes the request and picks how many rows; the price cap stays in your code, where the model can't raise it. Source URL and read time on every value. Details in packages/langchain-specstream.
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.tools.specstream import SpecStreamToolSpec
agent = FunctionAgent(tools=SpecStreamToolSpec(max_price_usd=5).to_tool_list(), llm=llm)
The same two tools as a tool spec, plus a retriever that returns one node per row with its source in the metadata. The price cap stays on the spec, out of the model's reach. Details in packages/llama-index-tools-specstream.
CrewAI
bash
pip install -U crewai-specstream
python
from crewai import Agent
from crewai_specstream import specstream_tools
analyst = Agent(role="Funding analyst", goal="Answer with a source for every claim",
backstory="You work from data, not from memory.", tools=specstream_tools(max_price_usd=5))
The same two tools as CrewAI tools, with the key kept as a secret and async crews left unblocked. Details in packages/crewai-specstream.
Vercel AI SDK
bash
npm install @specstream/ai-sdk ai zod
ts
import { generateText, stepCountIs } from"ai";
import { specstreamTools } from"@specstream/ai-sdk";
const { text } = awaitgenerateText({
model: "openai/gpt-5-mini",
tools: specstreamTools({ maxPriceUsd: 5 }),
stopWhen: stepCountIs(5),
prompt: "Find open-source vector databases on GitHub with more than 5,000 stars, with their license.",
});
import os
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp
asyncwith MCPServerStreamableHttp(
name="SpecStream",
params={
"url": "https://api.specstream.ai/mcp",
"headers": {"Authorization": f"Bearer {os.environ['SPECSTREAM_API_KEY']}"},
},
cache_tools_list=True,
) as server:
agent = Agent(name="Researcher", instructions="Use SpecStream when you need data from the live web.", mcp_servers=[server])
result = await Runner.run(agent, "Papers on retrieval-augmented generation published this year, with their authors and DOI. Show me the price first.")
Any other client that speaks remote MCP over Streamable HTTP works with the address above and an Authorization: Bearer header.
What the agent does in Deep Search, in order
Nothing is spent until a person, or an agent inside a limit a person set, approves a price.
compile reads the request and returns how SpecStream understood it: the kind of thing, the conditions every result must meet, the facts to bring back.
quote_capacity_work returns the price and the most the work can cost. A price lasts 30 minutes.
authorize_capacity_work approves that exact quote, with the maximum in cents (confirm_max_cents) and a stable idempotency_key, so a retry never pays twice.
get_find shows progress while rows arrive. list_find_rows returns results with the reason and the source for each fact.
export_find, share_find, and send_to_destination move results on. Reading, exporting, and sharing cost nothing.
Each delivered row costs 5 cents, 15 cents or $1 depending on how much it needs, plus 5 cents for a person's email and 15 cents for a phone. A run that finds nothing costs nothing. See pricing.
Four skills in skills/ teach an agent this order and where to stop and ask: compile, review-work, approve-work, continue-work.
The Search API and Extract API are one call each, search_web and read_pages on MCP. The search-web and extract-pages skills teach them.
SDKs and command line
sh
pip install specstream-client # Python 3.12+, import specstream_client, command: specstream
npm install @specstream/sdk # Node 22+
brew tap specstream/specstream-tools https://github.com/specstream/specstream-tools
brew install specstream # the command line
python
import os
from specstream_client import Client
client = Client(os.environ["SPECSTREAM_API_KEY"])
read = client.compile("Datasets on urban tree canopy published since 2020 under an open license.")
offer = client.quote_capacity_work({
"ast_hash": read["ast_hash"], "operation": "find",
"requested_units": read["ast"]["limit"]["max"],
})
print(offer["maximum_cents"], offer["expires_at"])
ts
import { Client } from"@specstream/sdk";
const client = newClient({ apiKey: process.env.SPECSTREAM_API_KEY! });
const read = await client.compile("Datasets on urban tree canopy published since 2020 under an open license.");
The step stops if the price is above confirm_max_usd.
What comes back
The Search API returns the answer, its rows and the search results it read. The Extract API returns each page's main text, title and published date.
Deep Search returns structured rows for any kind of record: companies, local businesses, grants, tenders, clinical trials, papers, datasets, regulations, vulnerabilities, apps, repositories, packages, podcasts and books. Each condition you wrote is checked against the result's own words and numbers, and a row that fails is not delivered. Facts from many sites join into one record.
SpecStream reads registries and official APIs, maps and directories, job boards, research indexes, news and each result's own site at the moment you ask.