ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Midas

โดย vornicxรุ่น 0.0.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.vornicx/midas

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Local-first, source-traceable agent memory — no LLM at ingest, fully offline

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: MIDAS_MCP_DB, MIDAS_MCP_EMBEDDER, MIDAS_MCP_MAX_RECORDS, MIDAS_MCP_MIN_IMPORTANCE

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "midas": {
      "command": "uvx",
      "args": [
        "midas-memory-mcp"
      ],
      "env": {
        "MIDAS_MCP_DB": "ใส่ค่าของคุณ",
        "MIDAS_MCP_EMBEDDER": "ใส่ค่าของคุณ",
        "MIDAS_MCP_MAX_RECORDS": "ใส่ค่าของคุณ",
        "MIDAS_MCP_MIN_IMPORTANCE": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add midas --env MIDAS_MCP_DB='ใส่ค่าของคุณ' --env MIDAS_MCP_EMBEDDER='ใส่ค่าของคุณ' --env MIDAS_MCP_MAX_RECORDS='ใส่ค่าของคุณ' --env MIDAS_MCP_MIN_IMPORTANCE='ใส่ค่าของคุณ' -- uvx midas-memory-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "midas": {
      "command": "uvx",
      "args": [
        "midas-memory-mcp"
      ],
      "env": {
        "MIDAS_MCP_DB": "ใส่ค่าของคุณ",
        "MIDAS_MCP_EMBEDDER": "ใส่ค่าของคุณ",
        "MIDAS_MCP_MAX_RECORDS": "ใส่ค่าของคุณ",
        "MIDAS_MCP_MIN_IMPORTANCE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "midas": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "midas-memory-mcp"
      ],
      "env": {
        "MIDAS_MCP_DB": "ใส่ค่าของคุณ",
        "MIDAS_MCP_EMBEDDER": "ใส่ค่าของคุณ",
        "MIDAS_MCP_MAX_RECORDS": "ใส่ค่าของคุณ",
        "MIDAS_MCP_MIN_IMPORTANCE": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • MIDAS_MCP_DB env
    Path to a SQLite file to persist memory across restarts (default: in-memory)
  • MIDAS_MCP_EMBEDDER env
    Embedding backend: 'local' (bge ONNX, offline) or 'hashing' (default: local)
  • MIDAS_MCP_MAX_RECORDS env
    Cap the store; above it the lowest-value memories are auto-forgotten (no LLM)
  • MIDAS_MCP_MIN_IMPORTANCE env
    Relevance floor 1-5 for auto-capture; turns scoring below it are skipped

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub vornicx ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7251 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 15% ของอีก 7251 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7251 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Midas ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.0.1) เข้า registry 5 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต วันนี้
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 20 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

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.

uv tool install "midas-memory[mcp,local]"   # install

midas init # create the shared memory + wire up your MCP clients

or, no Python: npx -y midas-memory-mcp # TypeScript port

or, as a library: pip install "midas-memory[local]"

uv tool upgrade midas-memory # Update Midas

Install in your agent · See the benchmarks · Complete overview · Roadmap


Why Midas

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:

  • $0 and private by construction. No LLM at ingest or query → no API spend, nothing leaves your machine, fast local ops (~tens of ms, no per-turn network round-trip).
  • You can trust what it recalls. Recall returns the verbatim source turn, not an LLM rewrite — so there's no extraction step that can silently hallucinate a "fact" you never said.
  • It stays current on its own. Typed belief revision supersedes the old value instead of piling up duplicates; selective forgetting keeps it bounded — all with no LLM.
  • It's safe to build on. A provenance guard lets memory inform planning but blocks memory-justified external or destructive actions unless you explicitly confirmed them — and a *superseded* memory can't authorize an action at all.
  • One file, many tools. Point Claude Code, Cursor, and your chat app at one SQLite file and they share one live memory.
  • Proven, not asserted. Every claim has a reproducible benchmark — *including the experiments that failed.*

How Midas compares

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.

MidasLLM-at-ingest systems (Mem0, Zep, Hindsight)
LLM calls at ingest0≥1 per session
Cost per message$0per-token API spend, forever
Data egress at ingestNoneevery turn leaves the box
Ingest latency~16–116 ms, local, embed-bound~668 ms + API round-trip
Recall returnsverbatim source turn, traceableLLM-rewritten facts (source recall@k not computable)
Deterministic & reproducibleyes — every number, one commandno
Works fully offlineyes (measured end-to-end with a local Ollama reader)no
LongMemEval-s judged answer (gpt-4o)0.840.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.

More than recall: a memory you can govern

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 withWhy 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 currentprovenance + currency aren't a similarity match
*"What's the current state of project Apollo?"*`memory_state`: the live, non-superseded decisions / constraints / factsa 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](docs/agent-memory-benches.md) 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:

uv run python -m eval.benches      # the whole governance suite — or `midas bench` from a checkout

How it does on the benchmarks

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)baselineMidas
LongMemEval-`s` — 500 questions, 246,750 turns0.010.92
LoCoMo — 10 conversations, n=1,5400.050.73
BEAM — frontier benchmark, 100K → 10M tokens0.000.56 → 0.32

And the cross-system metric, judged answer-rate (same gpt-4o judge the leaderboards use):

Judged answerbaselineMidas
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.050.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](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.


Connect it to your coding agent

One command wires up everything:

midas init        # creates the shared memory + configures every MCP client it finds

midas status # check what's wired · run midas init --dry-run to preview first

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:

midas serve --http        # → http://127.0.0.1:7077/mcp   (one server, one memory, every client shares it)

midas serve --http --token # require Authorization: Bearer on every request

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.

Manual setup — any client, or to customize (click to expand)

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:

{ "mcpServers": { "midas": { "command": "midas-mcp", "env": { "MIDAS_MCP_EMBEDDER": "local" } } } }
ClientWhere the config goes
Claude Codeclaude mcp add midas -s user -e MIDAS_MCP_EMBEDDER=local -- midas-mcp
Cursor~/.cursor/mcp.json — paste the JSON block
Claude DesktopSettings → Developer → Edit Config (claude_desktop_config.json) — paste, restart
Codex CLIcodex mcp add midas -- midas-mcp
Grok Buildgrok mcp add --scope user midas -e MIDAS_MCP_EMBEDDER=local -e MIDAS_MCP_CLIENT=grok-build -- midas-mcp
Windsurf~/.codeium/windsurf/mcp_config.json — paste the block
VS Codeuser mcp.json (servers key, "type": "stdio") — midas init writes it
Gemini CLI~/.gemini/settings.json (mcpServers key) — midas init writes it
Clinecline_mcp_settings.json in VS Code global storage — midas init writes it
Zedsettings.json → context_servers — midas init writes it
Anything elsepoint it at command midas-mcp
No Pythonnpx -y midas-memory-mcp — the TypeScript port (experimental; semantic embeddings via optional @huggingface/transformers)

Override per client with env: `MIDAS_MCP_DB` (default ~/.midas/memory.sqlite3; :memory: = ephemeral) · MIDAS_MCP_MAX_RECORDS · MIDAS_MCP_MIN_IMPORTANCE · MIDAS_MCP_NAMESPACE.

⚠️ GUI apps don't share your shell `PATH`. If a client says *"command not found"*, use the absolute

path from which midas-mcp. On Windows use forward slashes in JSON paths.

Once connected, Midas injects a short policy into the agent (*recall first, then capture durable facts/decisions/preferences/constraints/corrections*). The agent captures freely; Midas decides what's kept — it scores importance (no LLM), drops trivia, skips duplicates, revises stale beliefs, and forgets the low-value tail to stay bounded. Before any memory-justified external or destructive action, the agent calls `che

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx