MCP.Market

V8 Cpu Profile Decoder MCP server

by vola-trebla·io.github.vola-trebla/v8-cpu-profile-decoder-mcp·v0.3.0

MCP server that decodes V8 CPU profiles into token-efficient bottleneck summaries for AI agents

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
New

0 stars39 downloads/wk

Reviews

Write one

Nobody has reviewed V8 Cpu Profile Decoder yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

V8 Cpu Profile Decoder tools (6)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • analyze_async_bottlenecks

    Detects event-loop overhead in a V8 CPU profile by identifying V8 internal frames

  • analyze_call_tree_path

    Finds all callers of a specific function in a V8 CPU profile and returns how often each caller invoked it.

  • analyze_gc_pressure

    Analyses a V8 .cpuprofile for garbage collection overhead.

  • correlate_source_code

    Maps the hottest functions in a V8 CPU profile back to their original TypeScript source locations

  • diff_profiles

    Compares two V8 .cpuprofile files (before and after an optimization) and returns per-function

  • extract_hottest_functions

    Parses a V8 .cpuprofile file and returns the top N functions ranked by exclusive CPU time (self time).

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan9 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 131 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How V8 Cpu Profile Decoder compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 63% of 48,273 servers
Tools
6
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
39
more than 31% of 11,915 servers with a package

What its tools let an agent do: 6 read

Install V8 Cpu Profile Decoder in Claude Code, Cursor or VS Code

Runs npx -y v8-cpu-profile-decoder-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add v8-cpu-profile-decoder-mcp -- npx -y v8-cpu-profile-decoder-mcp
Add to Cursor

What the publisher says

From the V8 Cpu Profile Decoder repository's README, as published. We do not edit it. Read it on GitHub

v8-cpu-profile-decoder-mcp 🐸⚡

An MCP server that decodes V8 CPU profiles into token-efficient bottleneck summaries for AI agents.

Your Node.js app is slow. You ran --cpu-prof. Now you have a 20MB .cpuprofile file — and your AI agent is completely blind to it.

🤔 The Problem

V8 CPU profiles are massive. A typical .cpuprofile from a production Node.js app is 5–50MB of raw JSON — millions of lines mapping memory addresses, tick counts, and microsecond execution sequences. It looks like this:

{
  "nodes": [
    { "id": 1482, "callFrame": { "functionName": "processRequest", "url": "file:///app/dist/server.js", "lineNumber": 847 }, "hitCount": 3241, "children": [1483, 1490] },
    ...
  ],
  "samples": [1482, 1483, 1482, 1490, 1482, ...],
  "timeDeltas": [120, 98, 115, 102, ...]
}

An AI agent attempting to read this file instantly collapses its context window and fails. Even if it could read it, it can't run the aggregation algorithms needed to compute inclusive/exclusive CPU times across the call tree.

So when you ask your agent:

  • 🙈 "Which function is consuming the most CPU?"
  • 🙈 "What's calling my slow database query?"
  • 🙈 "Which TypeScript file is the bottleneck actually coming from?"

...it's guessing. It has no access to the profiling data.

v8-cpu-profile-decoder-mcp fixes that. It decodes the profile locally and hands the agent a 10-line semantic summary instead of a 50MB file.

🛠️ Tools

extracthottestfunctions

Parses the .cpuprofile and returns the top N functions ranked by exclusive CPU time (self time). Filters out V8 internals and Node.js built-ins — only user code.

{
  "profile_path": "/app/profiles/CPU.20260516.cpuprofile",
  "top_n": 5,
  "min_self_percent": 1.0
}
[
  {
    "rank": 1,
    "functionName": "hashPassword",
    "url": "file:///app/dist/auth/crypto.js",
    "lineNumber": 42,
    "selfTimeMs": 1842.5,
    "totalTimeMs": 1842.5,
    "selfPercent": 61.32,
    "totalPercent": 61.32,
    "hitCount": 3241
  },
  {
    "rank": 2,
    "functionName": "parseJsonBody",
    "url": "file:///app/dist/middleware/body.js",
    "lineNumber": 18,
    "selfTimeMs": 412.1,
    "totalTimeMs": 412.1,
    "selfPercent": 13.71,
    "totalPercent": 13.71,
    "hitCount": 724
  }
]

analyzecalltree_path

Finds all callers of a specific function and shows how often each one invoked it. Accepts partial, case-insensitive function name matching.

{
  "profile_path": "/app/profiles/CPU.20260516.cpuprofile",
  "function_name": "hashPassword",
  "top_callers": 3
}
{
  "targetFunction": "hashPassword",
  "matchedNodes": 2,
  "totalSelfTimeMs": 1842.5,
  "totalPercent": 61.32,
  "callers": [
    {
      "functionName": "loginHandler",
      "url": "file:///app/dist/routes/auth.js",
      "lineNumber": 94,
      "callCount": 2180,
      "selfTimeMs": 240.1
    },
    {
      "functionName": "validateSession",
      "url": "file:///app/dist/middleware/auth.js",
      "lineNumber": 31,
      "callCount": 1061,
      "selfTimeMs": 116.8
    }
  ]
}

correlatesourcecode

Maps compiled JS bottlenecks back to their original TypeScript source locations using .js.map files. Falls back gracefully to compiled JS locations if no source map is found.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

V8 Cpu Profile Decoder: common questions

Is V8 Cpu Profile Decoder MCP server safe?
Mostly: it is graded B (82/100). Read the V8 Cpu Profile Decoder safety report
How do I install V8 Cpu Profile Decoder?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does V8 Cpu Profile Decoder need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is V8 Cpu Profile Decoder maintained?
The last commit was 167 days ago (2026-05-19). The latest release is v0.3.0.
How does V8 Cpu Profile Decoder compare with other MCP servers?
safety score 82/100 (higher than 63% of 48,273 servers); tools 6 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

More from vola-trebla →