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       # verify server + list namespaces
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-0.3.0.tar.gz (41.1 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-0.3.0-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for memra_local-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f02b6d445663813fb76cd3d5565434814b1c39b631ff997c9bf4e935e876bb06
MD5 b9b4499429510a9c8c7cf5f9785dae0c
BLAKE2b-256 67a9a804c3e3457c64c8de21e614200c8e54c928a9f720a6dbc842575d3e3653

See more details on using hashes here.

File details

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

File metadata

  • Download URL: memra_local-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 48.4 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-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 533cf81ede2116ad4489ae21af2943b7c56f7318fedf4bfb42f972bd41ed8573
MD5 c6a73ab02280e0cdb5d63762d027cd6b
BLAKE2b-256 4171bb576b387df86c1fe8e955738abb2a3050d1778da86306a9baaf8dfe224b

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