# Souvikdu Perfonext Profiler MCP server

Source: https://glimind.com/server/mcp-registry%2Fio.github.souvikdu%2Fperfonext-profiler-mcp
Registry id: `mcp-registry/io.github.souvikdu/perfonext-profiler-mcp`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "souvikdu-perfonext-profiler-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@perfonext/profiler-mcp"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add souvikdu-perfonext-profiler-mcp-server -- npx -y @perfonext/profiler-mcp
```

## Tools (9)

- `compare_profiles`: Compare two profiles and highlight regressions
- `explain_function`: Explain a function's timing, callers, and callees. Pass includeSource: true to attach annotated source lines
- `get_hotspots`: Find top functions by self-time. Each entry includes a package field identifying the npm package or (user code)
- `get_package_costs`: Aggregate CPU self-time by npm package — shows which dependencies are most expensive
- `get_profile_summary`: Summarize one profile or list all loaded profiles
- `how_to_collect`: Return a ready-to-run command and step-by-step recipe for capturing a .cpuprofile, then loading it
- `load_profile`: Parse and load a .cpuprofile file or Chrome trace export from disk
- `read_source_context`: Read the actual source file for a hot function and annotate each line with tick counts from positionTicks
- `suggest_optimizations`: Generate structured, multi-pattern optimization suggestions for hot functions. Detects high fan-in, recursion, dominant callers, and V8-specific patterns

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
