
Midas
A memory layer for AI agents that runs entirely offline and skips the usual LLM-based fact extraction step. Instead of sending every conversation turn through an API to summarize it, Midas uses local embeddings to decide what matters, retrieve relevant context by meaning, and trace every recalled memory back to its source turn. The MCP server exposes tools for storing facts, querying by semantic similarity, and managing belief revision without per-message API costs. Designed for long-running coding agents and assistants where you want durable memory across sessions but don't want to pay for or trust a third party to process your entire conversation history. Everything lives in a local SQLite file with a local embedding model, so there's no network dependency after the initial model download.
- GitHub stars
- 6
- tools
- 2
- transport
- STDIO
- env vars
- 4
- last updated
- Jun 7, 2026
Tools
2 toolsPublic tool metadata for what this MCP can expose to an agent.
memory_stateReturns the live, non-superseded decisions, constraints, and facts.
Returns the live, non-superseded decisions, constraints, and facts.
No parameter schema in public metadata yet.
memory_diffLists beliefs added since a prior point and beliefs revised from old to new.
Lists beliefs added since a prior point and beliefs revised from old to new.
No parameter schema in public metadata yet.
Sponsors
Configuration
MIDAS_MCP_DBPath to a SQLite file to persist memory across restarts (default: in-memory)
MIDAS_MCP_EMBEDDERdefault: localEmbedding backend: 'local' (bge ONNX, offline) or 'hashing' (default: local)
MIDAS_MCP_MAX_RECORDSCap the store; above it the lowest-value memories are auto-forgotten (no LLM)
MIDAS_MCP_MIN_IMPORTANCEdefault: 2Relevance floor 1-5 for auto-capture; turns scoring below it are skipped
Readme
Midas
The local memory layer for long-horizon AI agents — remembers across sessions, keeps what's current, and won't act on stale memory.
No LLM at ingest · $0 per message · fully local · every recall traces to its source.
Details
- Repository
- github.com/vornicx/midas
- Category
- AI & LLM Tools
- Package
midas-memory-mcp- Transport
- STDIO
- Registry
- MCP registry, active