MCPVault

get_metrics

MCP tool from PhpCodeArcheology by PhpCodeArcheology

Detailed metrics for a specific class, file, or function

How to use it

get_metrics is exposed by the PhpCodeArcheology MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_metrics tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install PhpCodeArcheology

$docker run --rm -v "$(pwd)":/project -v "$(pwd)/report":/output phpcodearcheology /project
FULL PHPCODEARCHEOLOGY LISTING