# mindmap-mcp-server

Saves session context locally and hands it off between AI coding tools. Lets you resume work across different editors without explaining projects again.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 6
- Author: ravi-labs
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ravi-labs/mindmap-mcp-server
- Updated: 2026-07-06
- HTML: https://affpapa.org/en/nevibecode/mcp/mindmap-mcp-server

## What it does

The server acts as a shared local memory layer for desktop coding assistants. Once a task concludes in one editor, the model captures state to plain files in `~/.mindmap/`. You can redirect this storage using the `MINDMAP_DIR` environment variable. Everything stays on the local disk.

Unused notes gradually cool down into single-line traces rather than disappearing. Picking up a topic again restores it to active memory. Users can organize records into collections like goals or paused tasks, which shields them from cooling down. Browser-based interfaces such as ChatGPT cannot reach this server because it exposes no external public endpoint.

Running the installer wires a `SessionEnd` hook directly into Claude Code. The process starts over stdio using `npx`.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mindmap-mcp-server -- npx -y @ravi-labs/mindmap-mcp-server
```

### Codex

**Platform CLI**
```bash
codex mcp add mindmap-mcp-server -- npx -y @ravi-labs/mindmap-mcp-server
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mindmap-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@ravi-labs/mindmap-mcp-server"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mindmap-mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@ravi-labs/mindmap-mcp-server"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add mindmap-mcp-server npx -y @ravi-labs/mindmap-mcp-server
```

## When to use it
- transfer conversation context between separate AI editors
- resume an unfinished task right where you paused
- prevent important project decisions from decaying
- share local session notes without third-party cloud sync

## Example prompts
- Save this session to mind map
- Resume my work on the database migration
- Show unfinished projects stored in memory

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
