LocalKeep MCPサーバー
✓ 検証済みMCPを介して、ユーザーが日付別に管理したメモリバンクをAIクライアントが照会・想起できる、ローカルの時系列メモリレイヤーを提供します。
別名 zuneracodes/localkeep
- スター
- 1
- ツール
- —
- ダウンロード数(30日間)
- 267
- 最新バージョン
- 0.1.3
- 最終コミット
- 2026年8月13日
- ライセンス
- MIT
LocalKeep MCPとは
LocalKeepはMCPサーバーです。 MCPを介して、ユーザーが日付別に管理したメモリバンクをAIクライアントが照会・想起できる、ローカルの時系列メモリレイヤーを提供します。.
プロジェクトのREADMEから生成された概要
LocalKeep MCP server について
LocalKeepは、ローカルのメモリレイヤーを提供することで、AIアシスタントのための時系列な個人履歴の管理を可能にします。不正確であったり編集できなかったりするクラウドベースの要約に頼るのではなく、ユーザーは自身のマシン上で日付付きのメモリバンクを独自に管理できます。このツールは、ハルシネーションや汎用的な要約のリスクを避けつつ、AIに正確な日付や特定の出来事を思い出させたい研究者、日記作成者、その他のユーザー向けに設計されています。
ユーザーは、エントリ管理用にレトロなデザインを採用したローカルのHub UIを通じてデータとやり取りします。システムはローカルデータベースとして動作し、通常はlocalkeep.dbのようなファイルに保存され、ネイティブのModel Context Protocolコネクタを介してClaude Desktopに接続されます。ストレージと管理は完全にユーザーのハードウェア内に保持されますが、クエリ中に取得された特定のテキスト断片は、会話のコンテキストを提供するためにAnthropicに送信されます。セットアップには、pipまたはuvによるパッケージのインストールと、localkeep-mcpコマンドを指すようにclaude_desktop_config.jsonファイルを設定する必要があります。
できること
- 1特定の歴史的事実の取得数ヶ月前に記録した特定の出来事や決定を、自分が使った正確な言葉でAIに探させることができます。
- 2時間的推論の維持AIに厳密なタイムラインを提供することで、過去の異なる出来事同士の関係性を確実に理解させることができます。
- 3個人データのプライバシー制御基盤となるコンテキストデータベースをクラウドサービスではなく、自身のマシン上にローカルで保存できます。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
LocalKeep MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude CodeにLocalKeep MCPをインストール
$ claude mcp add localkeep -- uvx localkeepCursorにLocalKeep MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"localkeep": {
"command": "uvx",
"args": [
"localkeep"
]
}
}
}VS CodeにLocalKeep MCPをインストール
.vscode/mcp.json
{
"servers": {
"localkeep": {
"type": "stdio",
"command": "uvx",
"args": [
"localkeep"
]
}
}
}VS Code CLIにLocalKeep MCPをインストール
$ code --add-mcp '{"name":"localkeep","type":"stdio","command":"uvx","args":["localkeep"]}'Claude DesktopにLocalKeep MCPをインストール
claude_desktop_config.json
{
"mcpServers": {
"localkeep": {
"command": "uvx",
"args": [
"localkeep"
]
}
}
}CodexにLocalKeep MCPをインストール
$ codex mcp add localkeep -- uvx localkeepCodex config.tomlにLocalKeep MCPをインストール
~/.codex/config.toml
[mcp_servers.localkeep] command = "uvx" args = ["localkeep"]
Gemini CLIにLocalKeep MCPをインストール
$ gemini mcp add -s user localkeep uvx -- localkeepGemini settings.jsonにLocalKeep MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"localkeep": {
"command": "uvx",
"args": [
"localkeep"
]
}
}
}設定
LOCALKEEP_DATA_DIROptional directory for the SQLite DB (default: ~/.localkeep)
LOCALKEEP_DB_PATHOptional full path to localkeep.db
LOCALKEEP_HUB_RELOAD
| 名前 | 説明 | 種類 |
|---|---|---|
| LOCALKEEP_DATA_DIR | Optional directory for the SQLite DB (default: ~/.localkeep) | |
| LOCALKEEP_DB_PATH | Optional full path to localkeep.db | |
| LOCALKEEP_HUB_RELOAD | — |
自動チェック
実行日 2026年11月14日完全なレポート →自動チェックに合格しました。これはセキュリティ監査ではありません。コードを読み、サーバーに必要最小限のアクセス権を与えてください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能zuneracodes/localkeep is public and reachablegithub.com/zuneracodes/localkeep ↗合格
- パッケージがこのリポジトリをソースとして指定localkeep names zuneracodes/localkeep as sourcepypi.org/project/localkeep/ ↗合格
- ビルドの来歴 (Sigstore 証明)No build attestation published for this release未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-08-14github.com/zuneracodes/localkeep ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していないNo popular package one edit away from localkeep合格
- パッケージおよびその依存関係に重大な勧告なし39 resolved dependencies checked; no critical advisoryosv.dev ↗合格
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るLocalKeep
LocalKeep is for anyone who wants a chronological memory layer for chatbots where they directly control what the model remembers about them. Instead of forcing you to rely on a black-box cloud memory that the model invents around you that you can't even edit, LocalKeep lets you curate titled, dated, editable memory banks directly on your own machine where you write the entries and manage them locally via a localhost Hub UI. When a conversation requires your prior context, Claude queries your local data through a secure, native Model Context Protocol (MCP) connector.
Why use LocalKeep
AI Chat apps are great at sounding like they remember you, but struggle at recalling the exact thing you care about — what happened, on which date, about whom? Consumer memory features tend to lack the capacity for true temporal reasoning, flattening your history into a soft, generic vibe summary instead of understanding that Event A triggered Event B three months ago, causing its reasoning to fail when you need something specific: a life event, a research arc, a decision you logged months ago. Worse yet, consumer AI memory is a black box: you don't get to decide what the model chooses to remember about you, how it interprets your life, or when it invents context around you.
LocalKeep fixes both structural flaws at once by replacing fragile, model-invented timelines with a rigid, chronological source of your truth, all while giving you absolute editorial control. You decide exactly what the AI is allowed to know about you. You write the entries, you anchor the dates, and you keep them local on your own machine. Claude simply acts as the lookup engine via MCP when a conversation requires your prior context. LocalKeep bridges the gap between structured personal logging and intelligent AI retrieval, ensuring your context is curated by you—not hallucinated by an LLM.
Who it’s for
- Anyone frustrated that chat memory can’t reliably fetch dated facts or understand timelines
- People who already maintain meticulous personal diaries, work logs, or research archives. Instead of settling for a generic chat-app paraphrase, you get to inject your exact words and historical data into the prompt as an unyielding source of truth.
- Users who trust Claude for its reasoning capability, but demand that their foundational context database remains stored locally under their own roof. (Note: Querying memories via MCP still sends the retrieved text fragments to Anthropic during the session).
What it is (and isn’t)
- Is: A lightweight customizable local Hub UI to manage your dated memory banks, paired with an MCP server that Claude Desktop can call.
- Isn’t: A standalone chat application, a cloud-hosted memory API, or a background utility that silently scrapes your personal conversations.
The Aesthetic Philosophy
The Hub UI intentionally adopts a retro, Windows 95/MS Paint-inspired homage with customizable features to ensure LocalKeep feels like a deeply personal tool rather than an impersonal, rigid dashboard. By putting adjustable interface elements right at your fingertips, the UI signals that you are entering an intimate, offline workshop for your mind—a space you can shape and reconfigure to feel entirely like your own.
Install
pip install localkeep
# or: uv tool install localkeep
Then:
localkeep-hub # http://127.0.0.1:8000
In Claude Desktop, register the MCP server (claude_desktop_config.json):
{
"mcpServers": {
"localkeep": {
"command": "localkeep-mcp",
"args": []
}
}
}
If the GUI can’t find localkeep-mcp on your PATH, use the absolute path from which localkeep-mcp (the Hub’s Connect panel copies this for you).
Memories default to ~/.localkeep/localkeep.db when installed via pip. Override with LOCALKEEP_DATA_DIR or LOCALKEEP_DB_PATH.
Auto-use LocalKeep (important)
Claude will not reliably call MCP tools unless you also set Personal preferences:
- Claude Desktop → Settings → Profile → Personal preferences
- Paste the LocalKeep instructions (Hub → Connect → Copy instructions, or see
src/localkeep/assets/claude-personal-preferences.txt) - Quit Claude completely and reopen
- When LocalKeep asks to run a tool, click Always approve
Develop from source
git clone https://github.com/zuneracodes/localkeep
cd localkeep
uv sync --group dev
uv run localkeep-hub # http://127.0.0.1:8000
# optional live reload:
LOCALKEEP_HUB_RELOAD=1 uv run localkeep-hub
From a source checkout, the DB lives in data/localkeep.db (gitignored).
Tests
These smoke-check the Hub, retrieval, and MCP tools so a fresh install still stores and recalls dated memories the way a real user would.
uv sync --group dev
uv run pytest
Tests start from an empty DB and create memories through Hub form POSTs (same path as a new user).
Privacy
Storage is local. Banks and memories live in your chosen DB path (~/.localkeep/ for pip installs, or data/localkeep.db in a checkout). There is no LocalKeep cloud and nothing is auto-scraped from chat. Theme colors stay in browser localStorage. Refreshing the Hub page or restarting localkeep-hub does not delete your banks — only removing the database file does.
Recall goes through Claude. The Hub and database stay on your machine, but when Claude calls a LocalKeep MCP tool, the matching memories are returned into that chat and Anthropic processes them like any other tool result. LocalKeep isn’t shipping your whole DB upstream — only what that lookup returns for the question at hand.
Contributing
Bug reports and pull requests are welcome via GitHub Issues. Please run uv run pytest before opening a PR.
License
MIT — see LICENSE.
LocalKeep MCPのよくある質問
LocalKeep MCPをClaude Codeに追加するには
ターミナルでclaude mcp add localkeep -- uvx localkeepを実行します。すべてのプロジェクトで利用するには--scope userを追加します。
LocalKeep MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
LocalKeepはデータベース全体をAnthropicに送信しますか?
いいえ、ツールによる検索中に取得された特定のテキスト断片のみが、セッション中にモデルに送信されます。
ClaudeにLocalKeepを確実に使用させるにはどうすればよいですか?
Claude DesktopのPersonal preferencesに特定の指示を貼り付け、アプリケーションを再起動する必要があります。