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

# SpecStream for Cloudflare Agents

SpecStream is the live web data engine for teams and agents. Give an agent built with the Cloudflare Agents SDK live web search. It calls SpecStream over MCP or from an AI SDK tool, and gets an answer with the page each value came from.

[Read the guide](https://specstream.ai/docs/integrations/cloudflare-agents.md)

## What you get

Two tools, by name

addMcpServer with the id specstream keys the tools tool\_specstream\_search\_web and tool\_specstream\_read\_pages, so the model gets only those two.

MCP or a plain tool

Connect https://api.specstream.ai/mcp with the key in the transport headers, or wrap the Search API in an AI SDK tool().

A limit on every call

The Worker runs on its own API key with a spending limit. Each search is {search} per 1,000 and is kept in your history with its sources.

Status

Live

Category

[Agent frameworks & builders](https://specstream.ai/integrations.md#frameworks)

Built by

SpecStream

You need

A Worker with the Agents SDK and a SpecStream API key.

Pricing

[You pay for the matches](https://specstream.ai/pricing.md)

Setup guide

[Read the guide](https://specstream.ai/docs/integrations/cloudflare-agents.md)

Help

[Talk to a human](https://specstream.ai/talk-to-a-human.md)

## Set it up

1.  Create a SpecStream API key under Agents & API and store it with npx wrangler secret put SPECSTREAM\_API\_KEY.
2.  In onStart, call this.addMcpServer("SpecStream", "https://api.specstream.ai/mcp") with id specstream and the key as a Bearer header.
3.  Pass tool\_specstream\_search\_web and tool\_specstream\_read\_pages from this.mcp.getAITools() to generateText.

[The full setup guide](https://specstream.ai/docs/integrations/cloudflare-agents.md) has every step, with what to do if something doesn’t arrive.

## Also in Agent frameworks & builders

The same live web data, in the other tools of this kind.

-   [OpenAI API](https://specstream.ai/integrations/openai.md)
-   [OpenAI Agents SDK](https://specstream.ai/integrations/openai-agents-sdk.md)
-   [LangChain](https://specstream.ai/integrations/langchain.md)
-   [LlamaIndex](https://specstream.ai/integrations/llamaindex.md)
-   [CrewAI](https://specstream.ai/integrations/crewai.md)
-   [Vercel](https://specstream.ai/integrations/vercel.md)
-   [Haystack](https://specstream.ai/integrations/haystack.md)
-   [See all](https://specstream.ai/integrations.md#frameworks)

## Live web data, in Cloudflare Agents.

Ask in your own words for companies, places, people, filings or anything else the web lists.

[Read the guide](https://specstream.ai/docs/integrations/cloudflare-agents.md)[Talk to a human](https://specstream.ai/talk-to-a-human.md)
