1. Conduid
  2. Science
  3. Kimi Code Memory MCP Server
MCP server · Science

Kimi Code Memory MCP Server

Local stdio MCP server providing cross-session memory for Kimi Code CLI

50Fair

Scored 8 hours ago · breakdown

About Kimi Code Memory MCP Server

Kimi Code Memory MCP Server is an MCP server published by Zehee in the Science category: local stdio MCP server providing cross-session memory for Kimi Code CLI. Conduid read 24 tools from its source: bootstrap_workspace, delete, delete_search_view, delete_theme, get_current_workspace, list and 18 more. It is published to npm as kimi-code-memory-mcp-server and starts with npx.

The repository has 5 stars and 1 forks, and its last commit was on 23 Nov 2026. Conduid has no tagged release on record for it. Its topics include memory, kimi, kimi-code, cli, kimi-memory and cross-session.

Install

Claude Code
claude mcp add kimi-code-memory-mcp-server -- npx -y kimi-code-memory-mcp-server
npx
npx -y kimi-code-memory-mcp-server
From source
git clone https://github.com/Zehee/kimi-code-memory-mcp-server

Tools (24)

bootstrap_workspaceSession bootstrap: loads workspace context, essence, notes refs, and a memory index tree with recent changes marked [new].
ParameterTypeDescription
detailed_roundsnumberNumber of most recent rounds to return in full detail.
forcebooleanIf true, return recent context even when the current session already has turns.
summary_roundsnumberNumber of preceding rounds to return as summaries.
deleteDelete a memory entry by key and folder.
ParameterTypeDescription
folderstringSubfolder (default: memory)
key *stringMemory key
delete_search_viewDelete a saved search view. Set deleteRefinedTurns to true to also remove the refined rows referenced only by this view. This invalidates the current cache rather than creating a tombstone: the background indexer will rebuild missing rows from the wire on a later pass. Rows still referenced by another search view or by a theme are kept and reported as skippedSharedRefinedTurns.
ParameterTypeDescription
deleteRefinedTurnsbooleanIf true, also delete all refined turns referenced by this view.
key *stringSearch view key without extension: "search-<12 hex>" (legacy) or "search-v2-<32 hex>".
delete_themeDelete a theme association file. This does not delete the refined turns or memories referenced by the theme.
ParameterTypeDescription
theme *stringTheme identifier to delete
get_current_workspaceReturn the current cwd, workspace id and store path.
listList memory entries in the workspace, sorted by most recently updated.
ParameterTypeDescription
folderstringFilter to a specific subfolder
limitnumberMaximum number of entries to return (default: all)
tagstringFilter to entries containing this tag
list_search_viewsList saved search views. Each view records the clusters discovered by a previous search_context call. Use these views as candidate sets before creating or extending a theme.
ParameterTypeDescription
limitnumberMaximum number of recent views to return
list_tagsList all tags used in the current workspace.
list_themesList all theme identifiers stored in the current workspace.
load_more_contextLoad older conversation rounds from the active wire.jsonl, summarized, before a given turn id.
ParameterTypeDescription
before_turn_id *numberExclusive turn id; return rounds older than this.
limitnumberMaximum number of older rounds to return.
load_turn_contextLoad the full detailed content of specific conversation turns by sessionId and turnId.
ParameterTypeDescription
references *arrayArray of { sessionId, turnId } references identifying the conversation rounds to load
moveMove a memory entry to another folder, optionally renaming it.
ParameterTypeDescription
folderstringSource subfolder (default: memory)
key *stringMemory key
newKeystringOptional new key to rename the memory
toFolder *stringDestination subfolder
open_memory_dashboardOpens the memory dashboard in the default browser. Starts the dashboard server if it is not already running.
organize_memoriesTwo-stage workspace memory organizer. Empty call returns existing essence + pending memory files + rules. Call with content to store the organized essence.md.
ParameterTypeDescription
contentstringOrganized essence Markdown body. Key facts should cite sources inline using `> 来源:memory/<folder>/key`.
prepareTokenstringToken returned by the prepare stage. Store rejects with a conflict when the essence or memory files changed since prepare.
sourcesarrayOptional list of memory/ keys incorporated into the essence, returned in the tool result for tracking.
recallRead a memory entry by key and folder.
ParameterTypeDescription
folderstringSubfolder (default: memory)
key *stringMemory key
refine_session_turnsRead a session wire.jsonl and generate Refined Turn Summaries. Output is written to refined/<sessionId>.jsonl.
ParameterTypeDescription
limitnumberOptional limit: refine only the most recent N turns
sessionIdstringSession identifier (default: current session)
session_idstringAlias for sessionId
turnIdsarrayOptional list of turnIds to refine
rememberWrite or overwrite a memory entry as a Markdown file with YAML frontmatter.
ParameterTypeDescription
contentstringMarkdown body content. For decisions include rationale, impact, and related files. For rules include scope and consequence. For knowledge include scenario and related files/interfaces. For references include URL and relevance. Example decision: "# Use SQLite\n\n## Rationale\n- Single-file deployment\n- No extra service\n\n## Impact\nAll cache reads/writes go through src/cache.js.\n\n## Related files\nsrc/cache.js, docs/cache.md"
expectedRevisionnumberOptional optimistic concurrency check. The write is rejected when the stored revision differs.
folderstringSubfolder under the workspace (default: memory)
key *stringUnique identifier used as filename base
sensitivitystringVisibility hint stored in frontmatter.
sourceRefsarrayProvenance references recorded in frontmatter, e.g. "session-turn:<sessionId>:<turnId>" or a memory path. Omit to keep, empty array to clear.
supersedesarrayMemory keys/ids this entry replaces. Omit to keep, empty array to clear.
tagsarrayTags stored in YAML frontmatter. Omit to keep the current tags, pass an empty array to clear them.
themesarrayOptional theme names to associate with this memory
restore_memoryRestore a previously deleted memory from the trash back to its original folder and key. The stable id and revision are preserved and theme references are reactivated.
ParameterTypeDescription
folderstringSubfolder it was deleted from (default: memory)
key *stringMemory key to restore
rollback_essenceRestore a previous essence version from essence/history/. Without arguments restores the newest archive; pass revision to pick one. The current version is archived first, so a rollback is itself rollbackable.
ParameterTypeDescription
revisionnumberSpecific essence revision to restore (defaults to the newest archive).
searchCase-insensitive keyword search across memory titles and contents.
ParameterTypeDescription
folderstringLimit search to a subfolder
query *stringKeyword to search
search_contextSearch conversation rounds across all workspace session wires by keywords and optional date range. Default detail: 'normal' keeps output within ~6000 chars. Use detail: 'compact' for a quick overview (no match text, no cluster members). Use detail: 'full' when you need full match text and all cluster members.
ParameterTypeDescription
cluster_gap_secondsnumber相邻 turn 被归为同一「簇」的最大时间间隔(秒)。一个簇代表一段连续的讨论或决策。默认 90 秒;协作节奏慢可适当调大,话题切换快则调小。
cursorstringResume from the nextCursor returned by a previous partial search. Cursor pages do not report a global totalMatches.
date_fromstringOptional start date in YYYY-MM-DD format
date_tostringOptional end date in YYYY-MM-DD format
detailstringOutput detail level. 'normal' (default) returns truncated text and cluster members within the output budget. 'compact' returns only references/counts. 'full' disables the budget and returns longer text.
limitnumberMaximum number of matching rounds to return
max_cluster_sizenumber单个 cluster 最多包含的 turn 数,防止连续讨论过长时上下文爆炸。默认 15。
max_output_charsnumberMaximum output length in characters for normal mode. Default 6000. Ignored in compact/full.
query *stringKeywords to search for in conversation rounds
save_viewbooleanPersist this search as a search view. Default true. Set false for read-only guard checks so the search does not create state.
sync_workspace_indexReconciles index.json with the filesystem. Empty call scans and reports mismatches. Call with folderComments to set folder descriptions.
ParameterTypeDescription
folderCommentsobjectOptional map of folder paths to comments.
tag_theme仔细分析 turn 内容与 theme 确定相关后,将 turn 挂载到 theme。禁止仅凭关键词匹配挂载;必须确认内容 genuinely belongs to the theme 才可关联。如果 theme 不存在会自动创建。
ParameterTypeDescription
memoryFolderstringOptional memory folder (default: memory)
memoryKeystringOptional memory key to attach
memoryTitlestringOptional display title for the memory reference
sessionIdstringOptional session id of a conversation turn to attach
theme *stringTheme identifier. A theme is a semantic group, not a keyword tag.
turnIdnumberOptional turn id within the session
trace_themeTrace the evolution of a theme across sessions and memories. Returns associated turns and memories sorted by time.
ParameterTypeDescription
includeTurnContentbooleanIf true, load full turn content from wire.jsonl (default: false)
theme *stringTheme identifier

Security checks

6 checks have not been run yet.

Questions

About Kimi Code Memory MCP Server

How do I install Kimi Code Memory MCP Server?

In Claude Code, run claude mcp add kimi-code-memory-mcp-server -- npx -y kimi-code-memory-mcp-server. Other MCP clients take the command after "--" in their server configuration.

Is Kimi Code Memory MCP Server safe to use with an AI agent?

Its trust score is 50 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Kimi Code Memory MCP Server still maintained?

Yes — the last commit was 8 days ago. The repository has 5 stars and 1 forks.

What tools does Kimi Code Memory MCP Server provide?

Conduid read 24 tools from the source: bootstrap_workspace, delete, delete_search_view, delete_theme, get_current_workspace, list, list_search_views, list_tags and 16 more. 20 of them publish their parameters, listed under Tools above.