Langchain MCP Server

Model Context Protocol (MCP) To LangChain Tools Conversion Utility

Remote serverstreamable-httpPython

What is the Langchain MCP Server?

Model Context Protocol (MCP) To LangChain Tools Conversion Utility

The short version

A simple, lightweight library to use Model Context Protocol (MCP) server tools from LangChain.

This package is intended to simplify the use of Model Context Protocol (MCP) server tools with LangChain / Python.

What it needs from you

  • Python 3.11+ - [optional] uv (uvx) installed to run Python package-based local MCP servers - [optional] npm 7+ (npx) to run Node.js package-based local MCP servers

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Langchain MCP Server

{
  "mcpServers": {
    "langchain-mcp-tools": {
      "command": "uvx",
      "args": ["langchain-mcp-tools"],
      "env": {
        "BRAVE_API_KEY": "your-value",
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Python 3.11+ - [optional] uv (uvx) installed to run Python package-based local MCP servers - [optional] npm 7+ (npx) to run Node.js package-based local MCP servers
VariableDescriptionRequired
BRAVE_API_KEYCredential the server authenticates with.Yes
GITHUB_PERSONAL_ACCESS_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use Langchain to Limitations.”
  • “Use Langchain to Note.”
  • “Use Langchain to Troubleshooting.”

Frequently asked questions

Model Context Protocol (MCP) To LangChain Tools Conversion Utility Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.