# LocalKeep MCP server

> Provides a local, chronological memory layer that allows AI clients to query and recall user-curated, dated memory banks via MCP.

- Repository: https://github.com/zuneracodes/localkeep
- Page: https://hostedmcp.org/servers/zuneracodes/localkeep
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 0.1.3

## Install

### Claude Code

```sh
claude mcp add localkeep -- uvx localkeep
```

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

```json
{
  "mcpServers": {
    "localkeep": {
      "command": "uvx",
      "args": [
        "localkeep"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "localkeep": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "localkeep"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "localkeep": {
      "command": "uvx",
      "args": [
        "localkeep"
      ]
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.localkeep]
command = "uvx"
args = ["localkeep"]
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "localkeep": {
      "command": "uvx",
      "args": [
        "localkeep"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `LOCALKEEP_DATA_DIR` | no | no | Optional directory for the SQLite DB (default: ~/.localkeep) |
| `LOCALKEEP_DB_PATH` | no | no | Optional full path to localkeep.db |
| `LOCALKEEP_HUB_RELOAD` | no | no |  |

## FAQ

### Does LocalKeep send my entire database to Anthropic?

No, only the specific text fragments retrieved during a tool lookup are sent to the model during a session.

### How do I make Claude use LocalKeep reliably?

You must paste specific instructions into Claude Desktop's Personal preferences and restart the application.
