Converts Markdown to an HTML mind map and returns the entire HTML content
Converts Markdown to an HTML mind map and saves it to a file in the mounted directory
The Markdown Mindmap Converter transforms plain Markdown content into visually engaging, interactive mindmaps. It leverages the markmap-cli library to generate HTML-based mindmaps that can be viewed directly in AI clients or saved as files for external viewing. This tool is perfect for visualizing hierarchical information, project planning, concept mapping, and organizing complex ideas in a more intuitive format.
The Markdown Mindmap Converter is a Model Context Protocol (MCP) server that transforms Markdown content into interactive, visual mindmaps. This tool helps you visualize hierarchical information in a more intuitive and engaging format.
You have three ways to install and use the Markdown Mindmap Converter:
uvx
(Recommended)uvx mindmap-mcp-server
pip
pip install mindmap-mcp-server
docker pull ychen94/mindmap-converter-mcp
Note for Windows Users: If you experience issues with the npx
command when using this MCP, consider using the Docker method or the "Markmap" extension for Visual Studio Code.
Add the server to your MCP client configuration (e.g., claude_desktop_config.json
):
uvx
(Recommended){
"mcpServers": {
"mindmap": {
"command": "uvx",
"args": ["mindmap-mcp-server", "--return-type", "filePath"]
}
}
}
{
"mcpServers": {
"mindmap": {
"command": "python",
"args": ["/path/to/your/mindmap_mcp_server/server.py", "--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 on your system where you want to save mindmaps, such as /Users/username/Downloads
on macOS or C:\\Users\\username\\Downloads
on Windows.
The --return-type
parameter determines how the mindmap is delivered:
html
: Returns the entire HTML content of the mindmap, which you can preview directly in your AI client's artifact viewer.filePath
: Saves the mindmap to a file and returns the file path. This option saves tokens and is recommended for complex mindmaps.In your AI assistant, you can use prompts like:
Basic mindmap generation:
Give a mindmap for the following markdown code, using a mindmap tool:
# Project Planning
## Research
### Market Analysis
### Competitor Review
## Design
### Wireframes
### Mockups
Generate and open in browser (if using with another MCP like iterm-mcp-server):
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
Conceptual mindmap:
Think about the process of putting an elephant into a refrigerator, and provide a mind map. Open it with a terminal.
When using the Python or uvx installation methods, Node.js must be installed on your system for the markmap-cli dependency to work properly.