Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Semantic search for LangChain, LangGraph, LangSmith & DeepAgents docs and source code.

README.md

<div align="center">

LangChain MCP

Give your AI assistant complete knowledge of LangChain, LangGraph & LangSmith

![Website](https://langchain-mcp.xyz) ![npm version](https://www.npmjs.com/package/langchain-mcp) ![License: MIT](https://opensource.org/licenses/MIT)

WebsiteInstallationFeaturesDocumentation

</div>

---

Overview

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.

<img src="img/homepage.png" alt="LangChain MCP Homepage" width="800">

Features

  • Semantic Search - Natural language queries across all LangChain ecosystem docs
  • Source Code Search - Find code examples in Python and JavaScript repositories
  • MCP Protocol - Works seamlessly with Claude Code, Claude Desktop, Cursor, and any MCP-compatible client
  • Production Ready - Scalable API with authentication and usage tracking
  • Fast & Accurate - Powered by ChromaDB and OpenRouter embeddings

Installation

Quick Start (Recommended)

# 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

Manual Configuration

Add the following configuration to your client's config file:

Claude Desktop

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Cursor

  • macOS/Linux: ~/.cursor/mcp.json
  • Windows: %USERPROFILE%\.cursor\mcp.json
{
  "mcpServers": {
    "langchain-mcp": {
      "command": "npx",
      "args": ["langchain-mcp"]
    }
  }
}

Usage

CLI Commands

langchain-mcp login      # Login via Google OAuth
langchain-mcp status     # Check usage and remaining credits
langchain-mcp logout     # Logout and clear credentials

Available MCP Tools

| Tool | Description | Parameters | |------|-------------|------------| | search_docs | Search documentation, references, and tutorials | query, limit (default: 5) | | search_langchain_code | Search LangChain source code | query, language (py/js), limit | | search_langgraph_code | Search LangGraph source code | query, language (py/js), limit | | search_deepagents_code | Search DeepAgents source code | query, language (py/js), limit |

Pricing

  • Free tier available for new users
  • Donation bonus for supporters

Documentation

Self-deploy

Project Structure

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

Architecture

<img src="img/Architecture.png" alt="Architecture" width="600">

Setup Development Environment

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

Configuration

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"]
    }
  ]
}

Supported Embedding Providers

  • sentence-transformer (local)
  • openai
  • cohere
  • google
  • ollama
  • openrouter (default)

See ChromaDB Integrations for more options.

Deployment

The project includes automated deployment scripts for VPS hosting:

# Manual deployment
./deploy.sh

# GitHub Actions (production branch)
git push origin main:production

Deployment includes:

  • Code synchronization via rsync
  • Automatic npm installation and build
  • PM2 process management
  • Nginx static file serving
  • Environment variable management

Roadmap

  • [x] Semantic search across docs and code
  • [x] Google OAuth authentication
  • [x] Usage tracking and credits system
  • [x] MCP registry registration
  • [x] Claude Code, Desktop, and Cursor support
  • [ ] Rate limiting (per user / per IP)
  • [ ] Additional embedding model options
  • [ ] Local mode (no API key required)
  • [ ] Browser extension for quick searches
  • [ ] VSCode extension integration

Contributing

Forking and contributions are welcome!

Support

License

MIT License - see the LICENSE file for details.

---

<div align="center">

Built with ❤️ by baixianger

WebsiteGitHubnpm

</div>

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.