Analyze & generate docs for React code using the Model Context Protocol. Based on react-analyzer library. This tool analyzes React component files (JSX/TSX) and extracts information about components and their props. - 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 p
Add this skill
npx mdskills install azer/react-analyzer-mcpProvides useful React component analysis tools with clear setup and good examples
1# react-analyzer-mcp23Analyze & generate docs for React code using the Model Context Protocol. Based on [react-analyzer](https://github.com/azer/react-analyzer) library.45[<img src="https://github.com/user-attachments/assets/615f43d7-9b81-4480-9a2a-773819223ddb" width="500" />](https://x.com/azerkoculu/status/1910071779457900866)67## What it does89This tool analyzes React component files (JSX/TSX) and extracts information about components and their props.1011## Available Tools1213- **analyze-react**: Analyzes a single React component from source code14- **analyze-project**: Generates documentation for all React components in a project folder15- **list-projects**: Lists all projects under the root folder1617## Installation1819```bash20# Clone the repository21git clone https://github.com/azer/react-analyzer-mcp.git22cd react-analyzer-mcp2324# Install dependencies25npm install2627# Update PROJECT_ROOT in the index.ts file.28vim src/index.ts2930# Build31npm run build32```3334## Using with Claude35361. Enable MCP server in the Claude Desktop config:3738```bash39{40 "react-analyzer-mcp": {41 "command": "node",42 "args": [43 "/Users/azer/code/sandbox/react-analyzer-mcp/build/index.js"44 ]45 }46}47```48492. Connect Claude to your MCP server using the Claude Shell.50513. Use the tools directly in Claude conversations:5253```54Analyze my project's React components in the "ui" folder.55```5657Or:5859```60What React components do I have in my project?61```6263## Examples6465### Analyzing a project folder:6667Input:68```69Can you analyze the components in my "foobar" folder?70```7172Output:73```74# Components7576## Button7778### Props7980| Prop | Type | Optional | Default |81|------|------|----------|---------|82| `variant` | `string` | ✓ | `primary` |83| `size` | `string` | ✓ | `md` |84| `onClick` | `function` | ✓ | |85...86```8788## License8990MIT91
Full transparency — inspect the skill content before installing.