react-perf-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@react-perf-mcpreview performance of src/components/Cart.tsx"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
react-perf-mcp
An MCP server that runs parallel AI agents to analyze your React components for performance issues. Works in Claude Code, Cursor, or any MCP-compatible client.
How it works
Most code review tools send your code to a single LLM and ask for a general review. react-perf-mcp runs four specialized agents in parallel, each focused on a specific performance domain:
Agent | Analyzes |
RenderAgent | Unnecessary re-renders, inline objects/functions, missing |
MemoAgent | Incorrect |
BundleAgent | Heavy imports, missing |
ProfilerAgent | Cascading re-renders, missing virtualization, state co-location, |
All agents run in parallel and are aware of your project context (React version, bundler, Redux usage) and your team's custom rules via .react-perf.json.
Related MCP server: react-native-dev-mcp
Setup
npx react-perf-mcp initThe setup wizard will:
Ask for your Anthropic API key
Auto-detect Claude Desktop, Claude Code, and Cursor
Write the MCP server config to the right place
Manual config
Add to your MCP client config (e.g. ~/.claude/settings.json for Claude Code):
{
"mcpServers": {
"react-perf": {
"command": "npx",
"args": ["react-perf-mcp"],
"env": {
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}Usage
Once configured, talk to your MCP client naturally:
review the performance of src/components/Cart.tsxanalyze this component for re-render issues:
[paste code]Available tools
Tool | Description |
| Read a file from disk and analyze it |
| Analyze a code snippet directly |
Team config
Add a .react-perf.json to your project root to customize the agents' standards:
{
"rules": {
"memo": "always for list items and components receiving callbacks",
"bundleLimit": "200kb per chunk",
"lazyLoad": "required for routes and heavy third-party components"
}
}This is similar to .eslintrc — commit it so your whole team gets consistent suggestions.
Requirements
Node.js 18+
Anthropic API key (get one here)
Contributing
Issues and PRs welcome. Each agent lives in src/agents/ — adding a new one is straightforward.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceA comprehensive MCP server for frontend analysis. It provides Google Lighthouse audits, code quality checks, SEO metadata verification, accessibility analysis, and bundle optimization for React and Next.js projects.Last updated83
- AlicenseAqualityAmaintenanceMCP server that gives AI coding agents hands, eyes and a mechanic's ear for React Native development.Last updated9152MIT
- AlicenseBqualityDmaintenanceAn MCP server that scans React and Vue projects, extracts component metadata (props, slots, events, imports, usage), and exposes it to AI coding agents via structured tools.Last updated71MIT
- AlicenseAqualityBmaintenanceAn MCP server that captures and analyzes function-level profiling data from NetEase Minecraft Bedrock Edition mods via the native Tracy profiler, enabling AI to identify performance hotspots and verify optimizations.Last updated613MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
An MCP server for Arcjet - the runtime security platform that ships with your AI code.
SEO MCP server: crawl your site, find AI-visibility gaps, and ship the fix from your coding agent.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cma0232/react-perf-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server