Kireo

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

Long-term memory for Claude Code, Cursor and any MCP client, with a searchable web dashboard.

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

AI 產生的概覽

Kireo 為 MCP 用戶端提供長期記憶:助理可以儲存決策與脈絡,並在之後的工作階段或其他機器上取回。

可以做什麼
儲存、更新與刪除長期記憶,支援軟刪除與硬刪除,並可列出命名空間與檢查記憶服務健康狀態。以語意加關鍵字的混合方式搜尋記憶、重播近期或重要記憶,並依 id 取得單筆記錄。儲存、載入與封存對話交接與專案脈絡,並檢視專案資訊。將本機儲存庫中的函式、類別與方法索引到程式碼命名空間,供助理透過搜尋取回。
適用情境
適合希望助理在工作階段之間、跨專案或跨機器記住決策與脈絡的情境,不必每次重讀靜態規則檔。也適合為程式碼庫中的符號建立可搜尋的記憶庫。
執行需求
透過 npx 以 stdio 在本機執行,PATH 中需有 Node.js 20 或更新版本。需要 Kireo 帳號,並透過 KIREO_API_KEY 環境變數提供 API 金鑰。需要連線至 Kireo API 的網路;API 位址、逾時、重試、代理與日誌等級皆可設定。
安裝前請注意
儲存的內容會上傳到你的 Kireo 帳號:memory_save、context_save、對話封存與程式碼索引都會把內容傳送到該服務。除非將 KIREO_TELEMETRY 設為 0,否則會傳送裝置識別請求標頭。API 金鑰是 bearer 憑證,請勿寫入共用設定檔。刪除類工具會移除已儲存的記憶。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

@kireo/mcp-server

Long-term memory for any MCP-compatible AI tool (Claude Code, Cursor, Windsurf, Cline, Zed, Continue …).

[npm version]

What is Kireo memory MCP?

Kireo memory MCP is a Model Context Protocol server that gives Claude Code, Cursor, Cline, Windsurf and any other MCP client long-term memory. Save a decision once; recall it in any later session, on any machine. Hybrid semantic + keyword search over LanceDB, 12 MCP tools, plus local code indexing. Free beta — an API key is all you need.

How do I install Kireo memory MCP?

One line for Claude Code, one JSON block everywhere else. Both need a free key from https://app.kireo.app/app/api-keys (ki_sk_…).

bash
# Claude Code — add --scope user to get it in every projectclaude mcp add kireo --scope user --env KIREO_API_KEY=ki_sk_xxx -- npx -y --package=@kireo/mcp-server kireo-mcp

Every other client takes the same server entry; only the file it goes in differs:

jsonc
{  "mcpServers": {    "kireo": {      "command": "npx",      "args": ["-y", "--package=@kireo/mcp-server", "kireo-mcp"],      "env": { "KIREO_API_KEY": "ki_sk_xxx" }    }  }}
ClientWhere that block goes
Claude Code.mcp.json in the project root (or use the claude mcp add line above)
Cursor~/.cursor/mcp.json, or <workspace>/.cursor/mcp.json for one repo
ClineMCP Servers → Configure MCP Servers (cline_mcp_settings.json)
Claude Desktopclaude_desktop_config.json (Settings → Developer → Edit Config)
Windsurf~/.codeium/windsurf/mcp_config.json
Zed / Continue / any MCP hostWhatever that host calls its MCP server list — same three fields

Restart the client afterwards. Node.js ≥ 20 must be on PATH for npx.

Which tools does it expose?

Twelve, over MCP stdio: memory_save, memory_search, memory_recall, memory_get, memory_update, memory_delete, memory_list_namespaces, memory_health, context_save, context_load, project_info, and context_archive. Every client sees the same set. Call memory_health first to confirm the key works.

Does it bloat my prompt?

No — memory is pulled, not pushed. Nothing is injected into the system prompt. The agent calls memory_search only when it decides prior context is worth retrieving, and gets back a bounded ranked set (default 10 hits, hard cap 50), so tokens are spent per-query rather than per-turn.

How is it different from a CLAUDE.md / .cursorrules file?

A rules file is static text re-read in full every session and shared by nothing. Kireo memory MCP is queried on demand, is written by the agent as work happens, is searchable semantically, and is shared across projects, sessions and machines through namespaces.

Can it index my codebase?

Yes. npx -y -p @kireo/mcp-server kireo index ./ --repo my-app extracts functions/classes/methods into a code-<repo> namespace that memory_search can reach. Indexing is incremental — re-runs only send changed files, and the server dedupes identical symbols, so retrying is safe.

Is my code uploaded?

The compact command uploads the conversation summary you ask it to archive. context_save uploads a handoff; memory_save uploads supplied content; kireo index uploads extracted code symbols. These actions send their content to your Kireo account. Set KIREO_TELEMETRY=0 to also drop the X-Device-Id header.

What does it cost?

Free beta. Sign up at https://app.kireo.app, create a key, done — no card.

Conversation compression (0.3.0)

The Kireo plugin adds /kireo:compact in Claude Code and $kireo-compact in Codex: it summarizes the visible conversation, writes <directory-name>.md, and uploads it to your Kireo account with offline retry and versioned file metadata. Install the plugin.

The MCP now also provides project_info, context_save, context_load, and context_archive, alongside the eight general memory tools below.

Quickstart

  1. Get an API key at https://app.kireo.app/app/api-keys (ki_sk_…).
  2. Add this MCP server to your host. Claude Code — run:
bash
claude mcp add kireo --scope user --env KIREO_API_KEY=ki_sk_xxx -- npx -y --package=@kireo/mcp-server kireo-mcp

Two details in that line are load-bearing, both verified against claude 2.1.220 and npm 11 on 2026-08-03:

  • --package=@kireo/mcp-server kireo-mcp, not @kireo/mcp-server. This package ships two binaries (kireo, kireo-mcp), neither named after the package, so npx -y @kireo/mcp-server cannot pick one and fails with could not determine executable to run.
  • --package=, not the short -p. A bare -p after -- gets swallowed by the claude mcp add option parser, which then rejects its own flag: claude mcp add kireo --env … -- npx -y -p @kireo/mcp-server kireo-mcp errors with unknown option '--env'. The long form parses cleanly.

Drop --scope user if you only want it in the current project. Alternatively, check a project-scoped .mcp.json into your repo root with the same shape (inside JSON args the short -p is fine — it goes straight to npx and never reaches the claude parser):

jsonc
// .mcp.json (project root){  "mcpServers": {    "kireo": {      "command": "npx",      "args": ["-y", "--package=@kireo/mcp-server", "kireo-mcp"],      "env": { "KIREO_API_KEY": "ki_sk_xxx" }    }  }}
  1. Restart the host. You now have 12 tools available to the AI:
ToolPurpose
memory_savePersist a long-term memory
memory_searchHybrid semantic + keyword search
memory_recallReplay recent/important memories
memory_getFetch by id
memory_updatePatch fields
memory_deleteSoft/hard delete
memory_list_namespacesEnumerate namespaces
memory_healthProbe service

Configuration

Sources are merged in order: CLI args > env > ~/.kireo/config.json.

ENV / CLIDefaultDescription
KIREO_API_KEY / --api-keyrequiredBearer token (ki_sk_…).
KIREO_API_URL / --api-urlhttps://api.kireo.appOverride for self-host.
KIREO_REQUEST_TIMEOUT_MS / --timeout60000Per-request timeout in ms, max 300000 (env alias: KIREO_TIMEOUT_MS).
KIREO_RETRY_MAX_ATTEMPTS35xx/429 retries (alias: KIREO_RETRY_MAX).
KIREO_RETRY_BASE_MS200Exponential backoff base.
KIREO_TELEMETRY1Set to 0 to disable device-id header.
KIREO_LOG_LEVELinfodebug / info / warn / error / silent.
KIREO_PROXY_URLnoneHTTP(S) proxy.
KIREO_ACCEPT_LANGUAGEenLocale for error hints.

Logs land in ~/.kireo/logs/ on all platforms (macOS, Linux, Windows).

Indexing local code

Index a repository's symbols (functions / classes / methods) into a code-<repo> namespace so the AI can recall them via memory_search:

bash
export KIREO_API_KEY=ki_sk_xxxnpx -y -p @kireo/mcp-server kireo index ./ --repo my-app

Indexing is incremental — only changed files are re-sent on subsequent runs.

FlagDefaultDescription
--repo <name>directory basenameRepo name → code-<name> namespace.
--batch-size <n>100Symbols per upload batch (1..100). Lower it if a batch times out.
--timeout <ms>60000Per-request timeout (max 300000).
--api-key / --api-url / --namespace / --log-level / --no-telemetry—Same as the config table above; CLI flags override env.

Run kireo --help for the full usage text. --help and --version never touch the network or the filesystem and don't require an API key. If a batch upload times out, re-running the same command is safe: the server dedupes identical symbols, so retries won't create duplicates.

Host setup

Privacy

Set KIREO_TELEMETRY=0 to drop the X-Device-Id header. We never read your code; only the explicit content you pass to memory_save reaches the API.

Troubleshooting

  • AUTH_INVALID_KEY → rotate your key at https://app.kireo.app/app/api-keys.
  • QUOTA_EXCEEDED → upgrade or wait for next billing cycle.
  • Tools missing in your host → run npx @modelcontextprotocol/inspector node $(npm root -g)/@kireo/mcp-server/bin/kireo-mcp.cjs to verify locally.

License

MIT

來源:README.md,提交 c527cb5

工具

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

版本歷史

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

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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