The MCP server for Mindmap enables the transformation of Markdown content into interactive, visual mindmaps that can be viewed in your browser. This implementation of the Model Context Protocol allows Claude and other MCP-compatible clients to generate dynamic mindmap visualizations directly from your conversations.
You can install the Mindmap MCP server in several ways:
pip install mindmap-mcp-server
uvx mindmap-mcp-server
docker pull ychen94/mindmap-converter-mcp
Docker provides the most consistent installation experience across operating systems.
When using the Python or uvx installation methods, you'll need Node.js installed on your system for the server to work properly.
Add the Mindmap MCP server to your Claude Desktop configuration file (claude_desktop_config.json
):
Return HTML content (viewable in artifacts):
{
"mcpServers": {
"mindmap": {
"command": "uvx",
"args": ["mindmap-mcp-server", "--return-type", "html"]
}
}
}
Or return a file path (saves tokens):
{
"mcpServers": {
"mindmap": {
"command": "uvx",
"args": ["mindmap-mcp-server", "--return-type", "filePath"]
}
}
}
{
"mcpServers": {
"mindmap-converter": {
"command": "docker",
"args": ["run", "--rm", "-i", "-v", "/path/to/output/folder:/output", "ychen94/mindmap-converter-mcp:latest"]
}
}
}
Replace /path/to/output/folder
with an actual path where you want to save mindmaps (e.g., /Users/username/Downloads
on macOS).
After configuration, you can ask Claude to create mindmaps in several ways:
give a mindmap for the following markdown code, using a mindmap tool:
give a mindmap for the following markdown input_code using a mindmap tool,
after that, use iterm to open the generated html file.
input_code:
your markdown content here
Think about the process of putting an elephant into a refrigerator, and provide a mind map. Open it with a terminal.
The Docker container provides two main tools:
Returns the complete HTML mindmap content:
Parameters:
Best for: Simple mindmaps viewable via artifacts in your AI client.
Saves the mindmap to a file and returns the path:
Parameters:
Best for: Complex mindmaps or when you want to save tokens.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "mindmap" '{"command":"uvx","args":["mindmap-mcp-server","--return-type","filePath"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"mindmap": {
"command": "uvx",
"args": [
"mindmap-mcp-server",
"--return-type",
"filePath"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"mindmap": {
"command": "uvx",
"args": [
"mindmap-mcp-server",
"--return-type",
"filePath"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect