Brings Eclipse Memory Analyzer Tool into your AI workflow through a headless server that wraps MAT's command-line interface. You get 56 built-in analysis commands covering dominator trees, GC root paths, leak detection, thread inspection, and collection fill ratios. The OQL query tool lets you write object queries directly, while predefined reports handle leak suspects and system overviews. Environment variables control heap size, timeouts, and workspace paths. Install via npx or build from source, point MAT_HOME at your Eclipse MAT installation, and you can analyze Java heap dumps without opening the GUI. Handy when you're debugging memory issues in chat and want programmatic access to histogram data, retained sets, or finalizer queues.
claude mcp add --transport stdio codelipenghui-mcp-mat uvx mcp-mat