# io.github.baixianger/langchain-mcp (npm · langchain-mcp)

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

- Trust score: 68/100 (medium)
- Change this week: +22
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `langchain-mcp`: 68/100 (this document), [markdown](https://verifymcp.io/servers/baixianger-langchain-mcp/langchain-mcp.md), [page](https://verifymcp.io/servers/baixianger-langchain-mcp/langchain-mcp)

## Channel facts

- Registry: `npm`
- Package: `langchain-mcp`
- Version: `2.0.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (106 of 110), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (106 of 110), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 206 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 662 tokens (~66/item across 10 items; 10 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add baixianger-langchain-mcp -- npx -y langchain-mcp
```

### Codex

```bash
codex mcp add baixianger-langchain-mcp -- npx -y langchain-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "baixianger-langchain-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "langchain-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add baixianger-langchain-mcp --command npx --arg -y --arg langchain-mcp
```

### Hermes

```yaml
mcp_servers:
  baixianger-langchain-mcp:
    command: "npx"
    args: ["-y", "langchain-mcp"]
```

### Other

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

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 68, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 64, +43)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional regression] Security disclosure: fail → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional] First check of Schema quality: unverified
- [functional] Licence: MIT

### 2026-08-01 (score 21, −5)

- [security] Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet.
- [functional regression] Capabilities: pass → unverified

### 2026-07-31 (score 26, −20)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (10)

### `search_docs` (~51 tokens)

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

Input parameters:

- `limit` (integer): Max results (1-20)
- `query` (string, required): Search query

### `search_langchain_code` (~53 tokens)

Search LangChain source code. Returns relevant code snippets.

Input parameters:

- `language` (string): Filter by language
- `limit` (integer): Max results (1-20)
- `query` (string, required): Search query

### `search_langgraph_code` (~53 tokens)

Search LangGraph source code. Returns relevant code snippets.

Input parameters:

- `language` (string): Filter by language
- `limit` (integer): Max results (1-20)
- `query` (string, required): Search query

### `search_deepagents_code` (~54 tokens)

Search DeepAgents source code. Returns relevant code snippets.

Input parameters:

- `language` (string): Filter by language
- `limit` (integer): Max results (1-20)
- `query` (string, required): Search query

### `langgraph_list_threads` (~99 tokens)

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

Input parameters:

- `limit` (integer): Number of threads to return (1-100)
- `offset` (integer): Offset for pagination
- `server_url` (string): LangGraph dev server URL (default: http://localhost:2024)
- `status` (string): Filter by thread status

### `langgraph_get_thread` (~49 tokens)

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

Input parameters:

- `server_url` (string): LangGraph dev server URL
- `thread_id` (string, required): Thread ID to retrieve

### `langgraph_get_thread_state` (~59 tokens)

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

Input parameters:

- `server_url` (string): LangGraph dev server URL
- `thread_id` (string, required): Thread ID to get state for

### `langgraph_list_runs` (~73 tokens)

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

Input parameters:

- `limit` (integer): Number of runs to return (1-100)
- `server_url` (string): LangGraph dev server URL
- `thread_id` (string, required): Thread ID to list runs for

### `langgraph_get_run` (~63 tokens)

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

Input parameters:

- `run_id` (string, required): Run ID to retrieve
- `server_url` (string): LangGraph dev server URL
- `thread_id` (string, required): Thread ID

### `langgraph_analyze_trace` (~108 tokens)

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

Input parameters:

- `question` (string): Specific question about the trace (e.g., "Why did the agent fail?")
- `run_id` (string): Specific run ID (if omitted, analyzes latest run)
- `server_url` (string): LangGraph dev server URL
- `thread_id` (string, required): Thread ID to analyze

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/baixianger-langchain-mcp/langchain-mcp#diagnostics

## Score history

- 2026-08-03: 68
- 2026-08-02: 64
- 2026-08-01: 21
- 2026-07-31: 26
- 2026-07-30: 46
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/langchain-mcp
- Socket report: https://socket.dev/npm/package/langchain-mcp
- Repository: https://github.com/baixianger/langchain-MCP
- Changelog RSS feed: https://verifymcp.io/servers/baixianger-langchain-mcp/langchain-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/baixianger-langchain-mcp/langchain-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/baixianger-langchain-mcp/langchain-mcp
