
LinkLore
io.linklore由 linklore.io 發布v0.2.2更新於 Oct 24, 2026
AI-native structured memory for agents (MCP). Built for agents, not humans.
概覽
LinkLore 是本地 MCP 伺服器,為 AI 代理提供結構化的專案記憶,讓它記錄決策、坑點與規格,並在後續編碼工作階段中回想。
- 可以做什麼
- 初始化並檢視專案記憶庫,工作階段開始時提供待辦事項、近期活動與熱點摘要,並偵測程式碼與文件的落差、執行完整性檢查與自動修復。建立、編輯、刪除與還原 lore 與 doc 記錄,支援批次建立與可還原的資源回收筒。依 ID、文字、標籤、狀態、檔案或期間查詢記錄,並檢視變更歷程。將記錄彼此連結或連結到程式碼檔案,並呈現文件流程鏈、文件連結圖與 lore 彙整。偵測近似重複記錄,並在同層本地工作區之間移動或複製項目。將記憶庫備份到使用者自己的伺服器空間並從中還原,處理僅限邀請的共享盒、角色與意見回報。
- 適用情境
- 適合長期或多工作階段的編碼專案,尤其是代理反覆爭論已定決策或重複踩坑的情況。也適合希望把代理撰寫、與程式碼關聯的記憶存放在儲存庫內、而非面向人類的 Markdown 筆記中的團隊。
- 執行需求
- 透過 PyPI 套件 llre 以 uvx 作為本地程序執行,需要 Python/uv 工具鏈。每個專案需執行一次 init 初始化。開始使用無需帳號;Google 登入僅用於個人備份或團隊共享。選用環境變數 LINKLORE_LANG 設定輸出語言(en 或 ko),未設定時依作業系統地區自動偵測。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 LinkLore,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
LinkLore
[PyPI] [Python] [License: Elastic 2.0] [MCP]
MCP server for project memory — lets AI agents record decisions, pitfalls, and specs as they work, and recall them next session with code context attached.
Built for agents, not humans: every tool here is designed for usability by an AI, not readability for a person.
Why LinkLore
Every new session, an AI agent starts from zero — decisions get re-litigated, pitfalls get rediscovered, and "why is it done this way?" gets answered by guessing. Markdown notes don't fix this: they're written for people, they drift from the code, and no agent reads them reliably.
LinkLore is structured memory that the agent itself reads and writes through MCP tools:
- Two record types — lore (decisions, pitfalls, journal) and doc (specs, plans), bidirectionally linked to each other and to code files.
- Local-first — everything lives in a
.linklore/SQLite store inside your project. No account needed to start. - Code context — records link to source files; git-diff-based stale detection flags memory that the code has outrun.
- Cheap recall — query by meaning, tag, file, status, or period; a session-start
brief()returns open items and hotspots in a few hundred tokens.
Quick Start
Runs straight from PyPI — no install or clone (uvx llre).
Claude Code
Any other MCP client (Cursor, Codex, Windsurf, …) — add to the project's MCP config (e.g. .mcp.json):
Then initialize, once, in the project root:
Or let your agent do all of it — this is a server meant to be set up by an AI agent rather than typed in by hand. Paste this as your first message to Claude Code, Cursor, Codex, or any other MCP-capable agent:
Set up LinkLore (an MCP server for project memory) in this repo. It's the PyPI package
llre, run viauvx llre— no install or clone needed. Register it as an MCP server for whichever client you are (Claude Code:claude mcp add llre -- uvx llre; otherwise add{"mcpServers": {"llre": {"command": "uvx", "args": ["llre"]}}}to this project's.mcp.json), then runuvx llre inithere. Ask me first before runninguvx llre login— it opens a browser for Google login and is only needed for personal backup or team sharing.
The Loop
How an agent actually uses it, in order:
Available Tools
23 tools. Call any of them with help=True for full usage.
The full guide ships inside the product, as lore — LinkLore documents itself with itself. After init(), your project carries it as a read-only source:
It updates with the package: upgrade llre and brief() tells you what changed.
Repository Layout
mcp/— the readable portion of the MCP server source (PyPI:llre)plugin/— Claude Code plugin wrapper
Source Model
Mostly readable, core compiled. This repository publishes the MCP server's source in the clear — the entry point, i18n catalogs, base utilities, and the onboarding guide — under the Elastic License 2.0. The core modules (search, ranking, contradiction detection, the tool logic) ship as compiled extensions in the published wheel rather than plaintext source, so "read every line and fork it" isn't 100% true — but the majority is readable, and you can run it, self-host it, and use it commercially inside your own org. We'd rather be upfront that the crown-jewel logic is compiled than pretend it's fully open.
This tree is not buildable on its own (the compiled modules are not here) — install the published package instead: uvx llre.
Research
LinkLore is the case study of the paper "When the Agent Is the User: Agent-Driven Evolution of AI-Native Tools" — defining the AI-Native Tools category, where the AI agent is the primary operator.
DOI: 10.5281/zenodo.21216858 · citation: CITATION.cff
License
Elastic License 2.0. Free to install and use; you may not provide the software as a competing managed service, circumvent license-key functionality, or remove licensing notices.
Team sync, cross-project sharing, and cloud backup are provided by the backend service at linklore.io (not part of this repository).
來源:README.md,提交 10d304a
工具
0版本歷史
1- v0.2.2最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。