About PhpCodeArcheology/PhpCodeArcheology
PhpCodeArcheology/PhpCodeArcheology is an MCP server published by PhpCodeArcheology in the RAG category: pHP static analysis MCP server for architecture and maintainability. 11 tools exposing 60+ code quality metrics, problem detection, refactoring priorities, dependency graphs, git hotspots, test coverage, and impact analysis. Installable via Composer. Conduid read 11 tools from its source: get_class_list, get_dependencies, get_graph, get_health_score, get_hotspots, get_impact_analysis and 5 more. No package is published for it, so it installs from a source checkout.
The repository has 94 stars and 9 forks, and its last commit was on 24 Oct 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include architecture, ast, code-analysis, code-metrics, code-quality and complexity.
Install
git clone https://github.com/PhpCodeArcheology/PhpCodeArcheologyTools (11)
get_class_listAll classes with key metrics, sortable and filterableget_dependenciesClass dependency analysis (incoming/outgoing)get_graphKnowledge graph as JSON (nodes, edges, cycles)get_health_scoreOverall code health score, grade, and project statisticsget_hotspotsGit hotspots ranked by churn × complexityget_impact_analysisImpact analysis: what breaks if you change a method? Shows callers and call chainsget_metricsDetailed metrics for a specific class, file, or functionget_problemsCode quality problems, filterable by severity and typeget_refactoring_prioritiesRanked refactoring candidates with recommendationsget_test_coverageTest coverage summary — tested/untested classes, coverage gaps, test mappingsearch_codeSearch entities by name with metric overviewSecurity checks
- ✓README presentThe repository's README runs to about 3.3K words.
5 checks have not been run yet.
README
The repository's README runs to about 3.3K words. The original in the repository is authoritative.
Read full README