marm-memory

Lyellr88/marm-memory
★ 307 stars Python AI/LLM Updated 4mo 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 → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The marm-memory Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and 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. . By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the AI/LLM domain.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Route this complex analysis task to the connected model and return a structured JSON report."
"Compare the reasoning outputs between two connected models and highlight any discrepancies."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

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

Or install with pip: pip install marm-memory

⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,500+ Ecosystem Dataset ($29) or the Production Starter Kit ($39) with turnkey Python & TypeScript boilerplates.
For Server Authors
Feature This Server
Top homepage & category placement.
Sponsor ($49/wk) →

🛡️ Protodex Verified Badge

Are you the author of marm-memory? Add this badge to your GitHub README for social proof and backlink verification.

Protodex Verified
[![Protodex Verified](https://img.shields.io/badge/Protodex-Verified_MCP-2DD9E0?style=flat-square&logo=github)](https://protodex.io/servers/lyellr88-marm-memory.html)

README Documentation

<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>

View Full Documentation & Updates on GitHub ↗

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
📊
Building AI Agents or Backtesting Quant Models?
Get the Polymarket Historical Dataset — 23.0M+ 15-minute price & orderbook snapshots across 18,400+ prediction markets. Clean CSV & SQLite download for backtesting & agent training.
Buy Dataset ($19) → View Sample →