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

mcp-xmind

MCP.Pizza Chef: apeyroux

MCP XMind Server is a specialized Model Context Protocol server designed to analyze and query XMind mind maps efficiently. It offers advanced features such as smart fuzzy search, hierarchical content navigation, task management, and multi-file analysis. The server supports label and tag extraction, link and reference identification, and secure directory scanning to ensure safe access to mind map files. This tool is ideal for users needing to extract structured insights, manage tasks, and explore complex mind map data across multiple files seamlessly. Installation is straightforward via Smithery or manual npm setup, making it accessible for integration with various LLM-powered applications.

Use This MCP server To

Perform fuzzy search across XMind mind maps Navigate hierarchical mind map content easily Extract links and references from mind maps Manage and track tasks within mind maps Analyze multiple XMind files simultaneously Scan directories securely for XMind files Support label and tag extraction in mind maps

README

MCP XMind Server

smithery badge

A Model Context Protocol server for analyzing and querying XMind mind maps. This tool provides powerful capabilities for searching, extracting, and analyzing content from XMind files.

Features

  • 🔍 Smart fuzzy search across mind maps
  • 📝 Task management and tracking
  • 🌲 Hierarchical content navigation
  • 🔗 Link and reference extraction
  • 📊 Multi-file analysis
  • 🏷️ Label and tag support
  • 📂 Directory scanning
  • 🔒 Secure directory access

Installation

Installing via Smithery

To install XMind Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @41px/mcp-xmind --client claude

Manual Installation

npm install @modelcontextprotocol/sdk adm-zip zod
npm install --save-dev typescript @types/node

Usage

Starting the Server

node dist/index.js <allowed-directory> [additional-directories...]

Available Tools

  1. read_xmind

    • Parse and analyze XMind files
    • Extract complete mind map structure
  2. get_todo_tasks

    • Extract and analyze TODO tasks
    • Include task context and hierarchy
  3. list_xmind_directory

    • Recursively scan for XMind files
    • Filter and organize results
  4. read_multiple_xmind_files

    • Process multiple files simultaneously
    • Compare and analyze across files
  5. search_xmind_files

    • Search files by name patterns
    • Recursive directory scanning
  6. extract_node

    • Smart fuzzy path matching
    • Ranked search results
    • Complete subtree extraction
  7. extract_node_by_id

    • Direct node access by ID
    • Fast and precise retrieval
  8. search_nodes

    • Multi-criteria content search
    • Configurable search fields

Examples

Search for Nodes

{
    "name": "search_nodes",
    "arguments": {
        "path": "/path/to/file.xmind",
        "query": "project",
        "searchIn": ["title", "notes"],
        "caseSensitive": false
    }
}

Extract Node

{
    "name": "extract_node",
    "arguments": {
        "path": "/path/to/file.xmind",
        "searchQuery": "Feature > API"
    }
}

List Tasks

{
    "name": "get_todo_tasks",
    "arguments": {
        "path": "/path/to/file.xmind"
    }
}

Configuration

Development Configuration

Example claude_desktop_config.json for development:

{
  "xmind": {
    "command": "node",
    "args": [
      "/Users/alex/Src/mcp-xmind/dist/index.js",
      "/Users/alex/XMind"
    ]
  }
}

Production Configuration

Example claude_desktop_config.json for production using npmjs:

{
  "xmind": {
    "command": "npx",
    "args": [
      "-y",
      "@41px/mcp-xmind",
      "/Users/alex/XMind"
    ]
  }
}

Security

  • Only allows access to specified directories
  • Path normalization and validation
  • Error handling for invalid access attempts

Development

Building

npm run build

Type Checking

npm run type-check

MCP Inspector

npx @modelcontextprotocol/inspector node dist/index.js /Users/alex/XMind

mcp-xmind FAQ

How do I install the MCP XMind Server via Smithery?
You can install it automatically using the command: npx -y @smithery/cli install @41px/mcp-xmind --client claude.
Can I install MCP XMind Server manually?
Yes, manual installation involves npm installing @modelcontextprotocol/sdk, adm-zip, and zod, along with TypeScript and Node.js types for development.
How does MCP XMind Server handle directory access?
It provides secure directory scanning to safely access and analyze XMind mind map files without exposing sensitive data.
What search capabilities does MCP XMind Server offer?
It supports smart fuzzy search, allowing flexible and approximate matching across mind map content.
Does MCP XMind Server support task management?
Yes, it includes features for managing and tracking tasks embedded within XMind mind maps.
Can MCP XMind Server analyze multiple mind map files at once?
Yes, it supports multi-file analysis to aggregate and query data across several XMind files.
Is MCP XMind Server compatible with different LLM providers?
Yes, it integrates with LLMs like OpenAI, Anthropic Claude, and Google Gemini through the MCP protocol.
What types of content can MCP XMind Server extract?
It can extract hierarchical content, labels, tags, links, and references from XMind mind maps.