Keremurat Json logo

Keremurat Json

Compares two JSON strings recursively, ignoring object and array order while reporting missing, extra, mismatched, and differently typed values.

Install Keremurat Json

Run the project’s own setup commands, in order.

Setup steps from the project

keremurat-json installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/yourusername/json-compare-mcp.git
    
  2. 2. Run
    cd json-compare-mcp
    
  3. 3. Install
    pip install -r requirements.txt
    
  4. 4. Start the server
    python server.py
    
  5. 5. Install
    docker build -t json-compare-mcp .
    
  6. 6. Start the server
    docker run -p 8000:8000 json-compare-mcp
    

Overview

keremurat-json MCP server compares two JSON strings recursively and reports structural or value differences. Its compare_json tool checks nested objects and arrays without treating property or element order as significant. Results include difference types, paths, values, messages, and aggregate counts. Use it when an agent needs to validate JSON payloads, fixtures, or configuration data without comparing files directly.

Use cases

  • Compare API response payloads
  • Validate generated JSON fixtures
  • Inspect configuration differences
  • Find missing or extra nested keys

Key features

  • Recursive JSON comparison
  • Order-independent object and array checks
  • Nested difference path tracking
  • Missing and extra key detection
  • Value and type mismatch reporting
  • Aggregated difference summaries

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

21/21 checks healthy over the last 117d

How Keremurat Json works

What keremurat-json MCP server does

keremurat-json MCP server exposes one MCP tool, compare_json, for comparing two JSON documents supplied as strings. It examines nested objects, properties, and arrays rather than limiting the check to top-level fields. Object and property order do not affect the result, and array order is also ignored according to the repository description.

The comparison distinguishes four conditions: a key present only in the first input, a key present only in the second, unequal values, and differing data types. Each reported issue includes a path such as root.user.settings.theme, making it possible to locate the problem in a nested document. The response also contains an overall status, a total difference count, individual difference records, and counts grouped by category.

How it works

The tool receives json1 and json2 as JSON-formatted strings. It parses the inputs and recursively compares matching structures. Keys are matched independently of their ordering, while missing and additional keys are recorded instead of being treated as a generic failure. Values are checked for equality, and their types are compared separately so a type difference can be reported distinctly.

A matching document returns an identical status in the documented test scenarios. When differences exist, the result uses a different status and provides details such as the difference type, location, relevant values, and a human-readable message. The repository describes the implementation as a recursive comparison algorithm.

Setup and configuration

The project requires Python 3.11 or newer and lists mcp and requests as dependencies. Install the dependencies from requirements.txt, then start the server with python server.py. The repository also includes a test script, test_compare.py, covering reordered content, differing values, and comparing a document with itself.

keremurat-json MCP server can also be packaged with the included Dockerfile. The documented container command builds an image and runs it with port 8000 published. A Smithery configuration file is included for deployment through Smithery.

Tools and capabilities

The available MCP tool is:

  • compare_json: Compares two JSON strings and returns structured difference information.

Supported reporting includes missing keys, extra keys, value mismatches, type mismatches, nested paths, and summary counts. The examples show direct string inputs rather than file paths, so callers should load or obtain the JSON content before invoking the tool.

Limitations and notes

The documented interface accepts JSON strings, not file paths. The material does not describe schema validation, patch generation, automatic correction, or additional MCP tools.

The comparison is intentionally order-independent for objects, properties, and arrays. That behavior is useful when equivalent JSON may be serialized in different orders, but it means the tool is not suitable for checks where array position itself carries meaning. keremurat-json MCP server also reports differences rather than modifying either input.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Keremurat Json

keremurat-json is an MCP server that connects an AI client to a JSON comparison function. Its main tool, compare_json, accepts two JSON strings and recursively checks nested objects and arrays while ignoring order. It reports missing keys, extra keys, value mismatches, type mismatches, paths, messages, and summary counts.

Install it by cloning the repository, entering its directory, running pip install -r requirements.txt, and starting python server.py. The documented requirements include Python 3.11 or newer, mcp, and requests.

Call the compare_json MCP tool with two JSON-formatted strings in the json1 and json2 arguments. The tool returns a status, total difference count, detailed difference records, and category totals; it does not use file paths in the documented interface.

Yes, keremurat-json ignores object, property, and array order during comparison. It still checks key presence, values, and data types, then reports any differences with their nested paths.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKeremurat Json AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/keremurat-json?style=directory)](https://allmcps.com/mcp/keremurat-json)
HTML Embed
<a href="https://allmcps.com/mcp/keremurat-json"><img src="https://allmcps.com/api/badge/keremurat-json?style=directory" alt="Keremurat Json on AllMCPs" /></a>