Home / Servers / Data Formats / query_string_parse

Query string parse

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

Parse a URL query string (or a full URL) into a JSON object. Repeated keys and key[] become arrays; + and percent-encoding are decoded.

Name on the gateway: data__query_string_parse · read-only.

Parameters

NameTypeDescription
query requiredstringA query string like "a=1&b=x&b=y" or a full URL.

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__query_string_parse",
  "arguments": {
    "query": "…"
  }
}

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 query string parse tool with query set to ….

More from Data Formats