mindmap-mcp-server
v0.5.0Local-first memory & context-handoff across AI tools — capture in one, resume in another.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mindmap_capture Capture context
Silently save a portable context summary from the current session so it can be resumed later in any tool. This is the effortless 'capture' half of the loop. New captures start as 'captured' (warm tier); they become trusted 'promoted' memories the first time you resume them. CALL THIS PROACTIVELY (you don't need to be asked) when: a substantive discussion is wrapping up; the user says they're done / switching tasks / "remember this" / "save this"; a key decision, plan, or conclusion was reached; or the user signals they'll continue later. Write the summary so a future session in a DIFFERENT to…
| Parameter | Type | Description |
|---|---|---|
summary * | string | Portable context summary (markdown ok) |
title * | string | Short topic title |
key_points | array | Scannable discussion points |
kind | string | Thread kind |
links | array | ids of related threads to link |
next_steps | array | Open work / where you left off — so resuming can continue |
source | string | Origin tool, e.g. 'claude-code', 'chatgpt', 'chat', 'cowork', 'claude-desktop'. |
tags | array | Topic tags for filtering |
workspace | string | Absolute project/workspace folder this is about — lets resume suggest where to continue |
mindmap_resume Resume context
Restart a topic by describing it in plain words — "pick up the promotion-roadmap discussion", "continue the buyer-service refactor". Resolves your description to the best match, then reassembles the WHOLE topic: the anchor memory plus its linked + closely-related fragments (a topic is usually spread across several sessions/tools), merged into one thread to continue from. Promotes the anchor on reuse. If captured, surfaces "where you left off" (next steps) so you can keep going, not just re-read. CALL THIS PROACTIVELY at the START of a session when the user references prior work — "let's c…
| Parameter | Type | Description |
|---|---|---|
id | string | Resume this specific memory id (e.g. a picked choice) |
query | string | Topic / what you want to restart (natural language) |
source | string | Restrict to this origin tool |
mindmap_resume_options List topics to resume (let the user pick)
When the user's description is ambiguous or could match SEVERAL different topics, list the distinct candidate topics — each with the workspace it lived in — so you can ASK the user which one to resume instead of guessing. Read-only: promotes nothing. After the user picks, call mindmap_resume with that choice's id. Args: - query (string): the user's natural-language description - source (string): restrict to one origin tool (optional) Returns: up to 5 distinct candidate topics (id, title, workspace, source, last used).
| Parameter | Type | Description |
|---|---|---|
query * | string | What the user wants to resume |
source | string | Restrict to this origin tool |
mindmap_brainstorm Brainstorm with memory
Start (or continue) a brainstorm on a topic WITH your shared memory. This pulls your prior thinking on the topic — past brainstorms first, then related discussions and your persona — so an idea you explored in one tool continues seamlessly in another. It does NOT replace your own brainstorming ability: use this to load context, then brainstorm with your full capability (and any brainstorming skill you have), then save the result. CALL THIS PROACTIVELY when the user wants to brainstorm / ideate / "think through" / "explore options" on something that may have history. Reusing a past brainst…
| Parameter | Type | Description |
|---|---|---|
topic * | string | Brainstorm topic / question |
mindmap_search Search memories
Search across all saved context (every tier, every tool) to relocate a past discussion. Read-only — does not change freshness or tiers (use mindmap_resume to actually pull a memory forward). Args: - query (string): keywords; empty string browses by recency - source/tag/tier: optional filters - include_archived (boolean): include forgotten traces (default false) - limit (number): max results (default 10) Returns: ranked list of matching memories.
| Parameter | Type | Description |
|---|---|---|
include_archived | boolean | Include forgotten traces |
limit | integer | Max results |
query | string | Keywords; empty = browse by recency |
source | string | Filter by origin tool |
tag | string | Filter by tag |
tier | string | Filter by tier |
mindmap_list List memories
List saved memories with optional filters, newest-used first. Read-only. Args: source/tag/tier filters, include_archived (default false), limit (default 20). Returns: list of memories.
| Parameter | Type | Description |
|---|---|---|
include_archived | boolean | Include archived traces |
limit | integer | Max results |
source | string | Filter by origin tool |
tag | string | Filter by tag |
tier | string | Filter by tier |
mindmap_get Get a memory
Fetch the full content of one memory by id. Read-only (does not change freshness). Args: id (string). Returns: the full thread.
| Parameter | Type | Description |
|---|---|---|
id * | string | Thread id |
mindmap_transcript Full discussion
Reconstruct and return the FULL original conversation for a memory (every user + assistant turn), read live from its source transcript. The summary is the distilled gist; this is the complete discussion when you need the detail. Only available for transcript-backed sources (Claude Code, Cursor, Copilot). Cowork / Claude desktop-app sessions saved no transcript, so this returns a notice instead. Args: id (string). Returns: the full discussion as turns, or why it's unavailable.
| Parameter | Type | Description |
|---|---|---|
id * | string | Thread id |
mindmap_promote Promote a memory
Explicitly bless a memory as trusted: marks it 'promoted' and moves it to the hot tier so it ranks first and decays slower. Use when you know a memory matters even if you haven't resumed it yet. Args: id (string). Returns: the updated thread.
| Parameter | Type | Description |
|---|---|---|
id * | string | Thread id |
mindmap_update Update / trim a memory
Edit a memory — the human curation moment. Trim a stale summary, refine key points, retitle, or retag. Any omitted field is left unchanged. Set append=true to append to summary/key_points instead of replacing. Args: id, title?, summary?, key_points?, tags?, append (default false). Returns: the updated thread.
| Parameter | Type | Description |
|---|---|---|
id * | string | Thread id |
append | boolean | Append instead of replace |
key_points | array | New (or appended) key points |
summary | string | New (or appended) summary |
tags | array | Replace tags |
title | string | New title |
mindmap_link Link two memories
Connect two memories so related threads (e.g. planning in Chat + code in Claude Code) cross-reference each other. Bidirectional. This is the lightweight 'map' connective tissue. Args: id (string), target_id (string). Returns: confirmation.
| Parameter | Type | Description |
|---|---|---|
id * | string | First thread id |
target_id * | string | Second thread id |
mindmap_prune Prune / consolidate memory
Run the consolidation pass that the background thread runs automatically: recompute every memory's tier by age + usage, cooling unused ones and collapsing cold ones to a one-line trace (still searchable, never deleted). Nothing is destroyed. Args: dry_run (boolean, default false) — preview changes without writing. Returns: what moved between tiers.
| Parameter | Type | Description |
|---|---|---|
dry_run | boolean | Preview without writing changes |
mindmap_forget Forget a memory
Forget a memory. By default this is a soft forget: status→archived, kept only as a searchable one-line trace (recall never hard-fails). Set hard=true to permanently delete the file. Args: id (string), hard (boolean, default false). Returns: confirmation.
| Parameter | Type | Description |
|---|---|---|
id * | string | Thread id |
hard | boolean | Permanently delete instead of archive |
mindmap_health Memory health
The opt-in gamified curation surface. Reports a cleanliness score — the share of memory that is still live (hot+warm) vs stale — which rewards pruning, not hoarding. Also lists stale candidates worth a tidy pass. Args: none. Returns: health report.
mindmap_tidy Tidy pass
Return a small batch of the stalest memories for a quick keep / trim / forget review — the opt-in curation game. Read-only: it only suggests. Act on items with mindmap_promote (keep), mindmap_update (trim), or mindmap_forget. Args: limit (number, default 5). Returns: stalest cold memories.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many to review |
mindmap_config View / change settings
View or change Mind Map settings: decay windows, the promoted longevity factor, and the gamification toggle. Omit all args to just view current settings. Args (all optional): hot_window_days, warm_window_days, promoted_longevity_factor, gamification. Returns: the effective config.
| Parameter | Type | Description |
|---|---|---|
gamification | boolean | Enable health/tidy surface |
hot_window_days | number | Days a thread stays hot |
promoted_longevity_factor | number | How much slower promoted memories decay |
warm_window_days | number | Days before warm→cold |
mindmap_persona Get user persona
Return the user's persona — a distilled profile of how they work (stack, style, communication, constraints), so you can make aligned defaults and AVOID re-asking things they've already established. CALL THIS PROACTIVELY at the start of a session before asking the user setup-style questions (their stack, preferences, conventions). Apply high-confidence facts silently; only ask when something needed isn't covered. Args: - project (string, optional): include preferences scoped to this project on top of global ones. Returns: an "About this user" block + fact count.
| Parameter | Type | Description |
|---|---|---|
project | string | Current project name for scoped prefs |
mindmap_persona_set Record a user preference
Save a durable preference about how the user works, so future sessions don't re-ask. Use this when the user states a lasting preference — "I prefer X", "always Y", "never Z", "I'm on macOS", "we use Postgres". (For saving a *discussion*, use mindmap_capture instead — this is for standing preferences.) Args: - text (string): the preference, e.g. "Prefers concise, code-first answers" - category: identity | stack | style | communication | constraints | workflow | goals - polarity ('prefer'|'avoid'|'fact'): default 'prefer' - project (string, optional): scope to one project instead of…
| Parameter | Type | Description |
|---|---|---|
category * | string | Which dimension this preference is about |
text * | string | The preference statement |
polarity | string | prefer / avoid / fact |
project | string | Scope to a project (default: global) |
mindmap_persona_forget Forget a preference
Remove or mute a persona fact (e.g. it's wrong or out of date). Get ids from mindmap_persona. Default mutes (recoverable); hard=true deletes. Args: id (string), hard (boolean, default false). Returns: confirmation.
| Parameter | Type | Description |
|---|---|---|
id * | string | Persona fact id |
hard | boolean | Permanently delete instead of mute |
mindmap_persona_learn Infer persona from memory
Derive persona facts from your existing memories. If you've configured an LLM (mindmap_llm), it extracts richer facts — style, constraints, workflow; otherwise it runs a no-LLM keyword heuristic over your stack/tools. Either way, inferred facts get lower confidence than declared ones and never override what you've explicitly set. Args: none. Returns: how many facts were added/updated and which path ran.
mindmap_llm Configure optional LLM (BYO key)
Mind Map runs fully WITHOUT an LLM. This is opt-in: plug in your OWN provider to unlock smarter features (LLM-assisted persona inference, richer summaries). Security: Mind Map stores only the provider + model name. It NEVER stores your API key — the key is read from your environment (ANTHROPIC_API_KEY / OPENAI_API_KEY / GOOGLE_API_KEY; ollama needs none). Set the env var yourself. Args (all optional — omit all to just see status): - provider: none | anthropic | openai | google | ollama - model: override the default model - baseUrl: for ollama / self-hosted (default http://localhost…
| Parameter | Type | Description |
|---|---|---|
baseUrl | string | Base URL for ollama / self-hosted |
model | string | Model name override |
provider | string | LLM provider, or 'none' to disable |
mindmap_audit Audit what's stored (glass-box)
Show a transparent ledger of everything Mind Map knows — each memory's provenance (where it came from), trust (promote-on-reuse count), tier, last use, and when it will fade to a one-line trace. Use when the user asks "what do you know about me?", "what's stored?", or wants to review/clean their memory. Args: limit (number, optional, default 30). Returns: the ledger rows.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max rows |
mindmap_passport_export Export memory passport
Export all memories + persona to a single portable JSON file you own — to back up, move to another machine, or hand to a fork. This is your context, extractable. Args: path (string, optional) — output file (default ~/mindmap-passport-<date>.json). Returns: the file path and counts.
| Parameter | Type | Description |
|---|---|---|
path | string | Output file path |
mindmap_passport_import Import memory passport / data export
Bring context IN. Either a Mind Map passport file (from another machine), or pull your conversations OUT of a walled garden by pointing at its exported data file: - kind 'passport' (default): a Mind Map passport JSON - kind 'chatgpt': ChatGPT's exported conversations.json - kind 'claude': Claude.ai's exported conversations.json The cloud chats themselves can't be reached live, but their EXPORT FILES are yours — this imports them as distilled memories. Args: file (string, required), kind ('passport'|'chatgpt'|'claude', default 'passport'). Returns: import counts.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the file to import |
kind | string | File kind |
mindmap_persona_sync Write persona into your tools
Project the user's persona into the native instruction files of their AI tools (Claude CLAUDE.md, Cursor rules, Copilot instructions, Windsurf rules), so even non-MCP tools know how they work — from one source. Writes only inside a managed block; never clobbers the user's own content. By default writes the global Claude config + any detected project tools. Args: - targets (string[], optional): specific target ids (claude-global, claude-project, cursor, copilot, windsurf) - force (boolean, optional): write even if a tool isn't detected Returns: per-target outcomes.
| Parameter | Type | Description |
|---|---|---|
force | boolean | Write even if tool not detected |
targets | array | Target ids to write |
mindmap_import Import / sync sessions
Scan your local AI-tool history and import any NEW sessions into Mind Map — across Claude Code, Cursor, Copilot, and Cowork. Use this when the user says things like "import my sessions", "sync mind map", "update mind map with my latest work", "pull in my recent sessions", or "refresh my memory". (Mind Map also auto-imports periodically if enabled, but this does it on demand, now.) Args: - source ('all'|'code'|'cursor'|'copilot'|'cowork'): limit to one source (default all) - reimport (boolean): also refresh already-imported sessions in place (default false) Returns: how many sessions wer…
| Parameter | Type | Description |
|---|---|---|
reimport | boolean | Refresh already-imported sessions too |
source | string | Which source(s) to import |