Mapache
A local MCP server that lets an AI agent read and edit Mapache mind-map and whiteboard boards (plain JSON files on your computer), with changes appearing live in the app.
Boards: list, read, search across text, create, rename/move/recolor, delete to trash, create folders
Mind maps: add branches from outlines, edit nodes (text, color, icon, checkbox, fold), move branches, delete nodes, add extra maps
Whiteboard items: add/edit/delete sticky notes, text, shapes, sections, stickers, tables, charts and video embeds
Connectors: draw labeled, styled arrows between nodes/items with self-routing paths
Comments: list threads, add comments with @mentions, reply, resolve or reopen
Export & open: save boards as HTML, PDF, PNG or SVG, and open a board in the person's browser
Live & safe: every edit saves a new revision, shows up live, and is undoable with Ctrl+Z
Tables can be filled with data copied from Google Sheets (or Excel) and turned into any of 17 chart types; agents can write tabular data into a table item and then attach a chart (column, bar, line, pie, etc.) built from it.
Supports embedding Loom videos on a board: a 'video' item can be created from a Loom URL, letting agents add screen-recording walkthroughs directly to a board.
Supports embedding Vimeo videos on a board: a 'video' item can be created from a Vimeo URL, so agents can drop a playable Vimeo embed into a whiteboard.
Supports embedding YouTube videos on a board: add_items (and update_items) can create a 'video' item from a YouTube URL, placing the video as a playable embed on the whiteboard alongside mind maps, notes and charts.
Why Mapache?
Most whiteboard tools want an account, a monthly fee and a copy of your ideas on their servers. Mapache is a folder you run on your own computer. Your boards are plain files on your disk, it opens instantly, it keeps working on a plane, and your AI agent can read them and build on them with you.
β‘ Fast like a native app. No framework, no build step, no loading spinners.
π§ Mind maps that keep up with you. Tab for a child, Enter for a sibling, drag to re-parent, colored branches, and as many maps as you want on one board.
π¨ A real whiteboard around them. Sticky notes, 12 shapes, sections, connectors that route around objects, freehand drawing with shape recognition, images and videos.
π Data built in. Paste a table from Excel or Google Sheets and turn it into any of 17 chart types.
π¬ Comments and mentions. Pin a comment anywhere, reply, resolve, and @mention people (or let your agent leave notes for you to review).
π€ Made for AI agents. A built-in MCP server lets Claude, Codex, Cursor and friends read your boards and create mind maps, notes, flowcharts and tables. You watch them appear live.
π Yours, for real. Local-first, no telemetry, plain JSON files you can read, back up or put in Git. AGPL-3.0.
Mapache | Typical SaaS whiteboard | |
Price | Free | Free tier, then per seat |
Account required | No | Yes |
Where your boards live | Files on your computer | Their cloud |
Works offline | Yes | Limited |
Your AI agent can read and edit boards | Yes, locally (MCP) | Through their cloud, if at all |
Team server with accounts and live cursors | Yes, self-hosted with Docker | Their cloud, per seat |
Open source and self-hostable | Yes | No |
Dependencies to install | 0 | β |
Related MCP server: excalidraw
π€ Let your AI agent install it
Not technical? Give this to your AI agent (Claude Code, Codex, Cursorβ¦) and it does everything for you:
Install Mapache for me following https://github.com/Hackeatutiempo/mapache/blob/main/AGENTS.md,
connect it to yourself as an MCP server, and leave a shortcut so I can open it with a double-click.The step-by-step guide for agents lives in AGENTS.md: it checks Node.js, gets the code, starts it, creates a desktop shortcut, connects the MCP server and explains where your boards are saved.
π Quick start
All you need is Node.js 18 or newer. There is nothing else to install.
git clone https://github.com/Hackeatutiempo/mapache.git
cd mapache
npm startOpen http://localhost:4321 and start thinking. Next time, double-click Abrir Mapache.cmd (Windows) or run
./start.sh (macOS and Linux): they start Mapache in the background if needed and open the browser.
Tip: in Chrome or Edge choose Install app in the address bar. Mapache gets its own window and icon and works even when the server is off; your changes sync to your files as soon as it is back.
Your boards are saved automatically as JSON files in ~/.mapache (run node bin/mapache.js where to see the exact
folder). Export backup (bottom left) still gives you everything in one file.
When a new version comes out, Mapache tells you in the app. Update with node bin/mapache.js update (or ask your
agent to "update Mapache"): it downloads it and restarts Mapache, and your boards are not touched.
π€ Your AI agent can use it too
Mapache ships with an MCP server (the open standard that lets AI agents use tools) and a command line. Connect it once and ask things like:
"Turn my notes from today's meeting into a mind map in Mapache." "Read the board I have open and add a risks branch with three ideas under each one." "Draw the onboarding flow as a flowchart with a decision for paid and free users." "Put these sales numbers in a table on my Q4 board and add a column chart."
If Mapache is open in your browser, the changes appear live, and Ctrl+Z undoes them. Everything runs on your computer: the MCP server reads and writes the same files the app uses.
The easiest way: in the app, click Connect your AI agent (bottom left) and copy the prompt into your agent. Or
connect it yourself (replace the path with where you installed Mapache; node bin/mapache.js mcp-config prints
these with your real paths):
Agent | How to connect |
Claude Code |
|
Claude Desktop | Settings > Developer > Edit config, then add the JSON below |
Codex (OpenAI, included with ChatGPT plans) |
|
Gemini CLI |
|
Cursor, Windsurf | add the JSON below to |
VS Code | MCP: Open User Configuration, add |
ChatGPT (web or phone) | It cannot reach your computer on its own. Use Codex, or a bridge such as Desktop Commander, and ask ChatGPT to use the |
{ "mcpServers": { "mapache": { "command": "node", "args": ["/full/path/to/Mapache/bin/mapache.js", "mcp"] } } }Tool | What it does |
| See every board and read one as an outline, with ids |
| Organize boards (deleting moves them to the trash) |
| Grow and edit mind maps from indented outlines |
| Sticky notes, text, shapes, sections, stickers, tables, charts and video embeds |
| Arrows between anything, with labels |
| See what the images on a board show (screenshots, slides, photos) |
| Read and write comments, with @mentions |
| Save a board as a shareable web page, PDF, PNG or SVG |
| Show a board in the browser |
Agents write simple Markdown (# heading, - bullet, [ ] task, **bold**, links) and new content is placed in free
space automatically. "open" always means the board you are looking at.
node bin/mapache.js help # everything it can do
node bin/mapache.js list # boards and folders
node bin/mapache.js show open # the board open in the app, as an outline
node bin/mapache.js new "Launch plan" --outline @plan.txt
node bin/mapache.js add open "Marketing" "Webinar" "Podcast"
node bin/mapache.js tool add_items '{"board":"open","items":[{"type":"note","text":"Call Ana"}]}'
node bin/mapache.js export open --format pdf # save the open board as a PDF in Downloads
node bin/mapache.js start | stop | status | open
node bin/mapache.js autostart on # start Mapache when you log inRun npm link inside the folder once to get a global mapache command.
π₯ For teams (beta)
Run one Mapache for your whole team on your own server: accounts with email and password, invitation links, roles (admin, can edit, can view), live cursors and avatars of who is on each board, and every change on everyone's screen as it happens. Each person can connect their own AI agent with a personal token.
git clone https://github.com/Hackeatutiempo/mapache.git && cd mapache
docker compose up -d # then open http://<server>:4321 and use the setup code from: docker logs mapacheWith a domain, docker compose --profile https up -d adds automatic HTTPS. Everything is in TEAM.md.
Team mode is new: try it with your team and tell us what breaks.
β¨ Features
Mind maps that grow as fast as you think
Quick-add dots, Tab and Enter, drag a branch and watch the map re-flow live, collapse with a counter, horizontal or vertical layouts, curved or angular lines. Paste an indented outline and it becomes a map.
Flowcharts with connectors that route themselves
Connect shapes, notes, tables or mind map nodes. Ends keep their side while the path re-routes around objects; drag any segment to shape it by hand. Elbow, curved or straight, with labels and nine end caps.
Your data, as charts
Paste from Excel, Google Sheets, Notion or Markdown, or drop a CSV. Charts stay linked to their table and update while you type. Color-blind-safe palettes in light and dark mode.
Share it with anyone
Export a board as a single web page: send it by email or chat and it opens in any browser, with zoom and pan, nothing to install. Or as PDF, PNG or SVG. Your agent can do it too ("save this board as a PDF on my desktop").
Light or dark, your call
Mind maps | As many as you want on one board (M). Horizontal or vertical layout, curved or angular lines, branch colors, icons, bullet, numbered and checklist nodes, paste an indented outline to create branches |
Notes and text | Sticky notes that grow with their text, four text sizes, colors. Per-line headings, lists and checklists, plus text color, highlight, bold, italic and links on any selection |
Shapes | Rectangle, pill, oval, diamond, parallelograms, trapezoid, triangle, hexagon, cylinder, cloud, star. Fill, border, dashed or transparent. They grow with their text |
Sections | Named areas that carry their content when you move them |
Connectors | Elbow, curved or straight; nine end caps; labels you can slide along the line; ends keep their side while the path re-routes around objects, and every segment can be dragged |
Freehand | Pen, highlighter, eraser, lasso, and shape recognition (lines, rectangles, ellipses, diamonds) |
Tables | Paste from spreadsheets, import and export CSV, sort, insert and move rows and columns |
Charts | Column, bar, stacked and 100 %, line, area, pie, donut, scatter, bubble, radar, funnel, heatmap, waterfall and big-number tiles |
Media | Images and videos (upload, drag or paste), YouTube, Vimeo and Loom links |
Selection | Drag on the canvas to select what the box touches, Shift+click to add, then move, scale, align, distribute, duplicate, copy or delete together. Auto-arrange as a grid, a tree or a mind map. Lock objects so they stay put |
Guides | Smart alignment guides snap edges and centers while you drag (hold Alt to skip) |
Right-click menu | Copy and paste style, save as default style, arrange, align, lock, wrap in section, snap to grid and copy a link to that spot on the board |
Folders | Nested folders and maps in the sidebar, drag to reorganize, a color and an icon for each |
AI agents | MCP server and command line with 23 tools (it can also see the images on your boards); changes from your agent appear live and can be undone |
Comments | Pins on the board or on any object, threads with replies, resolve, @mentions with a bell for unread ones (K) |
Sync | Boards are files on your computer; every open tab and browser stays in sync, edits made offline sync later, and simultaneous changes are merged |
Teams | Self-hosted team server (Docker): accounts, invitation links, roles, live cursors and presence, personal agent tokens |
Languages | English and Spanish, following your browser (switch any time) |
Themes | Dark, light or follow the system |
Share and export | A single-file web page anyone can open in a browser (zoom and pan, no install), PDF, PNG, SVG, and a JSON backup of all maps, folders and videos |
β¨οΈ Keyboard-first
Key | Does |
| Child Β· sibling (while typing) |
| New mind map Β· sticky note Β· text Β· shape |
| Connector Β· freehand Β· table Β· image or video |
| Comment |
| Select many Β· select all |
| Lock Β· copy and paste style |
| Fit Β· 100 % Β· pan |
| Every shortcut |
πΊοΈ Roadmap
Mind maps, whiteboard objects, tables and charts
Connectors, freehand drawing, media, multi-selection and guides
English interface
Boards as local files, live sync between tabs and browsers
MCP server and command line so AI agents can read and edit boards
Share a board as a single HTML page, PDF, PNG or SVG
Self-hosted team server with Docker: accounts, roles and invitation links
Real-time collaboration: live changes, cursors and presence, merged edits, keeps working offline
Comments and mentions
Have an idea? Open an issue.
π Privacy
There is no account, no analytics and no server you do not run yourself. Boards live as JSON files in ~/.mapache
on your computer, with a copy in your browser so the app works offline. The local server only listens on your own
computer and refuses requests from other websites. The MCP server runs on your computer too; your agent's provider
sees what the agent reads, as with any other tool you give it. In team mode the boards live on your own server, behind
accounts (see TEAM.md).
Once a day the server asks GitHub which is the latest version of Mapache, to tell you when there is a new one. It is an
anonymous request for public information, with nothing about you or your boards. Turn it off with
MAPACHE_UPDATE_CHECK=off.
Plain JavaScript, no framework and no build step: the browser runs exactly the code you are reading.
File | What it does |
| State, in-place editing, context bar, menus, dragging, shortcuts |
| Mind map layout and line geometry (pure, tested) |
| Turns typed or pasted web addresses into links |
| Connector routing |
| Arrange as grid, tree or mind map |
| Freehand smoothing, eraser, lasso, shape recognition |
| Shape outlines |
| CSV, TSV, Markdown and HTML table parsing |
| SVG charts |
| Folders and map list |
| English and Spanish |
| Browser storage and sync with the files |
| Three-way merge of simultaneous changes |
| Offline support |
| Local server: the app, the files API, live updates and MCP over HTTP |
| Boards as files, with revisions and a trash |
| Board editing for agents: outlines, Markdown, placement |
| The agent tools and the MCP server |
| Team mode: accounts, invitations, roles, presence and cursors |
| Team server image, with optional automatic HTTPS |
| Command line |
Design decisions and measurements are in DESIGN.md. Run the tests with npm test.
π€ Contributing
Issues and pull requests are welcome, from typo fixes to whole features. Keep it dependency-free where you
can, match the style of the surrounding code, and add a test in test/ for geometry, parsing or sync changes.
Translations to more languages are a great first contribution (see src/i18n.js).
β Support the project
If Mapache saves you time, a star helps other people find it. The first time you run npm start in a
terminal it asks once whether you want to star the repo (only if you say yes, with your own GitHub CLI session).
π License
GNU AGPL-3.0. Use it, change it and host it for free. If you offer a modified version as a service to other people, share your changes under the same license.
Available Tools
23 toolsadd_commentComment on a boardA
Leave a comment on a board, pinned to a node or item ("on", by id or text) or at a point. Write @Name to mention someone from the team. Comments are for talking about the board, not content: they never appear in exports. The comment is signed with your agent name and shows up live for everyone. Returns the comment id and who was mentioned. Use it to ask or suggest instead of changing the person's work; to answer an existing thread use reply_comment.
Inputs: text (required), board (required), x, y, +1 more.
add_itemsAdd notes, shapes, tablesβ¦A
Add sticky notes, text, shapes, sections, stickers, tables, charts or video embeds to a board. They are laid out together in free space unless each has x and y. To chart data, add a table first, then a chart with its id. It is saved at once as a new revision of the board and appears live in any browser that has it open (the person can undo it with Ctrl+Z). Returns each new item with its type and id (use the ids with connect, update_items or a chart's table). For mind map branches use add_nodes instead.
Inputs: board (required), items (required), x, y.
add_mindmapAdd a mind mapA
Add another, separate mind map to an existing board (a board can hold several). The first line of the outline is its central idea and the indented lines its branches. It is placed in free space unless you give x and y. It is saved at once as a new revision of the board and appears live in any browser that has it open (the person can undo it with Ctrl+Z). Returns the id of its central idea. To grow a map that already exists use add_nodes.
Inputs: board (required), outline (required), x, y, +2 more.
add_nodesAdd mind map branchesA
Add child nodes under an existing node of a mind map, from an indented outline (nested branches) or a flat list of texts. It is saved at once as a new revision of the board and appears live in any browser that has it open (the person can undo it with Ctrl+Z). Returns each new node with its id. Use it to grow a map; use add_mindmap for a separate new map and create_board for a new board.
Inputs: board (required), parent (required), texts, outline, +1 more.
connectConnect thingsA
Draw connectors (arrows) between nodes and/or items, optionally with a label, for flowcharts and relations. Several in one call; each call adds new connectors (it does not replace existing ones). The path routes itself around other objects. It is saved at once as a new revision of the board and appears live in any browser that has it open (the person can undo it with Ctrl+Z). Returns how many connectors were added. To change a connector later use update_items with its id.
Inputs: board (required), connections (required).
create_boardCreate a boardA
Create a new board with a mind map. Give an outline to fill it: if the outline has one top line it becomes the central idea; otherwise the title is the central idea and each top line a branch. Always creates a new board (calling it twice makes two). Returns the board id, the central idea id and the address to open it. To add to an existing board use add_nodes, add_mindmap or add_items instead.
Inputs: title (required), folder, layout, outline.
create_folderCreate a folderA
Create a folder in the sidebar to organize boards, optionally inside another folder. Always creates a new folder, even if one with the same name exists; returns its id. You rarely need it: create_board and update_board create missing folders by themselves when you pass a folder path.
Inputs: name (required), icon, color, parent.
delete_boardDelete a boardADestructiveIdempotent
Move a whole board to the trash. It disappears from the app; it can be restored with mapache restore <id>, which the result tells you. Only do this when the person asks. To remove part of a board use delete_nodes or delete_items instead.
Inputs: board (required).
delete_itemsDelete itemsADestructiveIdempotent
Delete notes, shapes, tables, charts, connectors or other items, plus the connectors attached to them (comments pinned to them stay, unpinned). Only when the person asks; they can undo it in the app with Ctrl+Z. Returns how many items were removed. For mind map nodes use delete_nodes.
Inputs: board (required), items (required).
delete_nodesDelete mind map nodesADestructiveIdempotent
Delete mind map nodes and every node under them, plus the connectors attached to them (comments pinned to them stay, unpinned). The central idea of the main map cannot be deleted. Only when the person asks; they can undo it in the app with Ctrl+Z. Returns how many nodes were removed. To change a node instead use update_nodes.
Inputs: board (required), nodes (required).
export_boardExport or share a boardA
Save a board as a file the person can share: "html" is a single web page anyone can open in a browser (with zoom, no install), "pdf", "png" or "svg". The Mapache app renders it, so it opens in the browser if it is not open yet (and switches to that board). The board itself is not changed; the file never overwrites an existing one (a number is added to the name). Returns where the file was saved and its size.
Inputs: board (required), path, format.
list_boardsList boardsARead-only
List every Mapache board (mind maps and whiteboards). Start here: it returns one line per board with its title, id, folder, number of nodes, items and open comments, last change, and which board is open in the app, plus the list of folders. Read-only. Use read_board next to see a board's content, or search_boards to find text across boards.
Inputs: folder.
list_commentsList commentsARead-only
List the comment threads on a board. Returns, for each thread, its id, author, date, what it is pinned to, its text and its replies, oldest first. Read-only. Use it when the person asks you to review a board or answer comments; then reply_comment and resolve_comment.
Inputs: board (required), include_resolved.
move_nodeMove a branchAIdempotent
Move a node, with its whole branch, under another parent (in the same board), or reorder it among its siblings by giving its current parent and a new position. A node cannot go under itself or its own children. It is saved at once as a new revision of the board and appears live in any browser that has it open (the person can undo it with Ctrl+Z). Returns a confirmation.
Inputs: node (required), board (required), parent (required), position.
open_boardOpen a board in the appARead-only
Open a board in Mapache in the person's browser (starting Mapache if needed), so they can see it; it does not change the board. Returns its address. Offer it after a big change; set launch to false to only get the link.
Inputs: board, launch.
read_boardRead a boardARead-only
Read a whole board. Returns its mind maps as indented outlines, then its notes, shapes, tables, charts, connectors, images and open comments, each with the id the editing tools need (to see what the images show, use view_images). Read-only. Call it before changing a board you have not read in this conversation; use list_comments for the full comment threads.
Inputs: board, format.
reply_commentReply to a commentA
Reply in an existing comment thread (find it with list_comments). The reply is signed with your agent name and shows up live. Replying to a resolved comment reopens it. Write @Name to mention someone. Returns which thread you replied to and who was mentioned. To start a new thread use add_comment.
Inputs: text (required), board (required), comment (required).
resolve_commentResolve a commentAIdempotent
Mark a comment thread as resolved once you have done what it asked, or reopen it with reopen: true. Resolved threads stay on the board, hidden from the open list; nothing is deleted. Returns the comment id. To answer before resolving use reply_comment.
Inputs: board (required), comment (required), reopen.
search_boardsSearch boardsARead-only
Search text across all boards: titles, mind map nodes, notes, shapes, tables, sections, connector labels and comments. Case and accents are ignored. Returns, for each board with matches, its title and id and up to 30 hits with their ids. Read-only. Use it to find which board talks about something; use read_board to see one board in full.
Inputs: query (required).
update_boardRename or move a boardAIdempotent
Rename a board, move it to a folder, or change its color or icon in the sidebar. Only the fields you pass change; the content of the board is untouched (to edit content use update_nodes or update_items). Returns a confirmation and the board address.
Inputs: board (required), icon, color, title, +1 more.
update_itemsEdit notes, shapes, tablesβ¦AIdempotent
Change existing items (notes, text, shapes, sections, tables, charts, connectors): text, color, position, size, table cells, chart type and more. Several items in one call; in each update only the fields you pass change, and fields that do not apply to that item type are ignored. A wrong color for the type returns an error listing the valid ones. It is saved at once as a new revision of the board and appears live in any browser that has it open (the person can undo it with Ctrl+Z). Returns how many items changed. For mind map nodes use update_nodes.
Inputs: board (required), updates (required).
update_nodesEdit mind map nodesAIdempotent
Change existing mind map nodes: text, branch color, icon, folded state or checkbox. Several nodes in one call; in each update only the fields you pass change. It is saved at once as a new revision of the board and appears live in any browser that has it open (the person can undo it with Ctrl+Z). Returns how many nodes changed. To add nodes use add_nodes, to move them move_node, to remove them delete_nodes.
Inputs: board (required), updates (required).
view_imagesLook at imagesARead-only
See the images placed on a board (screenshots, slides, photos, diagrams), so you can read and describe what they show; read_board only lists them. Returns each image as image content, preceded by its id, position and size, in reading order (top to bottom, then left to right). Read-only. Pass item ids from read_board to see specific ones; without ids it returns the first ones up to the limit, and tells you which ids remain so you can ask for them in the next call.
Inputs: board (required), items, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 23 tools
Each tool targets a distinct resource-action pair (board, node, item, comment, folder, image, connector), and descriptions explicitly cross-reference alternatives (add_nodes vs add_mindmap vs create_board), leaving little room for misselection.
Consistent snake_case verb_noun pattern throughout (list_boards, create_board, update_nodes, delete_items). Minor deviations like 'connect' and the singular/plural 'move_node' vs 'update_nodes' reflect semantic differences rather than inconsistency.
23 tools is on the heavy side, but the domain (mind maps, whiteboard items, comments, folders, export, images) is broad and each operation is distinct. Only create_folder is arguably redundant, since boards can auto-create folders.
Board, node, item, and comment lifecycles are fully covered. Notable gaps: folders can be created but not renamed, moved, or deleted; there is no tool to add images (only view them), which limits full whiteboard assembly.
Maintenance
Related MCP Connectors
Online whiteboard your AI agent draws on: live shared canvases, solo or with your team.
A shared Excalidraw board that people and agents draw on together
Flowcharts that people and agents edit together on one live canvas, exported as Mermaid.
Create, read and live-edit visual boards, Kanban plans, Gantt timelines and diagrams with AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA shared whiteboard for you and your AI agent I wanted my AI agent and me to be able to point at the same thing. Any MCP-capable agent can read the canvas, draw on it, drop thought bubbles, animate elements, and react when you sketch something.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools for creating, deleting, and querying nodes and edges in Excalidraw diagrams, enabling diagram editing via LLM interfaces.1,249 npm5MIT
- AlicenseNot gradedqualityCmaintenanceA local-first whiteboard MCP server that enables AI agents to create, inspect, and update canvas diagrams and shapes collaboratively via 13 semantic tools.6MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to explore and extend a local-first, SQLite-backed visual knowledge graph through 12 tools for listing maps, searching and reading nodes, and creating, updating, or linking nodes and edges. Every AI-written node carries provenance and is checked against near-duplicate titles, so agent-added ideas appear in a shared graph that people also edit by hand.MIT