MCP Server
by @memlab
Lets AI coding assistants inspect JavaScript heap snapshots, trace retained objects, and investigate memory leaks with MemLab.
Install MCP Server
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"memlab-mcp-server": {
"command": "npx",
"args": [
"-y",
"-p",
"@memlab/mcp-server",
"memlab-mcp"
],
"env": {
"NODE_OPTIONS": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Analyze a .heapsnapshot file for retained objects
- Trace the references keeping a suspected leak alive
- Investigate memory growth after a browser interaction
- Find leaks in a Puppeteer-based web scenario
- Add memory leak checks to tests and CI
Key features
- MCP access to MemLab heap analysis
- Heap snapshot loading and investigation
- Retainer trace inspection
- Browser memory leak detection
- Support for Chromium, Node.js, Electron, and Hermes snapshots
- MemLab agent skills for leak testing and snapshot capture
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 1h ago via OSV.dev · @memlab/mcp-server (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How MCP Server works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about MCP Server
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/memlab-mcp-server)<a href="https://allmcps.com/mcp/memlab-mcp-server"><img src="https://allmcps.com/api/badge/memlab-mcp-server?style=directory" alt="MCP Server on AllMCPs" /></a>