Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Local-first memory for AI agents: SQLite FTS5, deterministic recall, no vector DB, no cloud.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
MEMORY_KERNEL_DB必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"memory-kernel": {
"command": "uvx",
"args": [
"amormorri-memory-kernel"
],
"env": {
"MEMORY_KERNEL_DB": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add memory-kernel --env MEMORY_KERNEL_DB=your-value -- uvx amormorri-memory-kernel動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"memory-kernel": {
"command": "uvx",
"args": [
"amormorri-memory-kernel"
],
"env": {
"MEMORY_KERNEL_DB": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"memory-kernel": {
"type": "stdio",
"command": "uvx",
"args": [
"amormorri-memory-kernel"
],
"env": {
"MEMORY_KERNEL_DB": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
MEMORY_KERNEL_DB envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント Artem362 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.3.2)がレジストリに届いたのは5 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Memory Kernel is a small local memory layer for AI agents.
It helps you save useful things such as decisions, constraints, tasks, facts, and notes in a local SQLite database, then pull back only the few memories that matter for the current task.
Published package name on PyPI: amormorri-memory-kernel CLI command after install: memory-kernel
Practical guide in Ukrainian: docs/OPERATING_GUIDE_UK.md
Release notes: CHANGELOG.md
remember, ingestsearch, context, wake-up, statslist, show, update, deleteforget / restore, revise, decaycompletion, verifyexport, importIn plain English, Memory Kernel does 4 things:
This project is not trying to create a magical black-box memory. It is trying to create a memory layer you can inspect, control, export, and trust.
If you just want to try it, do this:
pip install amormorri-memory-kernel
memory-kernel init memory-kernel remember --scope my.project --kind decision --title "Keep memory local" --content "We store memory on the user's machine." memory-kernel search "memory local" memory-kernel export --format json --output exports\memory.json
What happened there:
init created a local database.remember saved one clear memory.search fetched it back.export created a backup file you can move or restore later.If you are using the repository instead of PyPI:
pip install -e .[dev]
Most people will use it like this:
remember.ingest.search, context, or wake-up.show, update, or delete.import.rememberUse remember when you already know exactly what should be saved.
Good examples:
memory-kernel remember --scope project.alpha --kind decision --title "Use SQLite FTS5" --content "We use SQLite FTS5 for local retrieval."
ingestUse ingest when you have raw text and want the system to split it into structured memories.
Good examples:
memory-kernel ingest --scope project.alpha --file notes.txt --source sprint-review --tags planning transcript
Add --dry-run to preview the segments and inferred kinds/titles/tags without writing to the database. Useful before committing a long file.
memory-kernel ingest --scope project.alpha --file notes.txt --dry-run
memory-kernel ingest --scope project.alpha --text "..." --dry-run --json
Add --interactive for a guided flow that prompts for scope, source, tags, and the text itself, then shows a preview and asks for confirmation before saving. Helpful for first-time users or for ad-hoc captures from the terminal without remembering the flag names.
memory-kernel ingest --interactive
searchUse search when you want a few relevant exact memories for a query.
memory-kernel search "context budget"
contextUse context when you want a compact pack for an agent prompt.
memory-kernel context "How do we keep memory cheap?" --budget-chars 700
wake-upUse wake-up when you want a small "hot memory" pack before a task starts.
memory-kernel wake-up --budget-chars 500
statsUse stats when you want to see database size and whether the native accelerator is active.
memory-kernel stats
memory-kernel stats --since 7d memory-kernel stats --since 2026-04-01
--since adds recent-activity counts (created and updated since the cutoff) plus a per-kind breakdown for the window. Accepts either a relative form like 7d or an ISO date.
listUse list to browse recent memories (most recently updated first) with optional filters.
memory-kernel list
memory-kernel list --scope project.alpha --limit 50 memory-kernel list --kind decision --tags rust memory memory-kernel list --json
Default limit is 20. The output shows id, kind/scope, title, and the timestamps so you can pipe ids into show/update/delete.
showUse show when you have a memory id (printed by search, remember --json, or export) and want the full record.
memory-kernel show --id 9f1e8c0a4b2d4e7f8a1b2c3d4e5f6a7b
memory-kernel show --id 9f1e8c0a4b2d4e7f8a1b2c3d4e5f6a7b --json
updateUse update to fix specific fields on an existing memory without re-importing the whole database.
memory-kernel update --id 9f1e... --title "Renamed memory" --importance 0.95
memory-kernel update --id 9f1e... --tags rust memory acceleration memory-kernel update --id 9f1e... --tags
Only the fields you pass change. Pass --tags with no values to clear tags. Pass --kind, --importance, or --certainty to revise validation-bound fields.
deleteUse delete to drop a memory you saved by mistake or that no longer applies.
memory-kernel delete --id 9f1e8c0a4b2d4e7f8a1b2c3d4e5f6a7b
The command exits non-zero if the id does not exist, so wrap it in shell logic if you script around it.
forget / restoredelete removes a memory permanently. When you only want it out of recall but kept for safety, use forget — a soft-archive. Archived memories disappear from search, context, wake-up, and list, but the data stays and restore brings it back.
memory-kernel forget --id 9f1e...
memory-kernel restore --id 9f1e... memory-kernel list --include-archived # see archived/superseded memories
Re-saving the same memory with remember/ingest also resurrects it automatically.
reviseWhen a new memory replaces an old one, record the relationship with revise: the old memory is marked superseded (hidden from recall, kept for history with a pointer to its replacement).
memory-kernel revise --id <new-id> --supersedes <old-id>
This keeps memory self-curating: stale decisions fade out of recall as newer ones take their place, instead of piling up as contradictory noise.
decaydecay applies a forgetting curve: it auto-archives memories that are old, rarely recalled, and low-value, so the store and your recall stay lean over time. Each memory has a retention score built from its importance, how often it has been recalled (reinforcement), and how long since it was last seen (time decay).
memory-kernel decay --dry-run # preview what would fade
memory-kernel decay # apply (archives, recoverable) memory-kernel decay --min-age-days 60 --max-access 0 --scope project.alpha
Only note and fact memories are eligible — decision, constraint, task, and preference are never decayed. Archiving is the soft, recoverable kind, so restore and list --include-archived still reach faded memories. This is the heart of the project's thesis: spend the budget on what matters, let trivia fade.
completionUse completion to print a shell completion script for memory-kernel. The script is generated dynamically from the current parser, so it stays in sync as commands are added.
memory-kernel completion powershell | Out-File -Encoding utf8 $PROFILE.CurrentUserAllHosts -Append
memory-kernel completion bash > ~/.local/share/bash-completion/completions/memory-kernel
After installing, memory-kernel shows all subcommands; memory-kernel remember -- lists flags for that command; memory-kernel remember --kind cycles through valid kind values.
verifyUse verify to check that the database is internally consistent: schema version is current, derived columns (stems_text, fingerprint) match the source content, and the FTS5 index row count matches the memories table.
memory-kernel verify
memory-kernel verify --repair memory-kernel verify --repair --json
Without --repair, exit code is 0 when healthy and 1 when issues are found. With --repair, mismatches are recomputed in-place and the FTS index is rebuilt if its row count drifted; exit code is 0 if everything was fixed.
Useful after restoring from a manual backup, after editing the database with raw SQL, or as a periodic sanity check in CI.
exportUse export for backup, migration, or inspection.
memory-kernel export --format json --output exports\memory.json
memory-kernel export --scope project.alpha --format jsonl --output exports\project-alpha.jsonl
importUse import to restore a previous export.
memory-kernel import --file exports\memory.json
memory-kernel import --file exports\project-alpha.jsonl
import is idempotent for the same exported records because it upserts by memory id.
Memory Kernel ships an MCP server so an LLM can save and recall memories itself during a session. It works with Claude Desktop, Claude Code, Cursor, and any other MCP client, over stdio.
Install with the MCP extra:
pip install "amormorri-memory-kernel[mcp]"
Run it directly to check it starts:
memory-kernel-mcp --db .memory-kernel\memory.db
memory-kernel serve-mcp --db-path .memory-kernel\memory.db
Then register it with your client. For Claude Desktop (claude_desktop_config.json):
{
"mcpServers": { "memory-kernel": { "command": "memory-kernel-mcp", "env": { "MEMORY_KERNEL_DB": "C:\\Users\\you\\.memory-kernel\\memory.db" } } } }
For Claude Code / Cursor (.mcp.json in the project root):
{
"mcpServers": { "memory-kernel": { "command": "memory-kernel-mcp", "args": ["--db", "${workspaceFolder}/.memory-kernel/memory.db"] } } }
The server exposes seven tools:
| Tool | Purpose | Read-only |
|---|---|---|
memory_remember | Save one precise memory | no (dedup-merge, non-destructive) |
memory_ingest | Split raw text into structured memories | no |
memory_forget | Soft-archive a memory (recoverable) | no (reversible) |
memory_search | Find relevant memories (Ukrainian forms bridged) | yes |
| `m
冒頭だけを表示しています。続きはリポジトリで読めます