Gongrzhe_json-mcp-server
Espejo de https: //github.com/gongrzhe/json-mcp-server
0
Github Watches
2
Github Forks
1
Github Stars
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.
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])
- Map:
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
- Clone the repository
- Install dependencies:
npm install - Build the project:
npm run build
Notes
- All JSONPath expressions start with
$representing the root object - Array indices are zero-based
- String values in operations should be wrapped in quotes
- Date operations support 'days', 'months', and 'years' units
- Numeric operations support basic arithmetic operators (+, -, *, /)
License
MIT
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Advanced software engineer GPT that excels through nailing the basics.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Converts Figma frames into front-end code for various mobile frameworks.
This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Espejo dehttps: //github.com/agentience/practices_mcp_server
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Reviews
user_Q4IqEKeU
Peaka-mcp-server by Peakacom has been a game-changer for my server management needs. It provides seamless performance and is incredibly user-friendly. The intuitive interface and robust features make it an indispensable tool for any server administrator. Highly recommend checking it out at https://mcp.so/server/peaka-mcp-server/peakacom and experiencing the efficiency it offers!