Back to MCP Servers

PhpCodeArcheology

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.

developer-toolsairag

Installation

npx -y PhpCodeArcheology

Configuration

{
  "mcpServers": {
    "PhpCodeArcheology": {
      "command": "npx",
      "args": ["-y", "PhpCodeArcheology"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub