react-analyzer-mcp
Analyze & generate docs for React code using the Model Context Protocol. Based on react-analyzer library.
What it does
This tool analyzes React component files (JSX/TSX) and extracts information about components and their props.
Available Tools
- analyze-react: Analyzes a single React component from source code
- analyze-project: Generates documentation for all React components in a project folder
- list-projects: Lists all projects under the root folder
Installation
# Clone the repository
git clone https://github.com/azer/react-analyzer-mcp.git
cd react-analyzer-mcp
# Install dependencies
npm install
# Update PROJECT_ROOT in the index.ts file.
vim src/index.ts
# Build
npm run build
Using with Claude
- Enable MCP server in the Claude Desktop config:
{
"react-analyzer-mcp": {
"command": "node",
"args": [
"/Users/azer/code/sandbox/react-analyzer-mcp/build/index.js"
]
}
}
Connect Claude to your MCP server using the Claude Shell.
Use the tools directly in Claude conversations:
Analyze my project's React components in the "ui" folder.
Or:
What React components do I have in my project?
Examples
Analyzing a project folder:
Input:
Can you analyze the components in my "foobar" folder?
Output:
# Components
## Button
### Props
| Prop | Type | Optional | Default |
|------|------|----------|---------|
| `variant` | `string` | ✓ | `primary` |
| `size` | `string` | ✓ | `md` |
| `onClick` | `function` | ✓ | |
...
License
MIT
React Analyzer
Project Details
- azer/react-analyzer-mcp
- Last Updated: 4/10/2025
Categories
Recomended MCP Servers
Full implementation of Todoist Rest API & support Todoist Sync API for MCP server
Connect your chat repl to wolfram alpha computational intelligence
Web search using free google search (NO API KEYS REQUIRED)
Run any AWS Lambda function as a Large Language Model (LLM) tool without code changes using Anthropic's Model...
MCP server to run MATLAB code from LLM via the Matlab Engine API.
PowerPlatform Model Context Protocol server
Connect any Open Data to any LLM with Model Context Protocol.
MCP server for building PocketBase apps really quickly - Need a front end quick consider FastPocket
An MCP server based on OSSInsight.io, providing data analysis for GitHub individuals and repositories, as well as in-depth...
A MCP server for automated website deployment to 1Panel (Experimental)
SketchUp-MCP For AI





