agent-memory-sqlite MCPサーバー
コミット 2026年10月30日SQLite FTS5を使用して、コーディングエージェントがセッションをまたいで決定事項や規約を保存・検索できる永続的なメモリ機能を提供します。
別名 Urthella/agent-memory-sqlite
- スター
- 1
- ツール
- 4
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年10月30日
- ライセンス
- MIT
agent-memory-sqlite MCPとは
agent-memory-sqliteはMCPサーバーです。 SQLite FTS5を使用して、コーディングエージェントがセッションをまたいで決定事項や規約を保存・検索できる永続的なメモリ機能を提供します。. 4個のツールを提供しており、remember, recall, recentなどがあります。
プロジェクトのREADMEから生成された概要
agent-memory-sqlite MCP server について
プロジェクト固有の決定事項や規約を保持できるコーディングエージェント向けツールです。これにより、同じ調査プロセスを繰り返す必要がなくなります。事実、決定事項、規約を単一のSQLiteファイルに保存することで、永続的なメモリレイヤーとして機能します。開発者は npx を使用して、Claude Code、Cursor、Claude Desktop、Windsurf などの MCP クライアントと統合できます。
この MCP server は、Node の組み込み sqlite モジュールと FTS5 を使用しており、BM25 による関連度スコアリングと最新性のブーストによって、ランク付けされた検索結果を提供します。データ管理には、事実を保存する remember、キーワード検索を行う recall、最新のエントリを表示する recent、IDを指定して項目を削除する forget といった専用のツールを使用します。ユーザーはメモリを特定のプロジェクトに限定したり、ワイルドカードを使用して保存されたすべてのデータを検索したりできます。
WAL モードの単一の SQLite ファイルに依存しているため、複数のエージェントセッション間でメモリを安全に共有できます。システムは SHA-256 ハッシュを使用して重複排除を行い、アクセント記号を正規化するトークナイザーを搭載しているため、アクセント付きの文字でも効果的な検索が可能です。実行には Node 24 以上が必要です。
できること
- 1デプロイ設定の保存将来のセッションのために、Vercel などの特定のインフラ構成をエージェントに記憶させることができます。
- 2プロジェクト規約の取得以前に保存したコーディング標準やアーキテクチャの決定事項をエージェントに呼び出させることができます。
- 3複数プロジェクトにわたる検索管理されているすべてのプロジェクトメモリに対して、特定のキーワードによるグローバル検索を実行できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
agent-memory-sqlite MCPツール 4
READMEから検出rememberrecallrecentforget
| remember | — | |
| recall | — | |
| recent | — | |
| forget | — |
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能urthella/agent-memory-sqlite is public and reachablegithub.com/urthella/agent-memory-sqlite ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-30github.com/urthella/agent-memory-sqlite ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない4 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされているNo tool named like delete, drop or exec合格
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るagent-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
agent-memory-sqlite MCPのよくある質問
agent-memory-sqlite MCPが提供するツールは
4個のツールを提供しており、remember, recall, recent, forgetなどがあります。