Skip to content
BEAD

Source Map Decoder

Map bundled positions (file:line:col) back to original source files using a .map file.

Source map (.map JSON)
Bundled positionOriginal sourceLine:ColSymbol
bundle.js:12:345Not found in this map.
bundle.js:1:10500src/app.ts1:22
chunk-XYZ.js:42:6Not found in this map.
</>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/source-map-decoder/run \
  -H "Content-Type: application/json" \
  -d '{
  "map": "a",
  "positions": []
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/source-map-decoder/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "map": "a",
  "positions": []
}),
});
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_source_map_decoder

Full reference: developer docs · OpenAPI spec

Inputs

  • The .map file (paste it or load it)
  • One or more bundled-file positions like bundle.js:12:345

Output

The original source path, line, column, and (when present) the symbol name — the form you actually want to read.

Privacy

All decoding runs in your browser. The map and positions never leave the page.

You might also like

Used in these workflows