marm-memory

Lyellr88/marm-memory
★ 307 stars Python AI/LLM Updated 3d ago ✗ Risk
Self-hosted, local-first MCP memory server for AI agents. Sub-20ms recall at 10k memories, hybrid semantic + exact-syntax search (RAG), code & concept knowledge graphs (158 languages). All local in SQLite: no cloud, no vector DB, no API keys. Works with Claude Code, Codex, Cursor, Gemini & any MCP client.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "marm-memory": {
      "command": "uvx",
      "args": [
        "marm-memory"
      ]
    }
  }
}

Or install with pip: pip install marm-memory

README Excerpt

<div align="center"> <picture> <img src="https://raw.githubusercontent.com/Lyellr88/marm-memory/MARM-main/assets/marm-logo.png" alt="marm-memory - persistent local memory server for AI agents (Model Context Protocol)" width="800" height="200"> </picture> <h1 align="center">MARM: Local-First Persistent Multi-Agent Memory Layer for MCP Clients v2.20.0</h1>

Tools (20)

COMPACTION_ENABLEDCOMPACTION_STAGING_TTL_HOURSCOMPACTION_TRIGGER_COUNTCONCEPT_BUILD_ROW_CAPCONSOLIDATION_ENABLEDCONSOLIDATION_THRESHOLDFTS_CANDIDATE_LIMITGRAPH_ENABLEDHYBRID_SEARCH_TEXT_WEIGHTMARM_API_KEYMARM_CONCEPT_DB_PATHMARM_DB_PATHMARM_RATE_LIMIT_RPMMARM_SIGNUP_PROMPT_ENABLEDRECALL_SCAN_LIMITSERVER_HOSTSERVER_PORTWRITE_QUEUE_ENABLEDmarm_code_lookupmarm_compaction

Topics

agent-memoryai-agentsai-memoryclaude-codecodex-clideveloper-toolsembeddingsindexing-engineknowledge-graphllmlocal-firstlong-term-memorymcpmcp-serversmodel-context-protocol