react-analyzer-mcp
Analyze & generate docs for React code using the Model Context Protocol. Based on [react-analyzer](https://github.com/azer/react-analyzer) library.
[<img src="https://github.com/user-attachments/assets/615f43d7-9b81-4480-9a2a-773819223ddb" width="500" />](https://x.com/azerkoculu/status/1910071779457900866)
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
Using with Claude
- Enable MCP server in the Claude Desktop config:
- Connect Claude to your MCP server using the Claude Shell.
- Use the tools directly in Claude conversations:
Or:
Examples
Analyzing a project folder:
Input:
Output:
License
MIT