Local Memory
About
Persistent local memory for Claude, Cursor & Codex. 21 MCP tools, hybrid retrieval (BM25 + vector RRF), bi-temporal queries, contradiction detection. SQLite + Knowledge Graph. No cloud, no API keys. npx @studiomeyer/local-memory-mcp
Details
- Author
- studiomeyer-io
- GitHub stars
- 9
- Downloads
- 206
- Categories
- AI, Other, Knowledge Base
Jump to
- search_fts (FTS5, BM25) — keyword recall, the v1 path
- embeddings (sqlite-vec vec0 virtual table, float[384]) — vector recall
- Reciprocal Rank Fusion (k=60) combines the two when mode: "hybrid"
- MEMORY_EMBED_DISABLED=1 — force FTS5-only (e.g. air-gapped or corporate-proxy network)
- MEMORY_EMBED_MODEL=... — swap in a different Transformers.js feature-extraction model
The README includes setup instructions such as claude mcp add memory -- npx -y @studiomeyer/local-memory-mcp.
local-memory-mcp
<!-- badges -->
<!-- /badges -->Persistent local memory for Claude, Cursor & Codex. 25 tools. Hybrid retrieval (BM25 + vector cosine, RRF). Bi-temporal asOf queries + fact supersession. LLM-free contradiction detection + reflection. Portable JSON export/import. Multilingual embeddings. No cloud. No API keys.
Your AI assistant forgets everything when you close the chat. This fixes that.
Learnings, decisions, people, projects — stored in a single SQLite file on your machine that never leaves your computer. Built-in Knowledge Graph, duplicate detection, FTS5 keyword search, and (new in v2) hybrid retrieval that fuses BM25 with on-device vector cosine via Reciprocal Rank Fusion. The embedding model is multilingual (DE / EN / ES / 100+ languages) and runs locally — no API keys, no cloud.
📄 Deep dive: WHITEPAPER.md — architecture, design principles, the local-first contract, and an honest comparison vs. other memory systems.
> Not affiliated with danieleugenewilliams/local-memory-releases — that is a different "Local Memory" project with the same descriptive name. This package is published as @studiomeyer/local-memory-mcp — always use the scoped name to disambiguate.
A note from us
We have been building tools and systems for ourselves for the past two years. The fact that this repo is small and has few stars is not because it is new. It is because we only just decided to share what we have built. It is not a fresh experiment, it is a long story with a recent commit.
We love building things and sharing them. We do not love social media tactics, growth hacks, or chasing stars and followers. So this repo is small. The code is real, it gets used, issues get answered. Judge for yourself.
If it helps you, sharing, testing, and feedback help us. If it could be better, an issue is more useful. If you build something with it, tell us at hello@studiomeyer.io. That genuinely makes our day.
From a small studio in Palma de Mallorca.
Quick Start
Claude Code
claude mcp add memory -- npx -y @studiomeyer/local-memory-mcp
Claude Desktop
Easiest: one-click MCPB bundle. v2.0.0 ships pre-built .mcpb bundles for every major desktop platform — download the one for your OS from the latest release and double-click. Claude Desktop walks you through the install — no JSON editing, no npm install, no terminal.
| Platform | Bundle |
|---|---|
| Linux x64 | local-memory-mcp-2.2.0-linux-x64.mcpb |
| macOS Apple Silicon | local-memory-mcp-2.2.0-darwin-arm64.mcpb |
| macOS Intel | local-memory-mcp-2.2.0-darwin-x64.mcpb |
| Windows x64 | local-memory-mcp-2.2.0-win32-x64.mcpb |
Each bundle is platform-specific because better-sqlite3 is a native module — the matching .node binary is shipped inside the bundle so you don't need a build toolchain.
Manual config (all platforms — add to claude_desktop_config.json, see Settings > Developer > Edit Config):
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@studiomeyer/local-memory-mcp"]
}
}
}
Cursor / VS Code
Add to .cursor/mcp.json or .vscode/mcp.json:
{
"mcpServers": {
"memory": {
"command": "npx",
"args": ["-y", "@studiomeyer/local-memory-mcp"]
}
}
}
Codex
```toml
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





