MCP Directory
Back

langchain-mcp-adapters

by langchain-ai ยท Python ยท โ˜… 3,509

LangChain ๐Ÿ”Œ MCP

#langchain#langgraph#mcp#python#tools

Install

pip install git+https://github.com/langchain-ai/langchain-mcp-adapters.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "langchain-mcp-adapters": {
      "command": "uvx",
      "args": [
        "git+https://github.com/langchain-ai/langchain-mcp-adapters.git"
      ]
    }
  }
}

From the README

This library provides a lightweight wrapper that makes [Anthropic Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) tools compatible with [LangChain](https://github.com/langchain-ai/langchain) and [LangGraph](https://github.com/langchain-ai/langgraph). > [!note] > A JavaScript/TypeScript version of this library is also available at [langchainjs](https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-mcp-adapters/). - ๐Ÿ› ๏ธ Convert MCP tools into [LangChain tools](https://python.langchain.com/docs/concepts/tools/) that can be used with [LangGraph](https:/โ€ฆ
Read full README on GitHub โ†’

๐Ÿ’ก Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related developer tools servers