drake-memory

amosdavis/drake-memory
★ 0 stars Rust 🗄️ Database Updated today
Local AI memory agent in Rust backed by PostgreSQL — MCP server for GitHub Copilot CLI
View on GitHub →

Quick Install

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

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "drake-memory": {
      "command": "cargo",
      "args": [
        "run",
        "--",
        "drake-memory"
      ]
    }
  }
}

README Excerpt

A local-first AI memory agent written in Rust. Provides BM25 + vector hybrid search, a temporal knowledge graph, episodic/semantic memory layers, persona isolation, privacy-preserving tombstoning, and an HTTP API. - **Hybrid search** — BM25 (0.5) + cosine vector (0.4) × Ebbinghaus decay - **Temporal knowledge graph** — entities, time-bounded relations, point-in-time queries

Tools (14)

DM_DATABASE_URLDM_DBDM_DB_ACQUIRE_TIMEOUT_SECSDM_DB_POOL_SIZEDM_EMBEDDING_MODELDM_FOLDER_CONCURRENCYDM_FORCE_SCHEMADM_KG_MODELDM_LLM_BACKENDDM_LLM_ENDPOINTDM_LLM_TIMEOUT_SECSDM_PLAIN_DIR_CONCURRENCYDM_REPO_CONCURRENCYDM_UPSERT_CONCURRENCY