
LangChain MCP Adapters
by langchain-ai
Lightweight wrappers making Anthropic MCP tools compatible with LangChain and LangGraph.
What it does
This library bridges the gap between the Model Context Protocol (MCP) and the LangChain ecosystem. It allows developers to convert MCP tools into standard LangChain tools, enabling them to be used within LangGraph agents and other LangChain-based workflows.
Tools
- load_mcp_tools: Converts MCP session tools into LangChain-compatible tools.
- MultiServerMCPClient: Facilitates connection to multiple MCP servers (stdio, http, sse) simultaneously to aggregate tool sets.
Installation
Install the adapter via pip:
pip install langchain-mcp-adapters
To use as a server for other clients, implement a FastMCP server and configure it in claude_desktop_config.json:
{
"mcpServers": {
"langchain-adapter": {
"command": "python",
"args": ["path/to/your_adapter_server.py"]
}
}
}
Supported hosts
- claude
Quick install
pip install langchain-mcp-adaptersInformation
- Pricing
- free
- Published
- 5/13/2026
- stars






