@kireo/mcp-server
This server provides long-term memory for any MCP-compatible AI tool (Claude Code, Cursor, Windsurf, etc.), enabling persistent, searchable context across sessions and machines.
Save memories (
memory_save): Persist facts, decisions, preferences, events, goals, or relationships with custom types, tags, entities, metadata, importance, and timestamps.Hybrid search (
memory_search): Perform semantic + keyword search across memories with filters (type, tags, entities, date range, score) and natural language queries.Recall context (
memory_recall): Replay recent or important memories without a query, useful for session initialization.Retrieve by ID (
memory_get): Fetch a single memory directly.Update memories (
memory_update): Patch fields (content, type, tags, entities, etc.) without duplication.Delete memories (
memory_delete): Soft-delete with 30-day recovery; no immediate hard delete.List namespaces (
memory_list_namespaces): Enumerate all namespaces with creation dates and memory counts.Health check (
memory_health): Verify local and remote Kireo service status.Code indexing (
kireo indexCLI): Index local code symbols (functions, classes, methods) into a searchable namespace for AI retrieval.
Memories are organized in namespaces, shareable across projects, and pulled on-demand to prevent prompt bloat. Privacy controls allow disabling telemetry and clarify data transmission.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@kireo/mcp-serversave a memory: deployment branch is main, not master"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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, eight 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_…).
# Claude Code — add --scope user to get it in every project
claude mcp add kireo --scope user --env KIREO_API_KEY=ki_sk_xxx -- npx -y --package=@kireo/mcp-server kireo-mcpEvery other client takes the same server entry; only the file it goes in differs:
{
"mcpServers": {
"kireo": {
"command": "npx",
"args": ["-y", "--package=@kireo/mcp-server", "kireo-mcp"],
"env": { "KIREO_API_KEY": "ki_sk_xxx" }
}
}
}Client | Where that block goes |
Claude Code |
|
Cursor |
|
Cline | MCP Servers → Configure MCP Servers ( |
Claude Desktop |
|
Windsurf |
|
Zed / Continue / any MCP host | Whatever that host calls its MCP server list — same three fields |
Restart the client afterwards. Node.js ≥ 18 must be on PATH for npx.
Which tools does it expose?
Eight, over MCP stdio: memory_save, memory_search, memory_recall, memory_get,
memory_update, memory_delete, memory_list_namespaces, memory_health. 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?
No. Only the content explicitly passed to memory_save (and, if you run kireo index, the symbols
it extracts) leaves your machine. 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.
Related MCP server: mindcore-memory-mcp
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:
claude mcp add kireo --scope user --env KIREO_API_KEY=ki_sk_xxx -- npx -y --package=@kireo/mcp-server kireo-mcpTwo 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):
// .mcp.json (project root)
{
"mcpServers": {
"kireo": {
"command": "npx",
"args": ["-y", "--package=@kireo/mcp-server", "kireo-mcp"],
"env": { "KIREO_API_KEY": "ki_sk_xxx" }
}
}
}Restart the host. You now have 8 tools available to the AI:
Tool | Purpose |
| Persist a long-term memory |
| Hybrid semantic + keyword search |
| Replay recent/important memories |
| Fetch by id |
| Patch fields |
| Soft/hard delete |
| Enumerate namespaces |
| Probe service |
Configuration
Sources are merged in order: CLI args > env > ~/.kireo/config.json.
ENV / CLI | Default | Description |
| required | Bearer token ( |
|
| Override for self-host. |
|
| Per-request timeout in ms, max |
|
| 5xx/429 retries (alias: |
|
| Exponential backoff base. |
|
| Set to |
|
|
|
| none | HTTP(S) proxy. |
|
| Locale 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:
export KIREO_API_KEY=ki_sk_xxx
npx -y -p @kireo/mcp-server kireo index ./ --repo my-appIndexing is incremental — only changed files are re-sent on subsequent runs.
Flag | Default | Description |
| directory basename | Repo name → |
|
| Symbols per upload batch ( |
|
| Per-request timeout (max |
| — | 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.cjsto verify locally.
License
MIT
Maintenance
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA self-hosted MCP server that provides AI assistants with a shared, persistent SQLite-backed memory for storing and retrieving project context, decisions, and discoveries. It enables cross-session continuity and team-wide knowledge sharing to keep AI coding tools aligned and informed.3MIT
- AlicenseAqualityAmaintenanceA production-grade long-term memory MCP server that enables AI agents to persist and recall memories across sessions with importance weighting, confidence calibration, and efficient context window management.91MIT
- AlicenseNot gradedqualityDmaintenanceA lightweight MCP server that provides long-term memory for LLMs by storing and retrieving important facts, decisions, and preferences through smart semantic search and automatic organization.10MIT
- AlicenseAqualityBmaintenanceA long-term memory MCP server for AI agents that stores memories (facts, decisions, etc.) in a single SQLite database with hybrid search and full edit history, ensuring consistency across sessions.24MIT
Related MCP Connectors
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Cloud-hosted MCP server for durable AI memory
Shared long-term memory vault for AI agents with 20 MCP tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wang1051992187/kireo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server