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.1.tar.gz (41.4 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.1-py3-none-any.whl (48.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: memra_local-0.3.1.tar.gz
  • Upload date:
  • Size: 41.4 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.1.tar.gz
Algorithm Hash digest
SHA256 bc025b6622e5d3fe77b31d32a4de6d341863d8cb4612c09ee8c9923fc250dfdb
MD5 08b749a6abdc5772e494b39e020c0b6b
BLAKE2b-256 1e279716f1f9513da5cfa5f6e9cf9a152b6512ade589519889c372ec8e3cc48c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: memra_local-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 48.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 038a191ee66558866eddd7ef37f35ecbcb2194f9058f5dea14b4f058d7b17d22
MD5 630fecc13a514d5131c347b285e49b40
BLAKE2b-256 65a0259b94b14bd759d70c64b88a000f2232857f4268a2e34ac71608adc618d1

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