Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

xmind-generator-mcp

MCP.Pizza Chef: BangyiZhang

The xmind-generator-mcp is an MCP server enabling LLMs to create structured Xmind mind maps with hierarchical topics, notes, labels, and markers. It supports saving mind maps locally and integrates easily with MCP clients like Claude Desktop. This server requires Node.js 18+ and the Xmind desktop app for editing generated maps, facilitating seamless mind map generation within AI workflows.

Use This MCP server To

Generate hierarchical Xmind mind maps from natural language input Add topic notes, labels, and markers to mind maps programmatically Save and export mind maps as local Xmind files Integrate with Claude Desktop for enhanced mind map creation Automate brainstorming and idea organization using LLM-driven mind maps Create structured project plans or knowledge maps via MCP Convert textual outlines into visual mind maps automatically

README

Xmind Generator MCP Server

An MCP (Model Context Protocol) server for generating Xmind mind maps. This server allows LLMs to create structured mind maps through the MCP protocol.

Features

  • Generate Xmind mind maps with hierarchical topic structures
  • Support for topic notes, labels, and markers
  • Save mind maps to local files
  • Easy integration with Claude Desktop and other MCP clients

Prerequisites

  • Node.js: Version 18 or higher is required
  • Xmind: Install Xmind desktop application to open and edit the generated mind maps
  • Claude Desktop: Required to use this tool as an extension

Setup with Claude Desktop

Option 1: Using npx (Recommended)

  1. Create or edit the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the following configuration:

    {
      "mcpServers": {
        "xmind-generator": {
          "command": "npx",
          "args": ["xmind-generator-mcp"],
          "env": {
            "outputPath": "/path/to/save/xmind/files",
            "autoOpenFile": "false"
          }
        }
      }
    }
  3. Restart Claude Desktop

  4. Start using the Xmind generator in your conversations

Option 2: Local Installation

  1. Clone the repository:

    git clone https://github.com/BangyiZhang/xmind-generator-mcp.git
    cd xmind-generator-mcp
    npm install
    npm run build
  2. Create or edit the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add the following configuration:

    {
      "mcpServers": {
        "xmind-generator": {
          "command": "node",
          "args": ["path/to/xmind-generator-mcp/dist/index.js"],
          "env": {
            "outputPath": "/path/to/save/xmind/files",
            "autoOpenFile": "false"
          }
        }
      }
    }
  4. Replace path/to/xmind-generator-mcp with the actual path to your cloned project

  5. Restart Claude Desktop

  6. Start using the Xmind generator in your conversations

Note: The env section is optional. It allows you to set environment variables for the server:

  • outputPath: Default directory or file path where Xmind files will be saved. This can be overridden by the outputPath parameter in the tool call.
  • autoOpenFile: Controls whether generated Xmind files are automatically opened after creation. Set to "false" to disable auto-opening (default is "true").

Available Tools

generate-mind-map

Generates an Xmind mind map from a hierarchical structure of topics.

Parameters:

  • title (string): The title of the mind map (root topic)
  • topics (array): Array of topics to include in the mind map
    • title (string): The title of the topic
    • ref (string, optional): Reference ID for the topic
    • note (string, optional): Note for the topic
    • labels (array of strings, optional): Labels for the topic
    • markers (array of strings, optional): Markers for the topic (format: "Category.name", e.g., "Arrow.refresh")
    • children (array, optional): Array of child topics
  • relationships (array, optional): Array of relationships between topics
  • outputPath (string, optional): Custom output path for the Xmind file. This overrides the environment variable if set.

Example

Here's an example of how to use the generate-mind-map tool:

{
  "title": "Project Plan",
  "topics": [
    {
      "title": "Research",
      "ref": "topic:research",
      "note": "Gather information about the market",
      "children": [
        {
          "title": "Market Analysis",
          "labels": ["Priority: High"]
        },
        {
          "title": "Competitor Research",
          "markers": ["Task.quarter"]
        }
      ]
    },
    {
      "title": "Development",
      "children": [
        {
          "title": "Frontend",
          "markers": ["Arrow.refresh"]
        },
        {
          "title": "Backend"
        }
      ]
    }
  ]
}

License

MIT

xmind-generator-mcp FAQ

How do I install the xmind-generator-mcp server?
Install Node.js version 18 or higher, then follow the setup instructions in the GitHub README to configure the server and integrate with Claude Desktop or other MCP clients.
What software do I need to open the generated mind maps?
You need the Xmind desktop application installed to open and edit the mind maps created by this MCP server.
Can I use this MCP server with MCP clients other than Claude Desktop?
Yes, while it is optimized for Claude Desktop, the server can integrate with any MCP client that supports the MCP protocol.
Does the server support adding detailed annotations to mind map topics?
Yes, it supports topic notes, labels, and markers to enrich the mind map content.
Is it possible to save the generated mind maps locally?
Yes, the server saves mind maps as local files in the Xmind format for easy access and editing.
What Node.js version is required to run this MCP server?
Node.js version 18 or higher is required to run the xmind-generator-mcp server.
How does this MCP server enhance LLM workflows?
It enables LLMs to produce structured visual mind maps, improving idea organization and project planning within AI-assisted environments.
Can I customize the structure of the mind maps generated?
Yes, the server supports hierarchical topic structures allowing flexible and detailed mind map creation.