Xml Comparison Mcp Server

by ravikalla

360 downloads
Not rated
GitHub

About

High-performance XML file comparison with semantic analysis capabilities. Features StAX streaming parser for memory-efficient processing of large XML files (60MB+ tested), order-agnostic semantic comparison, and multiple output formats (text, JSON, Excel). Includes 5 MCP tools fo

Details

Author
ravikalla
Downloads
360
Categories
Knowledge Base

- StAX streaming parser handles files 60MB+ tested
- Order-agnostic semantic comparison ignores element ordering
- Output formats: Text, JSON, and Excel
- All data treated as strings (no type conversion)
- Five dedicated MCP tools for XML analysis
- Comprehensive error handling with detailed messages

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Xml Comparison Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, build with mvn clean package -DskipTests, then configure Claude Desktop with the Java command. After setup, you can compare XML files using natural language through Claude.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "xml comparison mcp server": {
            "xml-comparison": {
                "command": "java",
                "args": [
                    "-jar",
                    "/path/to/xml-compare/mcp-xml-comparison/target/xml-comparison-1.0.0.jar"
                ]
            }
        }
    }
}

McpServers

{
    "xml-comparison": {
        "command": "java",
        "args": [
            "-jar",
            "/path/to/xml-compare/mcp-xml-comparison/target/xml-comparison-1.0.0.jar"
        ]
    }
}

XML Comparison MCP Server

A powerful Model Context Protocol server for XML file comparison with advanced semantic analysis capabilities.

Key Features:
- Memory Efficient: StAX streaming parser handles large files (60MB+ tested)
- Semantic Comparison: Order-agnostic comparison ignores element ordering
- Multiple Formats: Text, JSON, and Excel output options
- 5 MCP Tools: Complete XML analysis and comparison toolkit
- String Processing: All data treated as strings (no type conversion)
- Error Handling: Comprehensive error handling with detailed messages

Available Tools:

1. compare_xml_files - Sequential (order-sensitive) comparison
2. compare_xml_files_semantic - Semantic (order-agnostic) comparison
3. compare_xml_files_custom_path - Custom output path support
4. validate_xml_file - XML validation and well-formedness check
5. get_xml_file_info - Detailed XML file analysis

Output Formats:
- Text: Human-readable comparison reports
- JSON: Structured data for programmatic use
- Excel: Professional spreadsheet reports

Quick Setup:
1. Clone: git clone https://github.com/ravikalla/xml-compare.git
2. Build: mvn clean package -DskipTests
3. Configure Claude Desktop with Java command
4. Start comparing XML files naturally!

Perfect for configuration management, data migration validation, and XML schema comparison.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.