JSON Query MCP
About
An MCP server that gives AI agents tools to query large JSON files
Details
- Author
- mgraczyk
- GitHub stars
- 11
- Downloads
- 300
- Categories
- Other
Jump to
- Query JSON files using JSONPath expressions
- Search for keys that match a query string
- Search for values that match a query string
- Handle JSON files larger than 1 million characters
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
JSON Query MCPCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Run npx json-query-mcp from the command line. For Cursor, add an entry to ~/.cursor/mcp.json specifying "command": "npx" and "args":["<path-to-repo>"].
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"json query mcp": {
"json-query": {
"command": "npx",
"args": [
"json-query-mcp"
]
}
}
}
}
McpServers
{
"json-query": {
"command": "npx",
"args": [
"json-query-mcp"
]
}
}
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)
```mcp.json
{
"mcpServers": {
... other mcp servers
"json-query": {
"command": "npx",
"args": [<local path to this repo>],
},
}
}
Development
bashSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



