
lc2mcp
Interface UIpar xiaotonng
Instantly convert LangChain tools to FastMCP tools with a single line of code.
What it does
lc2mcp is a lightweight adapter that bridges the LangChain and MCP ecosystems. It allows developers to take existing LangChain tools—leveraging a library of over 1000 community tools for search, Wikipedia, SQL, and more—and expose them as FastMCP tools accessible to AI clients like Claude and Cursor.
Tools
register_tools: The primary function to adapt LangChain tools to a FastMCP server.to_mcp_tool: Converts a single LangChain tool for manual registration.
Installation
To use lc2mcp, install the package and register your tools in your server script:
pip install lc2mcp
Example claude_desktop_config.json entry (assuming your server is named langchain-bridge):
{
"mcpServers": {
"langchain-bridge": {
"command": "python",
"args": ["/path/to/your/server.py"]
}
}
}
Supported hosts
- Claude Desktop
- Cursor
Installation rapide
pip install lc2mcpInformations
- Tarification
- free
- Publié
- 4/19/2026
- étoiles






