LangChain MCP
Give your AI assistant complete knowledge of LangChain, LangGraph & LangSmith
Website • • •
Potencia tu agente
El comando propio del publicador. No es un endpoint de PlugMCP.
Host a copy with our keys and logs.
npx -y [email protected]Claude Code no tiene enlace de instalación para un comando local. Copia el comando de abajo y ejecútalo en una terminal.
claude mcp add io.github.baixianger-langchain-mcp -- npx -y langchain-mcp@2.0.0Ejecútalo en una terminal.
{ "mcpServers": { "io.github.baixianger-langchain-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
¿URL remota o un comando en tu máquina? En qué se diferencian las dos instalaciones
Ejecutar en PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
AbrirDel publicador
Website • • •
LangChain/LangGraph/DeepAgents knowledge + LangGraph agent debugging (Polly-like)
LangChain MCP is a Model Context Protocol (MCP) server that provides semantic search across the entire LangChain ecosystem. Build AI applications faster with instant access to documentation and source code for LangChain, LangGraph, LangSmith, and DeepAgents.
# Install globally
npm install -g langchain-mcp
# Login with Google
langchain-mcp login
# Add to Claude Code
claude mcp add langchain-mcp -- npx langchain-mcp
Add the following configuration to your client's config file:
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonCursor
~/.cursor/mcp.json%USERPROFILE%\.cursor\mcp.json{
"mcpServers": {
"langchain-mcp": {
"command": "npx",
"args": ["langchain-mcp"]
}
}
}
langchain-mcp login # Login via Google OAuth
langchain-mcp status # Check usage and remaining credits
langchain-mcp logout # Logout and clear credentials
langchain-MCP/
├── packages/
│ ├── ingest/ # Python - Data ingestion (uv)
│ ├── api/ # TypeScript - API server (Express)
│ ├── mcp-server/ # TypeScript - MCP client (npm package)
│ └── mcp-server-local/ # TypeScript - Local MCP server (dev)
├── config/
│ └── settings.json # Shared configuration
└── deploy.sh # Deployment script
1. Ingest Documentation & Source Code
cd packages/ingest
uv sync
uv run ingest --list # List available repositories
uv run ingest docs # Ingest documentation only
uv run ingest # Ingest all (docs + code)
2. Run API Server
cd packages/api
npm install
npm run dev # Development server on port 3000
3. Test Local MCP Server
cd packages/mcp-server-local
npm install
npm run dev
All settings in config/settings.json:
{
"embedding": {
"provider": "openrouter",
"model": "qwen/qwen3-embedding-8b"
},
"chromadb": {
"path": "./data/chroma"
},
"chunking": {
"docs": { "chunk_size": 2000, "chunk_overlap": 200 },
"code": { "chunk_size": 4000, "chunk_overlap": 200 }
},
"repos": [
{
"name": "langchain",
"url": "https://github.com/langchain-ai/langchain",
"type": "code",
"languages": ["python", "javascript"]
}
]
}
sentence-transformer (local)openaicoheregoogleollamaopenrouter (default)See ChromaDB Integrations for more options.
The project includes automated deployment scripts for VPS hosting:
# Manual deployment
./deploy.sh
# GitHub Actions (production branch)
git push origin main:production
Deployment includes:
Forking and contributions are welcome!
MIT License - see the LICENSE file for details.
Built with ❤️ by baixianger
LangChain/LangGraph/DeepAgents knowledge + LangGraph agent debugging (Polly-like)
{ "mcpServers": { "io.github.baixianger-langchain-mcp": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}Herramientas
Aún no hay lista de herramientas. Los servidores remotos la reciben tras la primera comprobación de estado.
Preguntas frecuentes
Copia en esta página la configuración stdio para Cursor, Claude Desktop, Claude Code o VS Code. Usa la instalación del publicador, no un proxy de PlugMCP.
Este registro no indica ninguna variable de entorno obligatoria.
Langchain se ejecuta localmente por stdio.
Última comprobación: 2026-11-09. LangChain/LangGraph/DeepAgents knowledge + LangGraph agent debugging (Polly-like)