Xmind
FreeNot checkedEnables AI assistants to read and write XMind mind map files, allowing generation, editing, and analysis of mind maps directly in XMind.
About
Enables AI assistants to read and write XMind mind map files, allowing generation, editing, and analysis of mind maps directly in XMind.
README
An MCP (Model Context Protocol) server that lets Claude read and write .xmind files. Use Claude to generate, edit, and analyze mind maps directly in XMind.
Features
- Read existing
.xmindfiles as a structured JSON tree - Create new mind maps from scratch
- Add, update, and delete nodes
- Supports basic node styles (background color, text color, branch color)
- Includes a Claude Code skill for guided mind map editing workflow
Requirements
- Python 3.10+
- Claude Code
- XMind (to view the generated files)
Installation
1. Install dependencies
pip install mcp
2. Register the MCP server
Add to ~/.mcp.json:
{
"mcpServers": {
"xmind-tools": {
"command": "python3",
"args": ["/path/to/xmind-mcp/server.py"]
}
}
}
3. (Optional) Install the skill
Copy skills/xmind-editor/ to your Claude Code skills directory:
cp -r skills/xmind-editor ~/.claude/skills/
Usage
Restart Claude Code after registration. Then ask Claude:
Help me create a mind map about AWS architecture, save to ~/Desktop/aws.xmind
Claude will plan the structure, confirm with you, then write the file. Open or reload the file in XMind to see the result.
Available Tools
| Tool | Description |
|---|---|
read_mindmap |
Read an .xmind file as a JSON tree |
write_mindmap |
Write a full JSON tree to an .xmind file |
add_node |
Add a child node under a parent |
update_node |
Update a node's title or style |
delete_node |
Delete a node and its children |
Node Format
{
"id": "uuid",
"title": "Node title",
"style": {
"bg": "#ffffff",
"fg": "#000000",
"branch": "#3498db"
},
"children": []
}
All style fields are optional. Colors are hex strings (#RRGGBB).
Colors
| Field | Description | Example |
|---|---|---|
bg |
Node background color | #ff0000 |
fg |
Text color | #ffffff |
branch |
Branch line color | #3498db |
border_color |
Border line color | #333333 |
Shape
Values sourced from official xmind-sdk-js and open source XMind implementations.
| Field | Description | Values |
|---|---|---|
shape |
Node shape | roundedRect rect underline ellipserect |
Branch and Border
| Field | Description | Values |
|---|---|---|
branch_style |
Branch curve style | curve roundedElbow elbow straight arrowedCurve bight roundedfold |
branch_pattern |
Branch line pattern | solid dash handdrawn-dash none |
border_color |
Border line color | hex #RRGGBB |
border_width |
Border line width | "2pt" "0pt" |
border_pattern |
Border line pattern | solid dash handdrawn-dash none |
Text
| Field | Description | Example |
|---|---|---|
bold |
Bold | true |
italic |
Italic | true |
strikethrough |
Strikethrough | true |
font_size |
Font size | "14pt" |
shapeandbranch_stylevalues are prefixed automatically — use the short name only (e.g."roundedRect", not"org.xmind.topicShape.roundedRect").
Example with styles
{
"id": "root",
"title": "My Project",
"children": [
{
"id": "node-1",
"title": "Critical",
"style": {
"bg": "#ff0000",
"fg": "#ffffff",
"branch": "#ff0000",
"bold": true,
"shape": "roundedRect"
},
"children": []
},
{
"id": "node-2",
"title": "Reference",
"style": {
"branch_pattern": "dash",
"border_color": "#999999",
"border_width": "1pt"
},
"children": []
}
]
}
Development
pip install -e ".[dev]"
pytest tests/
License
MIT
Install Xmind in Claude Desktop, Claude Code & Cursor
unyly install xmind-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add xmind-mcp -- uvx xmind-mcpFAQ
Is Xmind MCP free?
Yes, Xmind MCP is free — one-click install via Unyly at no cost.
Does Xmind need an API key?
No, Xmind runs without API keys or environment variables.
Is Xmind hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Xmind in Claude Desktop, Claude Code or Cursor?
Open Xmind on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Xmind with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
