JSON handling and processing server with advanced query capabilities using JSONPath syntax and support for array, string, numeric, and date operations.
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
by: nacos-group
A MCP server that provides functionalities such as search, installation, proxy, and more
by: semgrep
An MCP server for using Semgrep to scan code for security vulnerabilies. Secure your vibe coding!
by: prisma
Prisma ORM is a **next-generation ORM** that consists of these tools: