React AnalyzerSAFE
MCP server for analyzing & generating docs for React code locally
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Analyze & generate docs for React code using the Model Context Protocol. Based on react-analyzer library.
[](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
# 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
a0c76ea9ed99OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add react-analyzer-mcp -- npx -y [email protected]
{
"mcpServers": {
"react-analyzer-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (3)
3 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
analyze-project | read | Generate documentation for all React components in a project folder. It |
analyze-react | read | Analyze given React component, extract its components and props |
list-projects | read | List all projects under the root folder |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
react-analyzer, @types/node, typescript
Gates applied: no_behavioural_pass, no_license.
a0c76ea9ed99full audit observations/trust-audit/mcp-server/azer__react-analyzer.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | a0c76ea9ed99 | SAFE | B | 89 | first audit |
Questions
What is the React Analyzer MCP server?
MCP server for analyzing & generating docs for React code locally
What tools does React Analyzer expose?
3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is React Analyzer safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does React Analyzer need?
No credential environment variables were found in its source, so it appears to need none.
How does React Analyzer run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as react-analyzer-mcp at 0.1.0.
How current is this page?
The grade is for one exact copy of the source (a0c76ea9ed99), read on 2026-10-08. The repository is watched and re-audited when it changes.