PhpCodeArcheology by PhpCodeArcheology
47 score
PHP static analysis MCP server with 11 tools for querying 60+ code quality metrics, detecting problems (God Class, dependency cycles, SOLID violations), analyzing dependencies, identifying refactoring priorities, and mapping test coverage — all from live analysis data.
Ranked #1994 out of 7754 indexed tools.Actively maintained with commits in the last week.
Is this your tool? Claim this listing to add maintainer context, get a verified badge, and unlock analytics.
Claim listing → Signal Breakdown
Installs 1
Freshness 1d ago
Issue Health 100%
Stars 46
Platform Breadth 1 platform
Contributors 3
Description Detailed
How to Improve
Stars low impact
Platforms medium impact
Supported Platforms
From the README
# PhpCodeArcheology **PhpCodeArcheology** is a PHP static analysis tool that measures code quality through 60+ metrics including cyclomatic complexity, maintainability index, coupling, and cohesion. It generates comprehensive reports for files, classes, methods, and functions — detecting code smells, identifying hotspots via git churn analysis, and tracking quality trends over time. Unlike PHPStan or Psalm (which focus on type safety and bug detection), PhpCodeArcheology focuses on **architecture and maintainability** — giving you the insights you need to understand and improve your codebase structure. Think of it as an alternative to PHPMetrics with deeper git integration, baseline management, and AI-ready output. ## AI Integration (MCP Server) PhpCodeArcheology is the **first PHP static analysis tool with native MCP (Model Context Protocol) support** — meaning AI assistants like Claude can query your codebase analysis results directly, without reading files or parsing JSON manualRead full README on GitHub →