Home / Servers / Data Formats / json_pick

Json pick

An MCP tool from the Data Formats server, hosted on mcp.hjlabs.in.

Keep only some keys of each object in a JSON array (or of one object), optionally renaming them. Lighter than json_query when you just want certain columns.

Name on the gateway: data__json_pick · read-only.

Parameters

NameTypeDescription
json requiredstringAn object or array of objects.
keys requiredarrayKeys to keep. Use "old:new" to rename.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "data__json_pick",
  "arguments": {
    "json": "…",
    "keys": []
  }
}

Or connect the Data Formats server directly, which lists 26 tools including this one:

Run in your terminal
claude mcp add --transport http hj-data https://mcp.hjlabs.in/mcp/data \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the json pick tool with json set to ….

More from Data Formats