by GongRzhe
Provides JSON querying and manipulation capabilities via a Model Context Protocol (MCP) server, enabling LLMs to retrieve and transform JSON data using JSONPath expressions and extended operations.
Json Mcp Server offers a standardized MCP interface for querying and manipulating JSON documents. It supports rich JSONPath syntax with additional array, string, numeric, date, and aggregation operations, allowing language models to work with structured data without custom code.
npx @gongrzhe/server-json-mcp@1.0.3
Or install globally (npm install -g @gongrzhe/server-json-mcp@1.0.3
) and start it with server-json-mcp
.json
tool, pointing to the server command.query
or filter
tools, providing a url
to the JSON source and a jsonPath
expression (optionally with a condition
for filtering).query
for general JSONPath queries and filter
for condition‑based extraction.npx
and straightforward configuration for Claude Desktop or custom clients.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.
# 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
query
url
(string): URL of the JSON data sourcejsonPath
(string): JSONPath expression with optional operationsfilter
url
(string): URL of the JSON data sourcejsonPath
(string): Base JSONPath expressioncondition
(string): Filter condition$[0:5]
, $[-3:]
, $[1:4]
$.sort(price)
, $.sort(-price)
$.distinct()
$.map(fieldName)
$.flatten()
$.union([1,2,3])
$.intersection([1,2,3])
$.toLowerCase()
, $.toUpperCase()
$.startsWith('test')
, $.endsWith('test')
$.contains('test')
, $.matches('pattern')
$.math(+10)
, $.pow2()
$.round()
, $.floor()
, $.ceil()
$.abs()
, $.sqrt()
$.format('YYYY-MM-DD')
$.isToday()
$.add(1, 'days')
$.groupBy(category)
$.sum(price)
, $.avg(price)
, $.min(price)
, $.max(price)
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"
]
}
}
npm install
npm run build
$
representing the root objectMIT
Please log in to share your review and rating for this MCP.
{ "mcpServers": { "json-mcp-server": { "command": "npx", "args": [ "@gongrzhe/server-json-mcp@1.0.3" ], "env": {} } } }
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.