URL Tools
live UtilityParse a URL into components (with query params broken out), build a URL from parts, and parse query strings. Keyless, offline.
Tools
parse_url Parse a URL into its components (keyless, offline): protocol, host, hostname, port, path, query (as an object), fragment, origin, and any userinfo.
No parameters required.
Try it
build_url Build a URL string from components. Provide at least `hostname` (and optionally protocol, port, path, hash) plus a `query` object of key/value pairs.
No parameters required.
Try it
parse_query Parse a query string (with or without a leading "?") into an object; repeated keys become arrays.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/url/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/url/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"parse_url","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("parse_url", {}); // Or ask in plain English:
const answer = await px.ask("parse a url into components (with query params broken out), build a url from parts, and parse query strings");