Memory Detective

iOS memory leak detection and performance profiling via MCP — analyzes memgraph cycles, .trace files, and SourceKit-LSP for fix su

carloshpdoc 13 ↓ 695
Claude CodeClaude DesktopGeneric
View source ↗

Memory Detective is an MCP server for diagnosing iOS memory leaks and performance issues in AI-assisted development workflows. It analyzes .memgraph and .trace files captured by Xcode, classifying leaks against 34 known antipatterns across SwiftUI, Combine, Concurrency, and UIKit. Provides fix suggestions with Swift code templates, before/after snapshot comparison to verify fixes, and SourceKit-LSP bridging for precise file and line locations. Converts 50–500 MB binary memgraphs into 2–5 KB structured summaries for efficient AI reasoning.

Source

Repository: https://github.com/carloshpdoc/memorydetective

Maintain Memory Detective?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Memory Detective on getagentictools](https://getagentictools.com/mcp/carloshpdoc-memorydetective?ref=badge)