🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

langchain-mcp

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

langchain-mcp

MCP server for LangChain, LangGraph & DeepAgents knowledge + debug your LangGraph agents locally (Polly-like trace analysis)

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
1
Created
Source

langchain-mcp

Give Claude superpowers for LangChain development

npm version License: MIT

Website · GitHub · Sponsor

Features

Search LangChain, LangGraph, LangSmith & DeepAgents documentation and source code instantly from Claude.

LangGraph Agent Debugging (New in v2!)

Debug your LangGraph agents like Polly - connect to your local langgraph dev server and:

  • List threads, runs, and traces
  • Inspect agent state and checkpoints
  • Ask "Why did this fail?" and get AI-powered analysis
  • Get suggestions to improve your agent's prompts

Install

npm i -g langchain-mcp
langchain-mcp login
claude mcp add langchain-mcp -- langchain-mcp
Claude Desktop config

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "langchain-mcp": {
      "command": "langchain-mcp"
    }
  }
}

Tools

Search (requires login)

ToolDescription
search_docsSearch documentation and tutorials
search_langchain_codeSearch LangChain source code
search_langgraph_codeSearch LangGraph source code
search_deepagents_codeSearch DeepAgents source code

Debug LangGraph Agents (free, no login)

ToolDescription
langgraph_list_threadsList threads from local server
langgraph_get_threadGet thread details
langgraph_get_thread_stateGet state/checkpoint
langgraph_list_runsList runs for a thread
langgraph_get_runGet run trace details

Debug Your Agents

# Start your LangGraph server
langgraph dev

Then ask Claude:

  • "List my LangGraph threads"
  • "What went wrong with thread abc123?"
  • "Summarize the last run"
  • "How can I improve this agent?"

Connects to localhost:2024 by default.

Pricing

FeatureCost
Doc/Code Search$5 free credits (~2000 searches)
LangGraph DebuggingFree forever

License

MIT

Keywords

mcp

FAQs

Package last updated on 08 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts