zfirsty/mcp-json-tools
If you are the rightful owner of mcp-json-tools and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP JSON Tools provide powerful data manipulation and querying capabilities for local JSON and NDJSON files using Lodash and JSONPath.
Tools
Functions exposed to the LLM to take actions
mcp_json_query
Executes a JSONPath query on a local JSON or NDJSON file and returns an array of matching values. Reads both formats automatically; NDJSON is treated as an array of objects for querying. Syntax Note: Use $.path...
for JSON objects and $[selector]
(e.g., $[*]
or $[?(...)]
) for NDJSON arrays.
mcp_json_nodes
Executes a JSONPath query on a local JSON or NDJSON file and returns matching nodes (value + path). Reads both formats automatically; NDJSON is treated as an array of objects for querying. Syntax Note: Use $.path...
for JSON objects and $[selector]
(e.g., $[*]
or $[?(...)]
) for NDJSON arrays.
mcp_json_eval
Reads a JSON or NDJSON file, executes JavaScript code within a sandboxed VM with file content ($1, object for JSON, array for NDJSON), lodash (_), and jsonpath (jp). Returns the result OR modifies the file (preserving original format: JSON or NDJSON) if the code's last expression is { type: 'updateFile', data: <new_data> }. Do not use explicit return
for the final result/update object; the last evaluated expression is used. Has a 30s timeout. WARNING: Executes user-provided code.
mcp_json_multi_eval
Reads multiple JSON or NDJSON files, executes JS code within a sandboxed VM with file contents ($1 is array of parsed contents), lodash (_), and jsonpath (jp). Returns the result OR modifies files (preserving original formats) if the code's last expression is { type: 'updateMultipleFiles', updates: [...] }. Do not use explicit return
for the final result/update object; the last evaluated expression is used. Has a 30s timeout. WARNING: Executes user-provided code.
Prompts
Interactive templates invoked by user choice
No prompts
Resources
Contextual data attached and managed by the client