SegfaultSorcerer/heap-seance
MCP server that channels JVM forensics into structured leak verdicts — for Claude Code.
Platform-specific configuration:
{
"mcpServers": {
"heap-seance": {
"command": "npx",
"args": [
"-y",
"heap-seance"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<p align="center"> </p>
<h1 align="center">Heap Seance</h1>
<p align="center"> <em>Summoning retained objects from the heap — so you can interrogate what refuses to die.</em> </p>
<p align="center"> <a href="LICENSE-MIT"></a> <a href="LICENSE-APACHE"></a> </p>
<p align="center"> An MCP server + CLI toolkit that channels the spirits of <code>jcmd</code>, <code>jmap</code>, <code>jstat</code>, <code>jfr</code>, Eclipse MAT, and async-profiler into a structured leak investigation workflow — designed to run inside <a href="https://docs.anthropic.com/en/docs/claude-code">Claude Code</a>. </p>
<p align="center"> 2 slash commands. 8 MCP tools. Conservative by default. </p>
---
<p align="center"> <a href="#how-it-works">How It Works</a> • <a href="#quick-start">Quick Start</a> • <a href="#mcp-tools">MCP Tools</a> • <a href="#investigation-workflow">Workflow</a> • <a href="#prerequisites">Prerequisites</a> • <a href="#contributing">Contributing</a> </p>
---
Heap Seance follows a two-stage escalation model. No deep forensics unless the evidence demands it.
/leak-scan /leak-deep
| |
v v
3x class histogram (all of scan, plus)
+ GC pressure snapshot JFR recording
| heap dump
v Loading reviews...