langchain-mcp-server
by LiteObject·★ 1·Score 33
Dual-mode MCP server providing live LangChain documentation, API references, and code examples from official sources.
Overview
The LangChain Documentation MCP Server is a comprehensive dual-mode solution that provides real-time access to LangChain documentation, API references, and code examples. It supports both FastAPI web service and native MCP server modes, fetching live data from official LangChain sources including python.langchain.com, GitHub repository, and PyPI. The server offers various tools for searching documentation, retrieving API references, fetching GitHub code examples, discovering tutorials, and getting version information.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server when you need real-time LangChain documentation and API references integrated into your AI workflow.
When NOT to choose this
Don't choose this if you need offline access to documentation or if you're working with a version of LangChain that's not yet reflected in the live sources.
Tools this server exposes
6 tools extracted from the READMEsearch_langchain_docsSearch LangChain documentation
search_api_referenceSearch API reference specifically
get_api_referenceGet detailed API reference for a class
get_github_examplesGet code examples from GitHub
get_tutorialsGet available tutorials
get_latest_versionGet latest LangChain version
Comparable tools
Installation
Installation
Using Docker (Recommended)
git clone https://github.com/LiteObject/langchain-mcp-server.git
cd langchain-mcp-server
docker-compose up --buildLocal Development
pip install -r requirements.txt
python run.py mcpClaude Desktop Configuration
Add to your claude_desktop_config.json:
{
"mcpServers": {
"langchain-docs": {
"command": "python",
"args": ["path/to/langchain-mcp-server/run.py", "mcp"],
"env": {
"PYTHONPATH": "path/to/langchain-mcp-server"
}
}
}
}FAQ
- What data sources does this server use?
- The server fetches live data from python.langchain.com (official documentation), the GitHub LangChain Repository (source code and examples), and PyPI (version information).
- Can I run this server in production?
- Yes, but consider adding caching, rate limiting, monitoring, and possibly a database for production use. The server requires internet connectivity to fetch data from external sources.
Compare langchain-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.