MCP.Market

Langchain MCP server

by baixianger·io.github.baixianger/langchain-mcp·v2.0.0·4 stars

LangChain/LangGraph/DeepAgents knowledge + LangGraph agent debugging (Polly-like)

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

full report

Adoption
New

4 stars

Reviews

Write one

Nobody has reviewed Langchain yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Langchain tools (10, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • langgraph_analyze_trace

    Fetch trace data for AI analysis (Polly-like). Returns structured trace data with optional question for analysis. Ask about errors, suggest improvements, identify inefficiencies.

  • langgraph_get_runwrite action

    Get detailed trace information for a specific run, including input, output, and execution details.

  • langgraph_get_thread

    Get detailed information about a specific thread including its current values and metadata.

  • langgraph_get_thread_state

    Get the current state/checkpoint of a thread, including state values, pending tasks, and next nodes.

  • langgraph_list_runs

    List runs (executions) for a specific thread. Use this to find specific runs to inspect.

  • langgraph_list_threads

    List conversation threads from a local LangGraph dev server. Use this to find threads to debug. Requires a running LangGraph server (langgraph dev).

  • search_deepagents_code

    Search DeepAgents source code. Returns relevant code snippets.

  • search_docs

    Search documentation, references, and tutorials about LangChain, LangGraph, LangSmith, and DeepAgents.

  • search_langchain_code

    Search LangChain source code. Returns relevant code snippets.

  • search_langgraph_code

    Search LangGraph source code. Returns relevant code snippets.

Public scan report

scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it

no findings
  • Code scan13 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 74 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 88/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Langchain compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 80% of 4,460 AI and agents servers
Tools
10
the typical AI and agents server has 6
Tools that change things
10%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
4
more than 77% of 2,711 AI and agents servers

What its tools let an agent do: 9 read · 1 change

Install Langchain in Claude Code, Cursor or VS Code

Runs npx -y langchain-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add langchain-mcp -- npx -y langchain-mcp
Add to Cursor

What the publisher says

From the Langchain repository's README, as published. We do not edit it. Read it on GitHub

LangChain MCP

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

Website • Installation • Features • Documentation

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.

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/claudedesktopconfig.json
  • Windows: %APPDATA%\Claude\claudedesktopconfig.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

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

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:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Langchain: common questions

Is Langchain MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the Langchain safety report
How do I install Langchain?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Langchain need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Langchain maintained?
The last commit was 108 days ago (2026-07-19). The latest release is v2.0.0.
What can I use instead of Langchain?
Servers from other publishers that do the same job: Basic Memory MCP server, IWE (iwe.md) MCP server and Total Agent Memory MCP server.
How does Langchain compare with other AI and agents MCP servers?
safety score 88/100 (higher than 80% of 4,460 AI and agents servers); tools 10 (the typical AI and agents server has 6); tools that change things 10% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Langchain

Same job from other publishers: the closest match first, then the best rated.

  • Basic Memory
    Local-first knowledge management with bi-directional LLM sync via Markdown files.
    B
  • IWE (iwe.md)
    Markdown knowledge base as agent memory. Runs against the notes directory it is started in.
    A
  • Total Agent Memory
    Persistent local memory for coding agents: temporal knowledge graph, procedural and episodic recall
    A