# Memorydetective

> Memorydetective is an open-source MCP server. iOS leak/perf debugging via MCP: memgraph cycles, .trace analysis, SourceKit-LSP bridging. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/carloshpdoc/memorydetective
- **MCP Registry name:** io.github.carloshpdoc/memorydetective
- **Listing updated:** 2026-11-13

## About

iOS leak/perf debugging via MCP: memgraph cycles, .trace analysis, SourceKit-LSP bridging.

## Install

### Claude Code (Terminal)

```sh
claude mcp add memorydetective -- npx -y memorydetective
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "memorydetective": {
      "command": "npx",
      "args": [
        "-y",
        "memorydetective"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "memorydetective": {
      "command": "npx",
      "args": [
        "-y",
        "memorydetective"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "memorydetective": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memorydetective"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "memorydetective": {
      "command": "npx",
      "args": [
        "-y",
        "memorydetective"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "memorydetective": {
      "command": "npx",
      "args": [
        "-y",
        "memorydetective"
      ]
    }
  }
}
```

## FAQ

### Is Memorydetective free?

Yes. Memorydetective is open source, so you can use and self-host it for free.

### How do I add Memorydetective to Claude Code?

Run this command in your terminal: claude mcp add memorydetective -- npx -y memorydetective

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/memorydetective
