Langchain MCP Server

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

Local serverstdioPython

What is the Langchain MCP Server?

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

What it actually does

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

  • 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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
search_docsSearch documentation, references, and tutorials
search_langchain_codeSearch LangChain source code
search_langgraph_codeSearch LangGraph source code
search_deepagents_codeSearch DeepAgents source code

How to install the Langchain MCP Server

{
  "mcpServers": {
    "langchain": {
      "command": "npx",
      "args": ["-y", "langchain-mcp"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Langchain to search docs.”
  • “Use Langchain to search langchain code.”
  • “Use Langchain to search langgraph code.”

Frequently asked questions

Semantic search for LangChain, LangGraph, LangSmith & DeepAgents docs and source code. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.