If you're debugging minified JavaScript in production, this server maps error stack traces back to their original source using source maps. It exposes three main tools: parse_stack for translating line and column numbers from compiled code to source files with context, lookup_context for inspecting specific positions, and unpack_sources for extracting all original files from a map. You point it at a source map URL along with line and column numbers from an error stack, and it returns the original file path plus surrounding lines of code. The parser runs in WebAssembly for speed and includes configurable context window size. Handles both single traces and batch operations. Works over stdio transport with npx or as an embeddable npm package if you're building your own MCP server.
claude mcp add --transport stdio masonchow-source-map-parser-mcp uvx source-map-parser-mcp