Skip to content
LangChain

SpecStream for LangChain

ai.specstream/specstream

The live web data engine for teams and agents: Search API, Extract API and Deep Search.

client:LangChain transport:streamable-http

Install SpecStream in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "specstream": {
            "transport": "streamable_http",
            "url": "https://api.specstream.ai/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

SpecStream in other clients