Skip to main content

Local memory server for AI agents — offline, private, fast

Project description

memra-local

Local-first memory server for AI agents. Offline, private, fast.

memra-local gives your coding agent persistent memory that lives entirely on your machine — no account, no network, no data leaves the laptop. Works with Claude Code, Cursor, Zed, Droid, Hermes Agent, OpenClaw, and any MCP-compatible client.

When you're ready to sync across devices or share with a team, a single command pushes your local namespace to Memra Cloud. Same tools, same API, your choice.

Install

pip install memra-local
memra mcp          # start the MCP server

Requires Python 3.10+.

Wire it into your editor

Claude Code / Cursor

{
  "mcpServers": {
    "memra": {
      "command": "memra",
      "args": ["mcp"]
    }
  }
}

Zed

{
  "context_servers": {
    "memra": {
      "command": { "path": "memra", "args": ["mcp"] }
    }
  }
}

Droid (Factory.ai) / Hermes Agent / OpenClaw

See usememra.com/install for client-specific snippets.

What you get

  • Flat-file memory in ~/.memra/ — plain YAML, inspectable, greppable, diff-able
  • MCP server exposing memra_add, memra_recall, memra_get, memra_list, memra_supersede, memra_history, and more
  • Local embeddings via fastembed (ONNX all-MiniLM-L6-v2) — no OpenAI key, no PyTorch
  • Sync to cloud optional: memra sync enable <namespace> --api-key memra_live_...

Commands

memra mcp          # MCP server over stdio
memra status       # store health: scope, memory count, disk usage, sync
memra hooks install  # optional — auto-capture decisions/patterns as you work
memra --help       # full CLI reference

Docs + source

License

BUSL-1.1. Change Date 2030-04-17 — on that date the license auto-converts to Apache-2.0. Until then, personal and non-production use are unrestricted; commercial production use requires a separate license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

memra_local-4.5.0.tar.gz (44.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

memra_local-4.5.0-py3-none-any.whl (51.3 kB view details)

Uploaded Python 3

File details

Details for the file memra_local-4.5.0.tar.gz.

File metadata

  • Download URL: memra_local-4.5.0.tar.gz
  • Upload date:
  • Size: 44.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for memra_local-4.5.0.tar.gz
Algorithm Hash digest
SHA256 28fd5e9b071162655bd0bb889c193c4368e229a30a6a7df8939e38ebfa867425
MD5 589b6b56cabd1a77e0b85c9bb7bb096e
BLAKE2b-256 ea8e86da9a80fc43e6725a953bbfb221a61219397f2c3f8223bc22da02c1f44f

See more details on using hashes here.

File details

Details for the file memra_local-4.5.0-py3-none-any.whl.

File metadata

  • Download URL: memra_local-4.5.0-py3-none-any.whl
  • Upload date:
  • Size: 51.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for memra_local-4.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79786d0241d98cf201d3d2510d529bf2c462a20a6e244e75b7b8528a6db35cda
MD5 f8dc02e49cecef03e2909e4c69acbb89
BLAKE2b-256 970714572e3acf53db596b6a08520b8de3069cd8ae968596bdf0265c0e0dd3e7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page