Skip to content
MCP server

Dendro React

React and React Native code analysis for agents, with a shared VS Code map

Runs locallyStatus and history
Pricing
Free
Platforms
vscode, CLI
Runs
Locally
Version
0.9.3
Listing updated
2 days ago

About Dendro React

Dendro React is a free MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Dendro builds one model of a React or React Native codebase and presents it two ways. Agents query it through 36 MCP tools for component contracts before an edit (props, state, contexts, blast radius), rerender risk with the reason, and effect hygiene such as cleanup risks and fetch races that exhaustive-deps misses. A whole-repo orientation fits in one call of roughly 300 tokens.

For you there is a D3 dendrogram in a VS Code webview, descended from the Reactive project. The agent drives it: highlighting components, annotating, tracing a prop and stepping you through the architecture while you click Next and Back. Navigation detection covers React Navigation, Next.js App Router, React Router v6 and v7, Remix and Expo Router, and a runtime mode connects to a running app for live trees, state and props.

Components get a 1 to 10 complexity grade and the codebase an A to F health grade. The site says analysis runs locally with no account, key or tiers, and the visualizer needs the VS Code extension while static analysis works through the npm package alone.

Install

Run in a terminal

claude mcp add dendro-react -- npx -y dendro-react-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "dendro-react": {
      "command": "npx",
      "args": [
        "-y",
        "dendro-react-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "dendro-react": {
      "command": "npx",
      "args": [
        "-y",
        "dendro-react-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "dendro-react": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dendro-react-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

get_usage_guide
Reports usage guidance and the running version of the server.

What it does

Component contracts
Shows props, state, contexts and blast radius before an agent edits.
Rerender and effect checks
Explains rerender risk and flags cleanup risks and fetch races.
Navigation mapping
Detects routes in React Navigation, Next.js, React Router, Remix and Expo Router.
Complexity and health grades
Scores components 1 to 10 and audits the codebase A to F.
Shared visualizer
A dendrogram in VS Code that the agent highlights and annotates.
Runtime inspection
Reads live component trees, state, props and hooks from a running app.

Good for

  • Check what depends on a component before changing it
  • Get an architecture overview of an unfamiliar React repo
  • Find refactoring candidates by complexity grade
  • Trace prop drilling and where state lives
  • Have an agent walk you through the app structure visually

Pricing

Free

Free; no account or license key

Prices change. Check dendroreact.com before you buy.

Dendro React FAQ

Is it free?

Yes. The site says all 36 tools are free, with no account, key or tiers.

Does my code leave my machine?

The site says analysis runs locally.

Do I need VS Code?

The visualizer needs the extension; static analysis can run through the npm MCP server alone.

Which clients work?

Claude Code, Cursor, Windsurf and other MCP clients.

Is Dendro React free?

Yes. Dendro React is free to use.

How do I add Dendro React to Claude Code?

Run this command in your terminal: claude mcp add dendro-react -- npx -y dendro-react-mcp

What are the best alternatives to Dendro React?

The closest alternatives to Dendro React are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to Dendro React

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools