agent-memory-sqlite MCP server
Commit 30 Okt 2026Menyediakan memori yang persisten dan dapat dicari untuk coding agent menggunakan SQLite FTS5 untuk menyimpan dan memanggil kembali keputusan serta konvensi di berbagai sesi.
Juga dikenal sebagai Urthella/agent-memory-sqlite
- Stars
- 1
- Tools
- 4
- Unduhan, 30 hari
- —
- Versi terbaru
- —
- Commit terakhir
- 30 Okt 2026
- Lisensi
- MIT
Apa itu agent-memory-sqlite MCP?
agent-memory-sqlite adalah MCP server. Menyediakan memori yang persisten dan dapat dicari untuk coding agent menggunakan SQLite FTS5 untuk menyimpan dan memanggil kembali keputusan serta konvensi di berbagai sesi. Server ini menyediakan 4 tool, seperti remember, recall, recent.
Ringkasan dibuat dari README proyek
Tentang agent-memory-sqlite MCP server
Coding agent yang mampu mengingat keputusan dan konvensi spesifik proyek di berbagai sesi yang berbeda dapat menggunakan tool ini untuk menghindari pengulangan proses discovery yang sama. Tool ini berfungsi sebagai lapisan memori persisten dengan menyimpan fakta, keputusan, dan konvensi dalam satu file SQLite tunggal. Developer dapat mengintegrasikannya dengan MCP client seperti Claude Code, Cursor, Claude Desktop, atau Windsurf menggunakan npx.
Server ini menggunakan modul sqlite bawaan Node dengan FTS5 untuk menyediakan fitur recall terperingkat melalui relevansi BM25 dan recency boosting. Server mengelola data melalui tool spesifik termasuk remember untuk menyimpan fakta, recall untuk pencarian kata kunci, recent untuk melihat entri terbaru, dan forget untuk menghapus item berdasarkan ID. Pengguna dapat membatasi scope memori ke proyek tertentu atau menggunakan wildcard untuk mencari di seluruh data yang tersimpan.
Karena mengandalkan satu file SQLite dalam mode WAL, tool ini memungkinkan beberapa sesi agent untuk berbagi memori dengan aman. Sistem ini menangani deduplikasi menggunakan hash SHA-256 dan menyertakan tokenizer yang melakukan folding pada diacritics untuk memastikan pencarian tetap efektif meskipun menggunakan aksen. Tool ini memerlukan Node 24 atau versi yang lebih tinggi untuk dijalankan.
Apa yang bisa Anda lakukan dengannya
- 1Menyimpan preferensi deploymentBeritahu agent Anda untuk mengingat pilihan infrastruktur spesifik seperti Vercel untuk sesi mendatang.
- 2Mengambil konvensi proyekMinta agent untuk memanggil kembali standar coding atau keputusan arsitektur yang telah disimpan sebelumnya.
- 3Mencari di berbagai proyekLakukan pencarian global untuk kata kunci tertentu di seluruh memori proyek yang dikelola.
Ditulis berdasarkan README proyek. Setiap use case diperiksa terhadap kutipan dari README tersebut.
Tool agent-memory-sqlite MCP 4
Terdeteksi dari READMErememberrecallrecentforget
| remember | — | |
| recall | — | |
| recent | — | |
| forget | — |
Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Belum diverifikasi. Sebuah server memerlukan skor 80, tidak ada temuan serius, dan data yang cukup untuk kami periksa. Cara kerja checks · Yang perlu diperbaiki untuk menambah poin
- Source repository terhubung dan dapat dijangkauurthella/agent-memory-sqlite is public and reachablegithub.com/urthella/agent-memory-sqlite ↗Lolos
- Nama paket mencantumkan repositori ini sebagai sumbernyaTidak diperiksa
- Provenance build (atestasi Sigstore)Tidak diperiksa
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit or release 2026-10-30github.com/urthella/agent-memory-sqlite ↗Lolos
- OpenSSF ScorecardTidak diperiksa
- Nama package tidak mirip dengan package populerTidak diperiksa
- Tidak ada advisory kritis pada paket atau dependensinyaTidak diperiksa
- Tidak ada instruksi tersembunyi untuk model4 tool descriptions and the README read; no override phrases, credential paths or hidden charactersLolos
- Tools yang bersifat destruktif telah diberi labelNo tool named like delete, drop or execLolos
- Endpoint remote merespons handshake MCPTidak diperiksa
README
Lihat di GitHubagent-memory-sqlite
Persistent, searchable memory for coding agents, exposed as an MCP server. Your agent saves the decisions and conventions it learns, and recalls them in the next session instead of rediscovering them.
- One SQLite file, shared safely by every agent session (WAL mode)
- Zero native dependencies: Node's built-in
node:sqlitewith FTS5, nothing to compile on Windows, macOS or Linux - Ranked recall: BM25 relevance, boosted by recency, scoped per project
- Works with any MCP client: Claude Code, Cursor, Claude Desktop, Windsurf
Quick start
Requires Node 24+.
Claude Code
claude mcp add memory -- npx -y github:Urthella/agent-memory-sqlite
Cursor / Claude Desktop (mcp.json / claude_desktop_config.json)
{
"mcpServers": {
"memory": { "command": "npx", "args": ["-y", "github:Urthella/agent-memory-sqlite"] }
}
}
Then just work: tell the agent "remember that we deploy on Vercel", and ask "what do we know about deploys?" in a later session.
Tools
| Tool | What it does |
|---|---|
remember |
Save a fact, decision or convention, with optional tags. Saving the same text again refreshes it instead of duplicating. |
recall |
Keyword search, best match first. Prefix matching, so lock finds locks. |
recent |
The latest saved or refreshed memories. |
forget |
Delete a memory by its #id. |
Every tool takes an optional project. It defaults to the name of the directory the agent runs in; "*" searches all projects.
How it works
flowchart LR
A[Coding agent] -- MCP over stdio --> S[server.ts]
S --> M[(memories table)]
M -- insert/update/delete triggers --> F[(FTS5 index)]
S -- MATCH + bm25 --> F
- Storage: a plain
memoriestable plus an external-content FTS5 index kept in sync by triggers, so text is stored once and every write path updates search. - Dedup: a SHA-256 of the text is unique per project; saving it again only bumps
updated_at. - Safe queries: free text is reduced to quoted prefix terms (
"redis"* OR "lua"*), so punctuation and FTS operators in a question can't break the query. - Ranking: the top BM25 hits are reranked by
relevance × (1 + recency), where recency halves every 30 days. - Accents: the tokenizer folds diacritics, so
agacfindsağaç.
Configuration
| Variable | Default |
|---|---|
AGENT_MEMORY_DB |
~/.agent-memory/memory.db |
AGENT_MEMORY_PROJECT |
name of the current directory |
Develop
npm ci # also builds dist/
npm test # node --test, runs the .ts sources directly
nix develop (or direnv) gives you the same Node 24 toolchain. CI runs on Linux, macOS and Windows.
License
Pertanyaan tentang agent-memory-sqlite MCP
Tool apa yang disediakan agent-memory-sqlite MCP?
Server ini menyediakan 4 tool, termasuk remember, recall, recent, forget.