MemOS MCP server
Commit 11. Nov. 2026Bietet eine lokale, persistente SQLite-basierte Memory-Layer für AI Agents, um Informationen über verschiedene Sessions hinweg zu speichern und abzurufen.
Auch bekannt als Markgatcha/memos
- Stars
- 10
- Tools
- —
- Downloads, 30 Tage
- —
- Neueste Version
- —
- Letzter Commit
- 11. Nov. 2026
- Lizenz
- MIT
Was ist MemOS MCP?
Bietet eine lokale, persistente SQLite-basierte Memory-Layer für AI Agents, um Informationen über verschiedene Sessions hinweg zu speichern und abzurufen.
Zusammenfassung generiert aus dem README des Projekts
Über MemOS MCP server
MemOS bietet eine Local-first Memory-Layer, die speziell dafür entwickelt wurde, dass AI Agents persistente Informationen über verschiedene Sessions hinweg beibehalten können. Es fungiert als einzelne SQLite-Datenbankdatei, die auf deiner eigenen Hardware gespeichert wird. So behältst du die volle Kontrolle über deine Daten, ohne auf Cloud-Services oder externe API Keys angewiesen zu sein. Dieses Setup ist ideal für Entwickler, die Tools wie Claude Code, Cursor, Codex oder verschiedene MCP Clients nutzen und nach einem Neustart spezifische Details abrufen müssen.
Das System nutzt eine hybride Retrieval-Methode, die SQLite FTS5 mit Embeddings kombiniert, um relevante Informationen zu finden. Es unterstützt fortgeschrittene Memory-Features wie typisierte Graph-Edges, zeitliche Gültigkeit für zeitkritische Daten und Trust Scores, um die Herkunft von Informationen zu verwalten. Entwickler können mit dem Speicher über ein TypeScript SDK, ein CLI oder als MCP server via stdio und Streamable HTTP interagieren. Das System ist auf Portabilität ausgelegt, sodass du deinen Speicher sichern, verschlüsseln oder als JSON, Markdown oder Obsidian-Dateien exportieren kannst.
Was du damit machen kannst
- 1Langfristiges Agent-Gedächtnis aufrechterhaltenGib deinem Coding-Assistenten die Möglichkeit, sich Benutzereinstellungen und Projektdetails zwischen Neustarts zu merken.
- 2Komplexe Informationsbeziehungen verwaltenNutze Graph-basierten Speicher, um zu verfolgen, wie verschiedene Informationen miteinander zusammenhängen, sich widersprechen oder gegenseitig unterstützen.
- 3Konfiguration für AI Tools automatisierenRichte die notwendigen MCP Configs für spezifische Entwicklungsumgebungen schnell ein.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Noch nicht verifiziert. Ein Server benötigt einen Score von 80, keine kritischen Befunde und genug Daten für unsere Prüfung. Wie die Checks funktionieren · Was du für mehr Punkte verbessern kannst
- Source Repository verknüpft und erreichbarmarkgatcha/memos is public and reachablegithub.com/markgatcha/memos ↗Bestanden
- Paket nennt dieses Repository als QuelleNicht geprüft
- Build-Provenienz (Sigstore-Attestierung)Nicht geprüft
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-11-11github.com/markgatcha/memos ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNicht geprüft
- Keine kritischen Advisories im Paket oder seinen AbhängigkeitenNicht geprüft
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-HandshakeNicht geprüft
README
Auf GitHub ansehenStart here
npx -y @mem-os/sdk store "Prefers pnpm over npm" --db ./memos.db # store
npx -y @mem-os/sdk search "package manager" --db ./memos.db # recall
import { MemOS } from "@mem-os/sdk";
const memos = new MemOS(); // one SQLite file, zero config
await memos.store("Prefers pnpm over npm");
const hits = await memos.search("package manager");
Works with Claude Code · Cursor · Codex · Gemini CLI · Hermes · OpenClaw · Cline · Zed · Goose · Kilo · Ollama · LangChain · CrewAI · any MCP client. memos connect <harness> writes the config for you — see the harness matrix.
Why it is different: the memory is a single SQLite file on your disk (export it, back it up, delete it) · no network calls required · typed graph edges, temporal validity, trust scores, and provenance · MIT, no paid tier.
Reproducible retrieval
| Benchmark | Result |
|---|---|
| LongMemEval-S, full 500 | 99.4% Hit@20 · 98.3% evidence recall · 96.4% all-evidence@20 |
| ConvoMem, 387 scored | 91.0% Hit@10 · 89.4% evidence recall@10 |
| LoCoMo, full 1,986 | 65.0% Hit@10 · 59.8% evidence recall@10 |
Evidence-ID scored, no LLM judge. The LoCoMo conversations 0–1 subset (304 questions) reaches 79.8% Hit@10; the full-set number is the headline. Canonical source: website/data/benchmarks.json, generated from the raw artifacts in docs/artifacts/. Commands and caveats: benchmarks/README.md.
New here? Ingest your notes in 60 seconds — install, point at a folder, search it.
Installing? Agent-readable install contract · Harness matrix · MCP compatibility policy · per-harness snippets
Contributing? Good first issues · CONTRIBUTING.md · open benchmark leaderboard
Install
# TypeScript / Node.js
npm install @mem-os/sdk
# or run it without installing
npx -y @mem-os/sdk init --yes
# Python HTTP server
pip install mem-os-python
memos-server # http://localhost:7400
The npm package tracks tagged releases and can briefly lag main. The GitHub source is the canonical, always-current build (v1.6.27). For the latest source build, see Installation.
Connect a harness
npx -y @mem-os/sdk connect claude-code --write
npx -y @mem-os/sdk connect cursor --write
npx -y @mem-os/sdk connect codex --write
connect writes the real MCP config, keeps a backup, and prints the restart step. For every supported harness, see the harness matrix.
What you get
| Capability | What it means |
|---|---|
| One file you own | A single SQLite database; copy it, back it up, encrypt it, delete it |
| Hybrid retrieval | SQLite FTS5 + embeddings, fused and relevance-gated |
| Graph memory | Typed edges: relates_to, contradicts, supports, derived_from, temporal_precedes |
| Temporal validity | validFrom / validTo and point-in-time search |
| Trust and provenance | Source, trust score, version timeline, quarantine queue |
| Context packs | Token-budgeted memory bundles with citations |
| Consolidation | Dedupe, archive, summarize clusters, decay stale memories without losing history |
| MCP native | stdio and Streamable HTTP, with a published compatibility policy |
| Four surfaces | TypeScript SDK, CLI, MCP server, HTTP API — all on the same store |
| Adapters | OpenAI, Anthropic, Vercel, LangChain, CrewAI, Ollama |
| Portability | Import ChatGPT/Claude memory, export JSON/Markdown/Obsidian, backup/restore |
| Image memory | Captions plus optional CLIP pixel search |
Documentation
| I want to… | Read |
|---|---|
| Install in five minutes | Installation |
| Point it at my notes | Ingest your notes |
| Connect my coding agent | Harness matrix |
| Understand nodes, trust, time, packs | Memory model |
| Look up a command, tool, or route | CLI · MCP tools · HTTP API |
| Operate a store | Security model · Operations |
| See benchmark details | Results in plain English |
| Understand the architecture | ARCHITECTURE.md |
| See what is planned | ROADMAP.md |
Benchmarks
Retrieval-only, evidence-ID scored, no reader model and no LLM judge:
| Benchmark | Result |
|---|---|
| LongMemEval-S, full 500 | 99.4% Hit@20 · 96.4% all-evidence@20 |
| ConvoMem, 387 scored | 91.0% Hit@10 · 89.4% evidence recall@10 |
| LoCoMo, full 1,986 | 65.0% Hit@10 · 59.8% evidence recall@10 |
End-to-end is reported separately: 78% on a 50-question LongMemEval-S sample, self-judged with the same model. It is not comparable to vendor numbers produced with a gpt-4o judge.
The full methodology, per-category breakdowns, and the reproducible leaderboard live in Benchmark Results and benchmarks/README.md. Raw artifacts are committed under docs/artifacts/.
Part of the AI Trio
| Project | Role |
|---|---|
| universal-mcp-toolkit | MCP transport, server registry, and tool routing |
| memos | Graph-based persistent memory across sessions |
| llm-guardian | Token folding, budgets, and provider proxies |
Each project works standalone. The integrations are optional: umt link memos exposes this store as an MCP server, and Guardian can inject a MemOS context pack when MEMOS_NAMESPACE is set. Nothing here requires the other two.
Contributing
License
MIT — use it anywhere, for any purpose, no attribution required.
MemOS MCP Fragen
Wie wird der Speicher abgelegt?
Der Speicher wird in einer einzelnen SQLite-Datei auf deiner lokalen Festplatte abgelegt, sodass du ihn einfach sichern, exportieren oder löschen kannst.
Kann ich das mit Claude Code oder Cursor nutzen?
Ja, es ist über den connect command mit vielen AI Clients kompatibel, darunter Claude Code, Cursor, Codex und andere.