Midas

v1.1.1
io.github.vornicx/midas Checked 1 hour ago Published 6 days ago

Local-first, source-traceable agent memory with offline capture and recall

Values you need

VariableWhat it is
MIDAS_MCP_DBoptional SQLite database path (default: ~/.midas/memory.sqlite3)
MIDAS_MCP_EMBEDDERoptional Embedding backend: 'local' (bge ONNX, offline) or 'hashing' (default: local) Default: local
MIDAS_MCP_MAX_RECORDSoptional Cap the store; above it the lowest-value memories are auto-forgotten (no LLM)
MIDAS_MCP_MIN_IMPORTANCEoptional Relevance floor 1-5 for auto-capture; turns scoring below it are skipped Default: 2

PyPI (uvx) verified

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add midas -- uvx midas-memory-mcp==0.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "midas": {
      "args": [
        "midas-memory-mcp==0.0.1"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "midas": {
      "args": [
        "midas-memory-mcp==0.0.1"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "midas": {
      "args": [
        "midas-memory-mcp==0.0.1"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.midas]
command = "uvx"
args = ["midas-memory-mcp==0.0.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: remember, capture, remember_code, recall, inspect_memory, build_context, memory_state, memory_diff, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json