Skip to content
BEAD

JS / Node Stack Trace Parser

Parse V8 and Firefox stack traces into structured frames — function, file, line, column.

Error
TypeError: Cannot read properties of undefined (reading 'foo')
Frames (6 / 6)
#FunctionFileLine:Col
0Object.handler/app/src/server.ts42:18
1Layer.handle [as handle_request]/app/node_modules/express/lib/router/layer.js95:5
2next/app/node_modules/express/lib/router/route.js144:13
3(anonymous)/app/src/middleware.ts17:9
4process.processTicksAndRejectionsnode:internal/process/task_queues95:5
5Server.startasync/app/src/index.ts8:3
</>Use this tool programmaticallycurl · JavaScript · MCP

Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.

curl
curl https://api.b-e-a-d.com/tools/js-stack-parser/run \
  -H "Content-Type: application/json" \
  -d '{
  "stack": "a",
  "hideThirdParty": false
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/js-stack-parser/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "stack": "a",
  "hideThirdParty": false
}),
});
const data = await res.json();
console.log(data.result);
MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
  "mcpServers": {
    "bead": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
    }
  }
}

# Then ask Claude to call:
mcp__bead__bead_js_stack_parser

Full reference: developer docs · OpenAPI spec

Formats handled

  • V8: at Class.method (file:line:col)
  • V8 anonymous: at file:line:col
  • V8 eval / async / Promise: prefix stripped, location kept
  • Firefox / SpiderMonkey: name@file:line:col

You might also like

Used in these workflows