query

Pack: data-piercecounty · Endpoint: https://gateway.pipeworx.io/data-piercecounty/mcp

Run a Socrata SoQL query against a Pierce County Open Data dataset by resource_id (e.g. “hmbh-c3hw”). Filter with where/select/group/order (SoQL clauses, without the leading $) plus limit/offset. Returns matching rows as JSON.

Parameters

NameTypeRequiredDescription
resource_idstringyesDataset id, e.g. “hmbh-c3hw” (from datasets).
wherestringnoSoQL $where filter, e.g. “year >= 2020 AND status = ‘Active’”.
selectstringnoSoQL $select, e.g. “name, count(*) AS n”.
groupstringnoSoQL $group column(s).
orderstringnoSoQL $order, e.g. “date DESC”.
limitnumbernoMax rows (default Socrata 1000).
offsetnumbernoPagination offset.

Example call

Arguments

{
  "resource_id": "hmbh-c3hw",
  "where": "year >= 2020",
  "limit": 50
}

curl

curl -X POST https://gateway.pipeworx.io/data-piercecounty/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query","arguments":{"resource_id":"hmbh-c3hw","where":"year >= 2020","limit":50}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('query', {
  "resource_id": "hmbh-c3hw",
  "where": "year >= 2020",
  "limit": 50
});

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "data-piercecounty": {
      "url": "https://gateway.pipeworx.io/data-piercecounty/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 10, 2026