Skip to main content

memory-hive-mcp

Local-first personal memory for your AI agents — an MCP stdio bridge to the Hive running on your own machine.

memory-hive-mcp is a thin Model Context Protocol bridge. It lets any MCP-capable host (Claude Desktop, Cursor, and friends) read and write your memory — stored on your computer, by your Hive, and never uploaded anywhere.

This package contains no memory engine. It only relays MCP protocol traffic to the Hive app already running on your machine (127.0.0.1:8768). Your data never passes through this bridge as stored state, and nothing leaves your computer.

Install

pip install memory-hive-mcp

Requires Python 3.8+. No third-party dependencies.

This installs the command memory-hive-mcp. (Note: an unrelated project also owns the plain hive-mcp name on PyPI — that is not us.)

Prerequisite: a running Hive

memory-hive-mcp talks to the Hive on your own machine. Get it from the Mac App Store:

https://apps.apple.com/app/id6806992983

Then register an agent inside the Hive (POST /api/agent/register) to obtain an agent_id and access_token.

Configure your MCP host

Add the server to your host's MCP config. For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "hive-memory": {
      "command": "memory-hive-mcp",
      "env": {
        "HIVE_AGENT_ID": "your-agent-id",
        "HIVE_AGENT_TOKEN": "your-access-token"
      }
    }
  }
}

Environment variables

Name Required Description
HIVE_AGENT_ID yes Agent id issued by your own Hive.
HIVE_AGENT_TOKEN yes Access token issued when the agent was registered. Keep it secret.
HIVE_MCP_URL no Hive MCP endpoint. Defaults to http://127.0.0.1:8768/mcp.

Why a bridge, not a bundle

Your memory should have exactly one writer: the Hive on your machine. This bridge therefore speaks protocol and nothing else — no data files are opened, no state is cached, no engine is duplicated. That keeps your memory single-sourced, local, and under your control.

License

MIT

Metadata

Release files for memory-hive-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for memory-hive-mcp 0.1.0
File Size Uploaded
memory_hive_mcp-0.1.0.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for memory-hive-mcp 0.1.0
File Interpreter ABI Platform
memory_hive_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / memory_hive_mcp-0.1.0.tar.gz

Download URL memory_hive_mcp-0.1.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
090eb1bb7680dbe211d0b9d44d107178cb383beb804fd41673eba0297abeed04
BLAKE2b-256 checksum
How to use checksums
d5b4b9482355462569633be297c13068dd34a981f1ca9230f74adbcef2788680
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / memory_hive_mcp-0.1.0-py3-none-any.whl

Download URL memory_hive_mcp-0.1.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
471e4eda97ad7536560bc0b0ce03a158f7988c73923db7170592a0d908f43147
BLAKE2b-256 checksum
How to use checksums
5201684a79630528dfb50c8290f27795393a61c3d8aa24686118ee72e74bb39a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page