Skip to content
LangChain

CorpusFetch for LangChain

com.corpusfetch/corpusfetch

O(1) routing, semantic search, and quality-filtered demand-driven experiences over 800+ records.

client:LangChain transport:streamable-http tools:6

Install CorpusFetch in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "corpusfetch": {
            "transport": "streamable_http",
            "url": "https://mcp.corpusfetch.com/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

CorpusFetch in other clients