Local, zero-cost, source-traceable memory for long-horizon AI agents with typed belief revision and provenance-based safety.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by 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.
Your AI assistant forgets everything between sessions. Midas is the memory that lives next to it, on your machine. Your coding agent remembers the decisions, conventions, and bugs from three sessions ago โ without piping every message through an LLM to "extract" facts. It costs nothing per message, nothing leaves your computer, every memory traces back to the exact turn it came from, and it won't let an agent act on memory that's stale or never confirmed.
Install in your agent ยท See the benchmarks ยท Complete overview ยท Roadmap
Most memory tools call an LLM to summarize every session โ so you pay in tokens forever, add latency, ship every turn to a provider, and get back rewritten facts you can't audit. Midas makes the opposite bet, and that bet is what makes it cheap, private, and trustworthy:
Every Midas number below is measured and reproducible from this repo; the LLM-at-ingest column reflects the structural properties of that design class (Mem0, Zep, Hindsight) and the figures documented in BENCHMARKS.md.
| Midas | LLM-at-ingest systems (Mem0, Zep, Hindsight) | |
|---|---|---|
| LLM calls at ingest | 0 | โฅ1 per session |
| Cost per message | $0 | per-token API spend, forever |
| Data egress at ingest | None | every turn leaves the box |
| Ingest latency | ~16โ116 ms, local, embed-bound | ~668 ms + API round-trip |
| Recall returns | verbatim source turn, traceable | LLM-rewritten facts (source recall@k not computable) |
| Deterministic & reproducible | yes โ every number, one command | no |
| Works fully offline | yes (measured end-to-end with a local Ollama reader) | no |
LongMemEval-s judged answer (gpt-4o) | 0.84 | 0.84 โ Observational Memory, with LLM ingest |
| Whole-conversation aggregation / summarization | โ by design โ top-k retrieval can't cover it (documented) | โ their structural edge |
The last row is deliberate: Midas trades whole-conversation abilities for $0, privacy, and auditability, and publishes the measurements that show exactly where that trade bites.
Finding a buried fact is table stakes. A long-horizon coding agent needs memory it can act on safely and resume from cleanly โ which is where similarity search alone falls short:
| You askโฆ | Midas answers with | Why top-k recall can't |
|---|---|---|
| "Can I run this destructive migration?" | Guard: allowed only if you confirmed it, and only if that confirmation is still current | provenance + currency aren't a similarity match |
| "What's the current state of project Apollo?" | memory_state: the live, non-superseded decisions / constraints / facts | a broad "current state" query matches no single turn |
| "What changed since our last session?" | memory_diff: beliefs added, and beliefs revised (old โ new) | "what's new" isn't a content query at all |
| "How do I speed up the transactions list?" | the prior fix resurfaces, so the agent doesn't re-diagnose it | โ |
These properties are measured, not asserted โ the agent-memory bench suite scores action-safety, decision-adherence, repeated-mistake avoidance, resume fidelity, conflict detection/precision (live contradictions between agents found without over-flagging), and adversarial memory-safety across scripted multi-session projects. The safety eval blocks 10 / 10 adversarial attacks (ASR 0.00) โ including a planted confirmation next to a prohibition, a confirmation for a different action, a provenance-laundering supersession, and a cross-namespace approval โ with no over-blocking (benign-pass 1.00). Deterministic, $0, no LLM. Reproduce every number with one command:
Deterministic, reader-independent retrieval (recall@k โ fraction of the gold supporting turns
pulled into context) on the full public sets, vs a recency-window baseline:
| Benchmark (full set) | baseline | Midas |
|---|---|---|
LongMemEval-s โ 500 questions, 246,750 turns | 0.01 | 0.92 |
| LoCoMo โ 10 conversations, n=1,540 | 0.05 | 0.73 |
| BEAM โ frontier benchmark, 100K โ 10M tokens | 0.00 | 0.56 โ 0.32 |
And the cross-system metric, judged answer-rate (same gpt-4o judge the leaderboards use):
| Judged answer | baseline | Midas |
|---|---|---|
LongMemEval-s (gpt-4o reader, ties LLM-ingest SOTA at $0 ingest) | โ | 0.84 |
| BEAM-100K (gpt-4o judge, raw-turn floor, $0 ingest) | 0.05 | 0.40 |
All of it at 0 LLM calls, $0, and 0 data egress at ingest. Full numbers, per-category breakdowns, reproduce commands, and the head-to-head vs Mem0/Zep/Mastra are in BENCHMARKS.md.
Eval-first means we publish the misses too. Hybrid retrieval, reranking, thread-diversification, dual-granularity indexing, and naive distillation were all measured to not help (or to hurt) and are documented as such. That honesty is the point โ see BENCHMARKS.md and
docs/frontier-2026.md.
One command wires up everything:
Both take --json to emit a machine-readable client wiring receipt โ which memory each client got
wired to, under which scope/policy, and which clients were skipped (config paths only, never memory
contents). Paste it into a bug report, or let another agent verify the setup without scraping prose.
midas init creates one shared memory (~/.midas/memory.sqlite3) and points the MCP clients it
detects โ Claude Code, Codex, Grok Build, Cursor, Claude Desktop, Windsurf, VS Code, Gemini CLI,
Cline, Zed โ at it. So all your agents read and write the same memory, autonomously, with no
per-client paths to keep in sync.
Prefer a single endpoint over per-client launches? Run one server and give your clients an MCP URL:
Keep Midas current with midas update. See your memory anytime with midas inspect.
Already carrying agent memory in files? midas import --from claude-md CLAUDE.md (or
--from cursorrules, --from jsonl, --from mem0, --from zep) turns those rules and exports into
first-class, recallable, governable memories โ tagged with where they came from, idempotent on re-run.
Want memory even when the agent never calls capture? midas init --claude-hook installs a
Claude Code SessionEnd hook that offers each session's user turns to memory โ Midas's no-LLM policy
still decides what is actually kept.
Midas is a standard MCP server: point any client at the midas-mcp command. It uses the shared store
by default โ no path needed. The universal block:
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/vornicx-midas)<a href="https://allmcps.com/mcp/vornicx-midas"><img src="https://allmcps.com/api/badge/vornicx-midas?style=directory" alt="Midas on AllMCPs" /></a>