Skip to content
LangChain

The Stochastic Parrot for LangChain

io.github.portneymk/stochastic-parrot

Span-grounded audits of how US outlets covered the same story, quotes checkable at the source.

client:LangChain transport:streamable-http tools:15

Install The Stochastic Parrot in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "stochastic-parrot": {
            "transport": "streamable_http",
            "url": "https://thestochasticparrot.com/api/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

The Stochastic Parrot in other clients