JSON Navigation Tools
MCPify provides specialized tools for navigating, extracting, and transforming JSON data. Keep AI context tight by extracting exactly what's needed.
Tool Categories
Tool names carry the nav___ prefix your MCP client shows. Each service lists the navigation tools it offers in its tool list.
Core JSON Tools
Every nav___json_* tool takes a json argument: the _ref string from an earlier response, or the JSON data itself when the response had no reference.
nav___json_get_by_path
Extract data using JSONPath expressions. Supports wildcards, filters, and recursive descent.
Parameters
json- Reference string or JSON datapath- JSONPath expression (e.g.,$.users[*].email)
Example
{
"name": "nav___json_get_by_path",
"arguments": {
"json": "<_ref from the earlier response>",
"path": "$..orders[?(@.status=='pending')].id"
}
}Returns: [101, 105, 112]
nav___json_project_fields
Select several fields from an array of objects in one call, optionally reaching the collection with a path and filtering it first.
Parameters
json- Reference string or JSON datacolumns- Fields to keeppath- Optional path to the collectionfilter_expr- Optional filter expression
Example
{
"name": "nav___json_project_fields",
"arguments": {
"json": "<_ref from the earlier response>",
"path": "$..users",
"columns": ["id", "name", "company"]
}
}Returns one row per user with the id, name and company fields.
nav___json_slice_array
Extract a slice of an array with Python-like syntax. Supports negative indices and steps.
Parameters
json- Reference string or JSON arraystart- Start index (inclusive)end- End index (exclusive)step- Step size (default: 1)
Example
{
"name": "nav___json_slice_array",
"arguments": {
"json": "<_ref from the earlier response>",
"start": 0,
"end": 10,
"step": 2
}
}Returns every second item of the first ten.
Tool Reference
| Tool | Purpose | Key Features |
|---|---|---|
| Query & Search Tools | ||
| nav___json_get_by_path | Extract via JSONPath | Wildcards, filters, recursive |
| nav___json_search | Search keys and values | Case-insensitive, max results |
| nav___json_list_fields | Show the structure | Root type, keys, collection path |
| nav___json_get_field | Get one top-level field | By field name |
| Filter & Project Tools | ||
| nav___json_filter_array | Filter array items | Expressions like @.price > 100 |
| nav___json_project_fields | Select several fields | Columns, optional path and filter |
| Slice, Sort & Count Tools | ||
| nav___json_slice_array | Extract an array slice | Start, end, step |
| nav___json_sort | Sort an array | One or more keys, asc/desc |
| nav___json_count | Count elements | Array length, keys, path matches |
| nav___json_table | Render as a table | Markdown, chosen columns |
| Group & Aggregate Tools | ||
| nav___json_group_by | Group by a field | count/sum/avg/min/max |
| nav___json_aggregate | Aggregate one field | sum/avg/min/max/count |
| nav___json_distinct | Unique values | Of one field |
| nav___compute_python | Run Python over stored results | datasets (named _refs or inline data), code that assigns result. Returns an object with result, stdout and stderr; a large list result is stored and returned as a _ref |
| Discovery Tools | ||
| nav___search_tools | Find tools by keyword or intent | query; optional services, categories, detail_level (name_only, with_description, full_schema), limit |
| nav___expand_schema | Full documentation for one tool | toolName: all parameters, response fields and syntax examples |
Common Usage Patterns
Progressive Data Extraction
// 1. Call an API tool. A large response comes back with a reference (_ref).
// 2. Inspect structure: nav___json_list_fields shows how the reference
// is stored: the structure and the field paths it finds
// (e.g. $.items[*].status)
{ "name": "nav___json_list_fields",
"arguments": { "json": "<_ref>" } }
// 3. Filter the collection and keep only the needed fields, in one call.
// path is the collection path step 2 showed ($.items here)
{ "name": "nav___json_project_fields",
"arguments": { "json": "<_ref>", "path": "$.items",
"filter_expr": "@.status == 'active'",
"columns": ["id", "status", "name"] } }Count Before Reading
// Count the rows that match a condition, on the collection path
// nav___json_list_fields showed ($.items here)
{ "name": "nav___json_count",
"arguments": { "json": "<_ref>", "path": "$.items[[email protected] == 'active']" } }Performance Best Practices
DO
- ✓ Use specific JSONPath expressions
- ✓ Extract only needed fields
- ✓ Chain tools for complex operations
- ✓ Use nav___json_project_fields for multiple fields
- ✓ Slice large arrays instead of reading them whole
AVOID
- ✗ Loading entire payloads unnecessarily
- ✗ Multiple calls for related fields
- ✗ Complex JSONPath in tight loops
- ✗ Recursive descent on large data
- ✗ Extracting then filtering (filter first)