📦
component-analyzer
Discover and map React components across your codebase to clarify architecture. Identify refactor hotspots and complex components to prioritize improvements. Inspect props, hooks, structure, and relationships to guide safer refactors.
0 installs
Trust: 34 — Low
Science
Ask AI about component-analyzer
Powered by Claude · Grounded in docs
I know everything about component-analyzer. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
Component Archaeologist
Static analysis tool for React (JS/TS) projects that helps you understand and refactor your component architecture.
It:
- Finds React components across your project (JS, JSX, TS, TSX)
- Classifies them into page / shared / unknown
- Shows LOC, hooks, children, structure line ranges
- Highlights refactor hotspots (large / complex components)
- Exposes everything as:
- a CLI tool
- an MCP server (via Smithery) usable from Cursor / other MCP clients
Installation
Requirements:
- Node.js 18+
- npm
Clone and install:
git clone <your-repo-url> component-archaeologist
cd component-archaeologist
npm install
Local run:
npx @smithery/cli@latest dev src/mcp/server.ts
