LocalKeep

io.github.zuneracodes由 GitHub 帳號 zuneracodes 發布v0.1.3更新於 Oct 24, 2026

Local chronological memory banks you control; Claude recalls them via MCP.

發布方自己的服務:Keep

已驗證STDIO僅桌面檔案與儲存知識與記憶

概覽

AI 產生的概覽

LocalKeep 為助理提供一個本機、帶日期的記憶庫,可透過 MCP 查詢,讓回想起来的個人背景來自你自己撰寫的條目。

可以做什麼
LocalKeep 把帶標題、帶日期、可編輯的記憶條目存放在本機 SQLite 資料庫中,你透過 localhost 的 Hub 介面管理這些內容。MCP 伺服器把這些資料提供給 Claude Desktop,在對話需要你的過往背景時進行查詢。README 將其描述為你自己事實的按時間順序來源,而非模型編造的摘要,並說明它不是聊天應用程式,也不是雲端記憶 API。
適用情境
如果你寫日記、工作日誌或研究檔案,並希望助理回想起準確的帶日期事實而不是籠統轉述,就值得加入。它適合希望對模型了解自己的內容擁有編輯控制權、並希望資料庫留在自己機器上的人。
執行需求
以本機 Python 套件執行(pip install localkeep,或 uv tool install localkeep),並在 Claude Desktop 設定中註冊為 localkeep-mcp 指令。Hub 介面在 localhost 上提供。選用環境變數 LOCALKEEP_DATA_DIR 與 LOCALKEEP_DB_PATH 用來設定資料庫位置,預設是 ~/.localkeep。未宣告任何身分驗證。
安裝前請注意
檢索到的記憶文字會回到對話中,並像其他工具結果一樣由 Anthropic 處理,因此即使資料庫留在本機,被回想的片段仍會離開你的機器。README 建議把 LocalKeep 說明貼到 Claude 的個人偏好設定中,並在其要求執行工具時點選「永遠允許」,這會授予長期工具核准。只有刪除資料庫檔案才會刪除你的記憶庫。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 LocalKeep,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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

bash
pip install localkeep# or: uv tool install localkeep

Then:

bash
localkeep-hub          # http://127.0.0.1:8000

In Claude Desktop, register the MCP server (claude_desktop_config.json):

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:

  1. Claude Desktop → Settings → Profile → Personal preferences
  2. Paste the LocalKeep instructions (Hub → Connect → Copy instructions, or see src/localkeep/assets/claude-personal-preferences.txt)
  3. Quit Claude completely and reopen
  4. When LocalKeep asks to run a tool, click Always approve

Develop from source

bash
git clone https://github.com/zuneracodes/localkeepcd localkeepuv sync --group devuv 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.

bash
uv sync --group devuv 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.

來源:README.md,提交 47d8e52

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Keep 整合