# Dendro React

> Dendro React is a free MCP server for developer tools. React and React Native code analysis for agents, with a shared VS Code map. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** vscode, CLI
- **Website:** https://dendroreact.com
- **Repository:** https://github.com/rooneytech/dendro-react
- **MCP Registry name:** io.github.RooneyTech/dendro-react
- **Categories:** developer tools
- **Listing updated:** 2026-11-15

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `get_usage_guide`: Reports usage guidance and the running version of the server.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/dendro-react
