MCP Catalogs
Home

langchain-mcp-server

by LiteObject·1·Score 33

Dual-mode MCP server providing live LangChain documentation, API references, and code examples from official sources.

ai-llmdeveloper-toolsdocumentation
1
Forks
2
Open issues
6 mo ago
Last commit
2d ago
Indexed

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:

you:LangChain developers needing quick reference to documentation and API while working
you:AI assistants integrated with LangChain requiring up-to-date documentation access
you:Educational platforms teaching LangChain with real-time examples and references
you:What data sources does this server use?
you:Can I run this server in production?

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 README
  • search_langchain_docs

    Search LangChain documentation

  • search_api_reference

    Search API reference specifically

  • get_api_reference

    Get detailed API reference for a class

  • get_github_examples

    Get code examples from GitHub

  • get_tutorials

    Get available tutorials

  • get_latest_version

    Get latest LangChain version

Comparable tools

langchain-docs-mcplangchain-api-mcpofficial-langchain-docs

Installation

Installation

Using Docker (Recommended)

git clone https://github.com/LiteObject/langchain-mcp-server.git
cd langchain-mcp-server
docker-compose up --build

Local Development

pip install -r requirements.txt
python run.py mcp

Claude 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.