mindmap-mcp-server

v0.5.0
io.github.ravi-labs/mindmap-mcp-server Checked 5 days ago Published 5 months ago

Local-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…

ParameterTypeDescription
summary *stringPortable context summary (markdown ok)
title *stringShort topic title
key_pointsarrayScannable discussion points
kindstringThread kind
linksarrayids of related threads to link
next_stepsarrayOpen work / where you left off — so resuming can continue
sourcestringOrigin tool, e.g. 'claude-code', 'chatgpt', 'chat', 'cowork', 'claude-desktop'.
tagsarrayTopic tags for filtering
workspacestringAbsolute 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…

ParameterTypeDescription
idstringResume this specific memory id (e.g. a picked choice)
querystringTopic / what you want to restart (natural language)
sourcestringRestrict 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).

ParameterTypeDescription
query *stringWhat the user wants to resume
sourcestringRestrict 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…

ParameterTypeDescription
topic *stringBrainstorm topic / question

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.

ParameterTypeDescription
include_archivedbooleanInclude archived traces
limitintegerMax results
sourcestringFilter by origin tool
tagstringFilter by tag
tierstringFilter 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.

ParameterTypeDescription
id *stringThread 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.

ParameterTypeDescription
id *stringThread 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.

ParameterTypeDescription
id *stringThread 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.

ParameterTypeDescription
id *stringThread id
appendbooleanAppend instead of replace
key_pointsarrayNew (or appended) key points
summarystringNew (or appended) summary
tagsarrayReplace tags
titlestringNew title

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.

ParameterTypeDescription
dry_runbooleanPreview 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.

ParameterTypeDescription
id *stringThread id
hardbooleanPermanently 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.

ParameterTypeDescription
limitintegerHow 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.

ParameterTypeDescription
gamificationbooleanEnable health/tidy surface
hot_window_daysnumberDays a thread stays hot
promoted_longevity_factornumberHow much slower promoted memories decay
warm_window_daysnumberDays 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.

ParameterTypeDescription
projectstringCurrent 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…

ParameterTypeDescription
category *stringWhich dimension this preference is about
text *stringThe preference statement
polaritystringprefer / avoid / fact
projectstringScope 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.

ParameterTypeDescription
id *stringPersona fact id
hardbooleanPermanently 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…

ParameterTypeDescription
baseUrlstringBase URL for ollama / self-hosted
modelstringModel name override
providerstringLLM 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.

ParameterTypeDescription
limitintegerMax 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.

ParameterTypeDescription
pathstringOutput 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.

ParameterTypeDescription
file *stringPath to the file to import
kindstringFile 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.

ParameterTypeDescription
forcebooleanWrite even if tool not detected
targetsarrayTarget 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…

ParameterTypeDescription
reimportbooleanRefresh already-imported sessions too
sourcestringWhich source(s) to import