JSON Query
STDIOMCP server for querying large JSON files using JSONPath expressions and search tools.
MCP server for querying large JSON files using JSONPath expressions and search tools.
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.
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.
npx json-query-mcp
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>], }, } }
# 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
MIT