react-analyzer-mcp
使用模型上下文协议 (Model Context Protocol) 分析并生成 React 代码文档。基于react-analyzer库。
它的作用
该工具分析 React 组件文件(JSX/TSX)并提取有关组件及其 props 的信息。
可用工具
analyze-react :从源代码分析单个 React 组件
analyze-project :为项目文件夹中的所有 React 组件生成文档
list-projects :列出根文件夹下的所有项目
安装
与 Claude 一起使用
在 Claude Desktop 配置中启用 MCP 服务器:
使用 Claude Shell 将 Claude 连接到您的 MCP 服务器。
在 Claude 对话中直接使用这些工具:
或者:
示例
分析项目文件夹:
输入:
输出:
执照
麻省理工学院
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
在本地分析你的 React 项目
AST 解析 + AI 的一致输出
立即为您的 React 代码创建 Markdown 文档、llm.txt
Related MCP Servers
- AsecurityFlicenseAqualityAnalyzes codebases using Repomix and LLMs to provide structured code reviews with specific issues and recommendations, supporting multiple LLM providers including OpenAI, Anthropic, and Gemini.Last updated -227
- AsecurityAlicenseAqualityProvides tools for analyzing project structures, searching through codebases, managing dependencies, and performing file operations with advanced filtering capabilities.Last updated -6171MIT License
- -securityAlicense-qualityProvides AI assistants with the ability to lint, validate, and auto-fix Markdown files to ensure compliance with established Markdown standards and best practices.Last updated -1MIT License
- AsecurityAlicenseAqualityEnables AI assistants to understand and navigate codebases through structural analysis. Provides code mapping, symbol search, and impact analysis using ast-grep for accurate parsing of Python, JavaScript, TypeScript, and Go projects.Last updated -330MIT License