// may the 4th be with you⚔️
databasesanalytics-data

JSON Manipulation

by gongrzhe

Manipulate and analyze JSON data with JSON Manipulation using JSONPath syntax. Query arrays and explore JSONPath example

Provides a JSON manipulation interface using JSONPath syntax for querying, transforming, and analyzing structured data across diverse datasets.

github stars

89

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

Extended JSONPath with 20+ operationsWorks with remote JSON URLs

best for

  • / Data analysts working with JSON APIs
  • / Developers processing structured data feeds
  • / Automating data extraction and transformation tasks

capabilities

  • / Query JSON data using JSONPath syntax
  • / Filter JSON datasets with custom conditions
  • / Sort and slice array data
  • / Transform data with map, flatten, and grouping operations
  • / Perform string and numeric operations on JSON fields
  • / Calculate aggregations like sum and statistics

what it does

Query and manipulate JSON data from URLs using JSONPath expressions. Provides filtering, sorting, and transformation capabilities for structured data analysis.

about

JSON Manipulation is a community-built MCP server published by gongrzhe that provides AI assistants with tools and capabilities via the Model Context Protocol. Manipulate and analyze JSON data with JSON Manipulation using JSONPath syntax. Query arrays and explore JSONPath example It is categorized under databases, analytics data. This server exposes 2 tools that AI clients can invoke during conversations and coding sessions.

how to install

You can install JSON Manipulation in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

JSON Manipulation is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

JSON MCP Server (@gongrzhe/server-json-mcp@1.0.3)

A JSON Model Context Protocol (MCP) server implementation for querying and manipulating JSON data. This server enables LLMs to interact with JSON data through a set of standardized tools.

<a href="https://glama.ai/mcp/servers/9g137c4b4k"> <img width="380" height="200" src="https://glama.ai/mcp/servers/9g137c4b4k/badge" alt="JSON Server MCP server" /> </a>

Installation & Usage

# Using npx with specific version (recommended)
npx @gongrzhe/server-json-mcp@1.0.3

# Install specific version globally
npm install -g @gongrzhe/server-json-mcp@1.0.3

# Run after global installation
server-json-mcp

Components

Tools

  • query

    • Query JSON data using JSONPath syntax with extended operations
    • Input:
      • url (string): URL of the JSON data source
      • jsonPath (string): JSONPath expression with optional operations
  • filter

    • Filter JSON data using conditions
    • Input:
      • url (string): URL of the JSON data source
      • jsonPath (string): Base JSONPath expression
      • condition (string): Filter condition

Supported Operations

Array Operations

  • Slicing: $[0:5], $[-3:], $[1:4]
  • Sorting: $.sort(price), $.sort(-price)
  • Distinct: $.distinct()
  • Transformations:
    • Map: $.map(fieldName)
    • Flatten: $.flatten()
    • Union: $.union([1,2,3])
    • Intersection: $.intersection([1,2,3])

String Operations

  • Case: $.toLowerCase(), $.toUpperCase()
  • Tests: $.startsWith('test'), $.endsWith('test')
  • Search: $.contains('test'), $.matches('pattern')

Numeric Operations

  • Math: $.math(+10), $.pow2()
  • Rounding: $.round(), $.floor(), $.ceil()
  • Functions: $.abs(), $.sqrt()

Date Operations

  • Format: $.format('YYYY-MM-DD')
  • Check: $.isToday()
  • Modify: $.add(1, 'days')

Aggregation Operations

  • Group: $.groupBy(category)
  • Stats: $.sum(price), $.avg(price), $.min(price), $.max(price)

Configuration

Usage with Claude Desktop

To use this server with the Claude Desktop app, add the following configuration to your claude_desktop_config.json:

{
  "json": {
    "command": "npx",
    "args": [
      "@gongrzhe/server-json-mcp@1.0.3"
    ]
  }
}

Alternatively, you can use the node command directly if you have the package installed:

{
  "json": {
    "command": "node",
    "args": [
      "path/to/build/index.js"
    ]
  }
}

Development

Building from Source

  1. Clone the repository
  2. Install dependencies:
    npm install
    
  3. Build the project:
    npm run build
    

Notes

  1. All JSONPath expressions start with $ representing the root object
  2. Array indices are zero-based
  3. String values in operations should be wrapped in quotes
  4. Date operations support 'days', 'months', and 'years' units
  5. Numeric operations support basic arithmetic operators (+, -, *, /)

License

MIT

FAQ

What is the JSON Manipulation MCP server?
JSON Manipulation is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for JSON Manipulation?
This profile displays 29 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
MCP server reviews

Ratings

4.629 reviews
  • Li Choi· Dec 24, 2024

    JSON Manipulation is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

  • Advait Abebe· Dec 12, 2024

    JSON Manipulation is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Shikha Mishra· Dec 8, 2024

    JSON Manipulation is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

  • Rahul Santra· Nov 27, 2024

    Useful MCP listing: JSON Manipulation is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Chen Lopez· Nov 15, 2024

    Useful MCP listing: JSON Manipulation is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Ava Bansal· Nov 3, 2024

    According to our notes, JSON Manipulation benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Ava Haddad· Oct 22, 2024

    JSON Manipulation has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Pratham Ware· Oct 18, 2024

    JSON Manipulation reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Alexander Khanna· Oct 6, 2024

    JSON Manipulation reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Alexander Thompson· Jul 27, 2024

    Strong directory entry: JSON Manipulation surfaces stars and publisher context so we could sanity-check maintenance before adopting.

showing 1-10 of 29

1 / 3