# LLMnesia

> LLMnesia is an MCP server. Search your AI chat history from Claude, Cursor, Codex, and other MCP clients. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **MCP Registry name:** com.llmnesia/mcp
- **Listing updated:** 2026-11-13

## About

Search your AI chat history from Claude, Cursor, Codex, and other MCP clients.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp -- npx -y @llmnesia/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@llmnesia/mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@llmnesia/mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@llmnesia/mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@llmnesia/mcp"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@llmnesia/mcp"
      ]
    }
  }
}
```

## FAQ

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

Run this command in your terminal: claude mcp add mcp -- npx -y @llmnesia/mcp

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