Memory Hive

v0.1.9
io.github.330899935/hive-memory Checked 2 days ago Published 1 month ago

Local-first memory over MCP.

Values you need

VariableWhat it is
HIVE_MODEoptional auto (default) asks the Hive app and falls back to the local store only when the app is unreachable; local never touches the network; remote refuses to fall back. Default: auto
HIVE_DBoptional Path to the local memory database. Defaults to ~/.memory-hive/hive.db. Only used when the local store answers. Default: ~/.memory-hive/hive.db
HIVE_AGENT_IDoptional Agent id issued by your own Hive app. Only needed for calls the app serves (HIVE_MODE=auto with the app running, or remote). Not required to use the local store.
HIVE_AGENT_TOKENoptional secret Access token issued by your own Hive app when the agent is registered. Only needed for calls the app serves.
HIVE_MCP_URLoptional Hive app MCP endpoint. Defaults to http://127.0.0.1:8768/mcp Default: http://127.0.0.1:8768/mcp

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add hive-memory -- uvx memory-hive-mcp==0.1.9
Add to claude_desktop_config.json
{
  "mcpServers": {
    "hive-memory": {
      "args": [
        "memory-hive-mcp==0.1.9"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "hive-memory": {
      "args": [
        "memory-hive-mcp==0.1.9"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "hive-memory": {
      "args": [
        "memory-hive-mcp==0.1.9"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.hive-memory]
command = "uvx"
args = ["memory-hive-mcp==0.1.9"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: recall, propose, manage, get_context, say, board.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json