Cozo Memory MCP server
io.github.tobs-code/cozo-memory·v1.0.3·1 starsLocal-first memory system for AI agents with hybrid search and graph reasoning
1 stars43 downloads/wk
Reviews
Write oneNobody has reviewed Cozo Memory yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Cozo Memory tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan47 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 111 days ago8/15
- Maintainer identityregistry namespace matches repository owner6/10
How Cozo Memory compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 62% of 3,470 Web search servers
- GitHub stars
- 1
- more than 55% of 1,786 Web search servers
- Downloads a week
- 43
- more than 29% of 827 Web search servers with a package
Install Cozo Memory in Claude Code, Cursor or VS Code
Runs npx -y cozo-memory on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add cozo-memory -- npx -y cozo-memory
What the publisher says
From the Cozo Memory repository's README, as published. We do not edit it. Read it on GitHub
CozoDB Memory MCP Server
Why Cozo Memory?
LLMs have short-term memory limits. Standard RAG retrieves documents but can't connect facts across time. Cozo Memory gives your AI agent persistent, structured memory – it remembers past conversations, infers relationships, detects contradictions, and explores its knowledge graph – fully on your machine, with optional local LLM integration via Ollama for intelligent actions (cleanup, reflection, summarization, agentic routing).
Most memory stacks combine separate databases: SQLite for facts, Chroma for vector search, NetworkX for graphs. CozoDB replaces all of that with one embedded engine: relational, graph, vector, and full-text search in a single query language, one file, zero sync lag.
Local-first memory for Claude & AI agents with hybrid search, Graph-RAG, and time-travel – runs entirely on your machine. Optional Ollama integration enables LLM-powered actions (cleanup, reflect, summarize, agentic retrieval).
Table of Contents
- Quick Start
- Key Features
- Positioning & Comparison
- Installation
- Integration
- Documentation
- Troubleshooting
Quick Start
Option 1: Install via npm (Recommended)
# Install globally
npm install -g cozo-memory
# Or run directly with npx (no installation needed)
npx cozo-memoryOption 2: Build from Source
git clone https://github.com/tobs-code/cozo-memory
cd cozo-memory
npm install && npm run build
npm run startNow add the server to your MCP client (e.g. Claude Desktop) – see Integration below.
Key Features
🔍 Hybrid Search - Combines semantic (HNSW), full-text (FTS), and graph signals via Reciprocal Rank Fusion for intelligent retrieval
🧠 Agentic Retrieval - Auto-routing engine analyzes query intent via local LLM to select optimal search strategy (Vector, Graph, or Community)
⏱️ Time-Travel Queries - Version all changes via CozoDB Validity; query any point in history with full audit trails
🎯 GraphRAG-R1-Inspired Adaptive Retrieval - Intelligent system with Progressive Retrieval Attenuation (PRA) and Cost-Aware F1 (CAF) scoring, conceptually inspired by GraphRAG-R1 (Yu et al., WWW 2026) and adapted for CozoDB, that learns from usage
⏳ Temporal Conflict Resolution - Automatic detection and resolution of contradictory observations with semantic analysis and audit preservation
🏠 100% Local - Embeddings via ONNX/Transformers; data stays on your machine. Some advanced features (cleanup, reflect, summarize, agentic search) require an optional Ollama service for local LLM inference — but the core search, CRUD, and graph operations work without any LLM.
🧠 Multi-Hop Reasoning - Logic-aware graph traversal with vector pivots for deep relational reasoning
🗂️ Hierarchical Memory - Multi-level architecture (L0-L3) with intelligent compression and LLM-backed summarization
→ See all features | Version History
Positioning & Comparison
Why CozoDB instead of SQLite + Chroma + NetworkX?
A common first question is: "Why not just combine existing tools?"
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Cozo Memory: common questions
- Is Cozo Memory MCP server safe?
- Mostly: it is graded B (78/100). Read the Cozo Memory safety report
- How do I install Cozo Memory?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Cozo Memory need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Cozo Memory maintained?
- The last commit was 149 days ago (2026-06-08). The latest release is v1.0.3.
- What can I use instead of Cozo Memory?
- Servers from other publishers that do the same job: M3 Memory MCP server, Reverie MCP server and Link MCP server.
- How does Cozo Memory compare with other Web search MCP servers?
- safety score 78/100 (higher than 62% of 3,470 Web search servers); github stars 1 (more than 55% of 1,786 Web search servers); downloads a week 43 (more than 29% of 827 Web search servers with a package). Full comparison.
Alternatives to Cozo Memory
Same job from other publishers: the closest match first, then the best rated.
- M3 MemoryLocal-first, cloud-friendly memory — 100+ tools, 99.2% LongMemEval-S retrieval@8, hybrid search.not reviewedEstablishedA
- ReverieGraph memory that dreams: Neo4j knowledge-graph memory for AI agents with hybrid searchnot reviewedEstablishedB
- LinkLocal personal memory for agents as MCP tools — remember, recall, search, context, graph traversal.not reviewedEstablishedA
Shodh MemoryCognitive memory for AI agents — semantic search, Hebbian learning, knowledge graphs.not reviewedEstablishedC- OctobrainPersistent memory for AI assistants with semantic search and knowledge graph relationships.not reviewedGrowingA