Data Piercecounty

v0.2.1
io.github.pipeworx-io/data-piercecounty Checked 1 day ago Published 1 month ago

Pierce County Open Data (internal.open.piercecountywa.gov) Socrata MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

datasets

Search the Pierce County Open Data catalog of open datasets by keyword. Returns each dataset's resource_id, name, description, category and update date — pass the resource_id to query/metadata.

ParameterTypeDescription
limitnumberMax datasets (1-100, default 20).
offsetnumberPagination offset.
querystringKeyword to search dataset titles/descriptions (e.g. "budget", "crime", "health").

query

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.

ParameterTypeDescription
resource_id *stringDataset id, e.g. "hmbh-c3hw" (from datasets).
groupstringSoQL $group column(s).
limitnumberMax rows (default Socrata 1000).
offsetnumberPagination offset.
orderstringSoQL $order, e.g. "date DESC".
selectstringSoQL $select, e.g. "name, count(*) AS n".
wherestringSoQL $where filter, e.g. "year >= 2020 AND status = 'Active'".

metadata

Get a Pierce County Open Data dataset's schema + metadata (columns, types, row count, category, last-updated) by resource_id, e.g. "hmbh-c3hw".

ParameterTypeDescription
resource_id *stringDataset id, e.g. "hmbh-c3hw".