Skip to content
LangChain

FetchMCP API for LangChain

net.fetchmcp/fetchmcp

Fetch public web pages live and get clean Markdown, text or HTML.

client:LangChain transport:streamable-http tools:2

Install FetchMCP API in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

FetchMCP API in other clients