JSON Query MCP
A Model Context Protocol (MCP) server for querying large JSON files. This server provides tools for working with large JSON data that can be used by LLM models implementing the Model Context Protocol.
Features
- Query JSON files using JSONPath expressions
- Search for keys similar to a query string
- Search for values similar to a query string
Example
Here is an example of the Cursor Agent using the tool to read a a very large (>1M character) JSON Swagger definition, and extracting a small portion to write a typescript interface.
Usage
npx json-query-mcp
Installation in Cursor
Add the following to your cursor mcp json
(on macOS this is /Users/$USER/.cursor/mcp.json
)
{
"mcpServers": {
... other mcp servers
"json-query": {
"command": "npx",
"args": [<local path to this repo>],
},
}
}
Development
# Run in development mode
npm run dev
# Run tests
npm test
# Format code
npm run format
# Lint code
npm run lint
# Fix lints
npm run fix
License
MIT
JSON Query
Project Details
- mgraczyk/json-query-mcp
- Last Updated: 4/17/2025
Recomended MCP Servers
程序员延寿指南 | A programmer's guide to live longer
A Model Context Protocol (MCP) server that provides translation capabilities using the DeepL API.
An MCP server that enables communication with users through Telegram. This server provides a tool to ask questions...
An MCP server for Tavily's search API
Let AI operate Gitee Repositories / Issues / Pull Requests for you through MCP
An MCP server that lets you interact with LSP servers
MCP RSS is a Model Context Protocol (MCP) server for interacting with RSS feeds.
Asynchronous text generation service built around the distilgpt2 model, exposing an MCP-compliant API via FastMCP 🤖. It utilizes...
MCP server for Hugging Face dataset viewer