
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.
概览
Kireo 为 MCP 客户端提供长期记忆:助手可以保存决策与上下文,并在之后的会话或其它机器上召回。
- 可以做什么
- 保存、更新和删除长期记忆,支持软删除与硬删除,并可列出命名空间和检查记忆服务健康状态。以语义加关键词的混合方式搜索记忆、回放近期或重要记忆,并按 id 获取单条记录。保存、加载和归档对话交接与项目上下文,并查看项目信息。把本地仓库中的函数、类和方法索引到代码命名空间,供助手通过搜索召回。
- 适用场景
- 适合希望助手在会话之间、跨项目或跨机器记住决策与上下文的场景,无需每次重读静态规则文件。也适合为代码库中的符号建立可搜索的记忆库。
- 运行要求
- 通过 npx 以 stdio 在本地运行,PATH 中需有 Node.js 20 或更高版本。需要 Kireo 账户,并通过 KIREO_API_KEY 环境变量提供 API 密钥。需要访问 Kireo API 的网络;API 地址、超时、重试、代理和日志级别均可配置。
安装
在 SourceWeft 中
- 打开 控制台中的 Kireo,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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 …).
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_…).
Every other client takes the same server entry; only the file it goes in differs:
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
- Get an API key at https://app.kireo.app/app/api-keys (
ki_sk_…). - Add this MCP server to your host. Claude Code — run:
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, sonpx -y @kireo/mcp-servercannot pick one and fails withcould not determine executable to run.--package=, not the short-p. A bare-pafter--gets swallowed by theclaude mcp addoption parser, which then rejects its own flag:claude mcp add kireo --env … -- npx -y -p @kireo/mcp-server kireo-mcperrors withunknown 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):
- Restart the host. You now have 12 tools available to the AI:
Configuration
Sources are merged in order: CLI args > env > ~/.kireo/config.json.
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:
Indexing is incremental — only changed files are re-sent on subsequent runs.
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.cjsto verify locally.
License
MIT
来源:README.md,提交 c527cb5
工具
0版本历史
1- v0.3.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分