# Hippo MCP server

> Provides long-term, local-first memory for coding agents to prevent repetitive mistakes and maintain context across different AI tools.

- Repository: https://github.com/kitfunso/hippo-memory
- Page: https://hostedmcp.org/servers/kitfunso/hippo-memory
- Transport: stdio
- Stars: 792
- License: MIT

## Install

### Claude Code

```sh
claude mcp add hippo-memory -- npx -y hippo-memory
```

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

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

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

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

### VS Code CLI

```sh
code --add-mcp '{"name":"hippo-memory","type":"stdio","command":"npx","args":["-y","hippo-memory"]}'
```

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

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

### Codex

```sh
codex mcp add hippo-memory -- npx -y hippo-memory
```

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

```toml
[mcp_servers.hippo-memory]
command = "npx"
args = ["-y", "hippo-memory"]
```

### Gemini CLI

```sh
gemini mcp add -s user hippo-memory npx -- -y hippo-memory
```

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

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

## FAQ

### What tools does Hippo work with?

Hippo works with Claude Code, Codex, Cursor, OpenClaw, OpenCode, Pi, and any MCP client.

### How is the memory stored?

Memories are kept in a local SQLite store on your machine, accompanied by markdown mirrors that are human-readable and git-trackable.

### Does Hippo require a network connection for search?

No, search uses BM25 out of the box with no model or network calls required; embeddings are an optional installation.

### How can I prevent an agent from repeating a mistake?

You can mark a memory as wrong to lower its rank, or use the 'hippo supersede' command to remove an old fact from recall.
