
Memorylens Mcp
Wraps JetBrains dotMemory CLI with a heuristic rule engine to surface concrete memory issues in .NET applications. You get tools to capture snapshots, compare before/after memory states, and run 10 built-in rules that flag event handler leaks, undisposed IDisposables, LOH fragmentation, and closure retention issues. Automatically downloads the dotMemory CLI on first use for Windows, Linux, and macOS, or falls back to DOTMEMORY_PATH if you're on an unsupported platform. Findings come back with severity levels and AI-actionable suggestions. Reach for this when you suspect a leak or memory bloat in a running .NET process and want Claude to interpret profiler output without manually digging through dotMemory workspaces.
- GitHub stars
- 11
- tools
- 5
- transport
- STDIO
- last updated
- Oct 31, 2026
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
list_processesLists running .NET processes available for profiling, discovered from their diagnostic IPC endpoints
Lists running .NET processes available for profiling, discovered from their diagnostic IPC endpoints
No parameter schema in public metadata yet.
snapshotCaptures a single memory snapshot of a target process
Captures a single memory snapshot of a target process
No parameter schema in public metadata yet.
compare_snapshotsCaptures two snapshots with configurable delay and compares them
Captures two snapshots with configurable delay and compares them
No parameter schema in public metadata yet.
analyzeRuns the rule engine against a captured snapshot and returns findings
Runs the rule engine against a captured snapshot and returns findings
No parameter schema in public metadata yet.
get_rulesLists all available analysis rules with their metadata
Lists all available analysis rules with their metadata
No parameter schema in public metadata yet.
Sponsors
Readme
Details
- Repository
- github.com/marcelroozekrans/memorylens-mcp
- Category
- AI & LLM Tools
- Package
memorylens-mcp- Transport
- STDIO
- Registry
- MCP registry, active