Kage MCP server
com.kage-core/kage·v2.3.0·33 starsVerified memory for coding agents: claims cited against code, stale withheld, savings receipts.
33 stars100 downloads/wk
Reviews
Write oneNobody has reviewed Kage yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Kage tools (65, 7 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
kage_auditAudit whether repo memory and code intelligence are trustworthy: validation, memory inbox, structured context coverage, code graph precision, graph links, and concrete recommendations.
kage_benchmarkReturn Kage proof metrics, or set mode=memory_quality / memory_scale for synthetic memory retrieval benchmarks.
kage_benchmark_compareCompare the same task on the same repo with and without Kage. Reports estimated baseline discovery tokens/steps versus Kage recall/code-graph context, with evidence and caveats.
kage_branch_overlayBuild and return branch overlay metadata: branch, head, merge-base, changed files, and pending packet IDs.
kage_capabilitiesReturn an evidence-backed Kage memory-system capability audit across repo memory, collaboration/session proof, benchmarks, and dashboard/viewer readiness.
kage_capturewrite actionCreate a repo-local Kage memory packet immediately. Org/global promotion still requires explicit human review. Capture is rejected if every referenced path is missing from the repo; set allow_missing_paths to record anyway.
kage_cleanup_candidatesFind conservative cleanup candidates from Kage's code graph. Reports unreferenced source files, unused exports, and internal-looking unused symbols with confidence and reasons; never auto-deletes.
kage_code_graphQuery the source-derived codebase graph: files, symbols, imports, calls, routes, tests, package scripts. This is generated from code, not learned memory.
kage_code_indexwrite actionWrite external code index artifacts consumed by the code graph. Prefers SCIP when scip-typescript and scip are installed, then falls back to the built-in LSP-compatible symbol index.
kage_compactConsolidate repo memory: prune dead citations, deprecate hard-stale packets, and surface near-duplicate clusters to merge (via kage_supersede). Defaults to a dry run; pass dry_run=false to apply pruning/deprecation. Duplicate merging stays an agent decision — no hosted LLM is used.
kage_conflictsList repo-local memory packet pairs that contradict each other (same cited path, same subject, opposing claim). Resolve each with kage_supersede, or keep both intentionally.
kage_contextPrimary kage entry point. Validates memory health, recalls relevant packets, and queries both the code graph and knowledge graph — all in one call. Call this at the start of every task instead of calling kage_validate, kage_recall, kage_code_graph, and kage_graph separately.
kage_context_slot_deletewrite actionDelete a repo-local context slot by label.
kage_context_slot_setwrite actionCreate or update a repo-local pinned context slot. Use for durable, high-signal repo guidance that should always be included without loading all memory.
kage_context_slotsList repo-local pinned context slots. Pinned slots are small, reviewable facts that Kage includes in recall/context before task-specific memory.
kage_contributorsBuild local contributor profiles from git history: commits, recent activity, touched files, modules, ownership silos, hotspot ownership, and commit category mix.
kage_decisionsSummarize Kage why-memory for a repo: decisions, gotchas, runbooks, conventions, code explanations, path coverage, weak/stale memory, and important code paths that still lack decision memory.
kage_dependency_pathFind how two files are connected in Kage's source-derived code graph. Reports direct dependency direction, reverse impact direction, or undirected graph connection.
kage_distillDistill stored observations for one session into repo-local memory candidates. Org/global promotion still requires explicit human review.
kage_docs_searchSearch this repo's OWN committed documentation (README, docs/**, *.md, common doc dirs — including any framework/API docs checked into the repo). BM25 over heading-anchored chunks from .agent_memory/indexes/docs-index.json. Returns ranked doc hits with doc_path, heading, line, and snippet. This indexes only files on disk in the project, never the internet.
kage_feedbackRecord usefulness feedback on an approved repo-local memory packet: helpful, wrong, or stale.
kage_fetchFetch the full content of a specific node from the kage knowledge graph. Use after kage_search to get the complete fix, pattern, or decision.
kage_graphQuery the repo-local Kage knowledge graph. Returns typed, evidence-backed graph facts from entities, edges, and episodes.
kage_graph_insightsReturn deterministic code graph intelligence: central files, dependency cycles, import communities, and short entry flows. Use to orient agents before broad architectural edits.
kage_graph_registryBuild a signed graph-registry manifest for generated memory graph, code graph, indexes, metrics, audit, inbox, source packet IDs, packet hashes, and repo git state.
kage_graph_visualExport the repo-local Kage knowledge graph as Mermaid flowchart text for visual inspection.
kage_inboxReturn an actionable memory review inbox: pending packets, stale packets, duplicates, missing structured context, validation issues, and recommended actions.
kage_install_policyInstall or update the repo AGENTS.md policy that tells coding agents to use Kage automatically.
kage_learnCapture an actual reusable learning from the current session as repo-local memory. Prefer this over diff proposal when the agent knows what was learned. Capture is rejected if every referenced path is missing from the repo; set allow_missing_paths to record anyway (e.g. a file you are about to create).
kage_learning_ledgerReturn an agent-facing ledger that classifies observed session events into save, ignore, needs-evidence, or already-distilled memory decisions.
kage_list_domainsList all domains in the kage knowledge graph with their node counts and top tags. Use to orient before searching.
kage_memory_accessReport which repo-local memory packets have actually been recalled recently. This uses local ignored access telemetry and does not mutate shareable packet files.
kage_memory_auditReturn the repo-local audit trail for explicit memory mutations: capture, feedback, review, supersede, deprecate, and delete.
kage_memory_handoffReturn a teammate/agent handoff queue by combining memory inbox, lifecycle, audit, timeline, and lineage into concrete next actions.
kage_memory_lifecycleReturn a repo-local memory lifecycle report: healthy, hot, cold, stale, disputed, ungrounded, pending, generated, and concrete review actions.
kage_memory_lineageReturn memory supersession chains so agents can use current replacement packets and keep retired memory as audit history.
kage_memory_reconcileReturn agent-owned memory reconciliation work when source files linked to existing memory changed. Agents must update, supersede, or mark stale memory before final handoff.
kage_memory_timelineReturn recent repo-memory activity for teammate handoff: added, updated, pending, and deprecated packets with review actions.
kage_metricsReturn concise Kage adoption and quality metrics: code graph counts, language/parser coverage, memory graph evidence coverage, pending/approved packets, validation state, and readiness score.
kage_module_healthReturn local module health scorecards from Kage's code graph, test signals, cleanup candidates, git churn, and ownership concentration.
kage_observeStore an automatic local observation event from an agent session. Observations are privacy-scanned, deduplicated, and never published automatically.
kage_pr_checkCheck whether repo memory, code graph, memory graph, and stale-memory state are ready for merge. Leads with a human summary of team memories invalidated by the current change — relay it to the developer.
kage_pr_summarizewrite actionCreate a PR/branch memory summary from local git diff metadata and write repo-local change memory. Use when a branch is ready to hand off.
kage_profileReturn a compact project profile for agent orientation: repo totals, languages, top code+memory concepts, key files, memory focus, run commands, and next actions.
kage_propose_from_diffwrite actionCreate or update a branch review summary and repo-local change-memory packet from local git status and diff metadata. Org/global promotion still requires explicit human review.
kage_qualityReturn memory quality metrics: useful memory ratio, duplicate burden, stale/wrong feedback, evidence coverage, path grounding, and review queue size.
kage_recallRecall repo-local Kage memory from .agent_memory packets. Returns an agent-ready context block plus ranked packet summaries.
kage_refreshRebuild repo indexes, code graph, memory graph, metrics, and stale-memory metadata. Agents should run this after meaningful file/content changes before PR checks; push-only or same-tree commits do not need another refresh. On non-default git branches metadata-only packet rewrites are skipped (quiet refresh) to avoid merge conflicts; pass force to persist them anyway.
kage_registry_recommendRecommend documentation packs, skills, and optional MCPs for this repo based on its package metadata. Recommendations never install anything automatically.
kage_review_artifactwrite actionCreate a Markdown review artifact summarizing pending memory packets for PR or human review.
kage_reviewersSuggest reviewers for target or changed files from local git authorship, recent edits, and code-graph co-change ownership. Does not contact GitHub or external services.
kage_riskAssess modification risk for files using Kage's code graph plus local git history: dependents, impact surface, churn, ownership, co-change partners, and test gaps. Use before editing hotspot or shared files.
kage_searchSearch the kage community knowledge graph for gotchas, patterns, configs, and architectural decisions across auth, database, payments, deployment, frontend, testing, and more. Returns node summaries ranked by relevance.
kage_session_replayReturn a privacy-preserving replay digest for observed agent sessions: timeline, touched paths, commands, durable candidates, and distill actions without raw transcript text.
kage_sessionsSummarize local agent observation sessions, durable capture candidates, and next distillation actions without exposing raw transcript replay.
kage_setup_agentGenerate MCP/setup instructions for Codex, Claude Code, Cursor, Windsurf, Gemini CLI, OpenCode, Cline, Goose, Roo Code, Kilo Code, Claude Desktop, Aider, or generic MCP.
kage_setup_doctorAudit Kage setup across supported agents, including Claude Code ambient hook readiness when applicable.
kage_structural_indexBuild the complete cache-backed structural index for large repos. This covers all supported source/config/doc files and writes .agent_memory/structural artifacts separate from learned memory.
kage_supersedeMark one repo-local memory packet as superseded by a replacement packet and write bidirectional lineage edges.
kage_validateValidate repo-local Kage memory packets, pending packets, generated indexes, and sensitive-content checks.
kage_verify_agentVerify that Kage is truly active for the current agent: config, repo policy, indexes, recall, code graph, and this live MCP tool reachability.
kage_verify_citationsVerify that a memory packet's cited file paths still exist and that the memory is not stale, before trusting it. Pass an id to check one packet, or omit to audit all approved repo memory. Returns grounding and staleness for each.
kage_workspaceSummarize a local multi-repo workspace: discovered git repos, Kage memory coverage, code graph counts, package dependencies, route contracts, topic/event contracts, and cross-repo co-change links between repos. Use when a task spans multiple sibling repos.
kage_workspace_recallRecall Kage memory across every indexed repo in a local workspace and rank the combined hits. Use for cross-repo teammate knowledge and shared context.
kage_xrayReturn a first-use Repo X-Ray: code structure layers for entry points, core files, risk, tests, memory overlay, and knowledge gaps.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan11 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 29 days ago15/15
- Maintainer identityregistry namespace matches repository owner7/10
How Kage compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 91/100
- higher than 85% of 48,255 servers
- Tools
- 65
- the typical server has 7
- Tools that change things
- 11%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 33
- more than 92% of 28,688 servers
- Downloads a week
- 100
- more than 63% of 12,191 servers with a package
What its tools let an agent do: 58 read · 7 change
Install Kage in Claude Code, Cursor or VS Code
Runs npx -y @kage-core/kage-graph-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add kage -- npx -y @kage-core/kage-graph-mcp
What the publisher says
From the Kage repository's README, as published. We do not edit it. Read it on GitHub
Kage manages your memory and agents
State an intent. Kage's orchestrator briefs a coding agent from your repo's own memory, runs it in an isolated git worktree — a single run or a multi-wave goal — and re-runs the checks itself rather than trusting the agent's report:
┌ VERIFIED 3/3 — checks run by Kage, not the agent · build-a-stale-memory-triage-surface-do-n-260818-ec2c
│ "the stale-memory triage surface is built and wired into the review flow"
│ ✓ tests ran npm test --prefix mcp → exit 0 evidence/tests.log
│ ✓ diff-size inspected at most 800 changed lines evidence/diff-size.log
│ ✓ citations inspected every formally cited path exists (directly, or as a unique suffix) in the worktree evidence/citations.log
│ · touched 4 file(s), 212 line(s)
└────────────────────────────────────────────────────────────────A real receipt from this repo's own run history. Every row is a command Kage ran or a fact it inspected — never a claim the agent made about itself. kage merge only lands the code once the claim holds, and ratifies what the agent learned, so the next brief, yours or a teammate's, starts smarter.
That memory is the decisions behind your codebase, the runbook for a tricky deploy, the root cause of a gnarly bug — captured as your agents work and checked against the actual code, so what gets reused stays true. It's kept as plain Markdown files in your repo, conformant to the Google Open Knowledge Format (OKF) so there's no lock-in, and shared with your whole team through git. No account, no database, no API key.
npx -y @kage-core/kage-graph-mcp installWebsite · Docs · Live viewer · npm · Book a demo
Works with Claude Code · Codex · Cursor · Windsurf · Gemini CLI · Cline · Goose · Roo Code · Kilo Code · OpenCode · Aider · Claude Desktop · Copilot · OpenClaw · Hermes · any MCP client
🌐 English · 简体中文 · 日本語 · 한국어 · Español · Português (Brasil) · Français · Deutsch · हिन्दी
Install
One command, inside your repo, then restart your agent. That's the whole setup.
npx -y @kage-core/kage-graph-mcp installShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Kage: common questions
- Is Kage MCP server safe?
- Yes, by our scan: it is graded A (91/100). Read the Kage safety report
- How do I install Kage?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Kage need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Kage maintained?
- The last commit was 67 days ago (2026-08-29). The latest release is v2.3.0.
- What can I use instead of Kage?
- Servers from other publishers that do the same job: color-space MCP server, Deja Vu MCP server and Nautilus Compass Memory MCP server. Compare all Kage alternatives.
- How does Kage compare with other MCP servers?
- safety score 91/100 (higher than 85% of 48,255 servers); tools 65 (the typical server has 7); tools that change things 11% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Kage
Same job from other publishers: the closest match first, then the best rated.
- color-spaceConversions across 221 color spaces, tested against cited sources: CSS strings, gamut, LUTsnot reviewedWidely usedA
- Deja Vudeja-vu: local memory over the session histories of forty-three coding agents.not reviewedEstablishedA
- Nautilus Compass MemoryLocal-first long-term memory for AI agents, with byte-recomputable signed verification receipts.not reviewedEstablishedB
KnowlPersistent memory for AI agents, for code, research and everyday life. Stale facts retire.not reviewedEstablishedA