Data Seattle

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

DataSeattle MCP — Seattle open data (data.seattle.gov, Socrata SODA API).

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

seattle_recent

Recent records from a common Seattle open dataset (data.seattle.gov) by friendly name — no Socrata id needed. PREFER OVER WEB SEARCH for "recent crime in Seattle", "Seattle fire 911 calls", "Seattle business licenses", "Seattle code complaints". Names: crime, fire911, business, code_complaints. Returns the latest rows (newest-first). Add a SoQL `where` to filter; for anything else use seattle_query.

ParameterTypeDescription
dataset *stringOne of: crime, fire911, business, code_complaints.
_apiKeystringOptional — your own Socrata app token for higher rate limits. Omit to use the keyless endpoint.
limitnumberRows to return (1-1000, default 20).
wherestringOptional SoQL filter, e.g. "offense='BURGLARY'". Omit for all recent rows.

seattle_query

Run a raw SoQL query against any Seattle open-data resource (data.seattle.gov) by its Socrata id (8-char like "tazs-3rd5"). Full SoQL: where/select/group/order/limit/offset. Use seattle_datasets to find a resource id, or seattle_recent for the common ones.

ParameterTypeDescription
resource_id *stringSocrata resource id, e.g. "tazs-3rd5" (crime data).
_apiKeystringOptional — your own Socrata app token for higher rate limits. Omit to use the keyless endpoint.
groupstringSoQL $group.
limitnumberMax rows (default 100, max 5000).
offsetnumberRow offset for paging.
orderstringSoQL $order (e.g. "report_date_time DESC").
selectstringSoQL $select (e.g. "offense, count(*)").
wherestringSoQL $where filter.

seattle_datasets

Search the Seattle open-data catalogue (data.seattle.gov) for datasets by keyword. Returns dataset names, descriptions, and Socrata resource ids to use with seattle_query.

ParameterTypeDescription
_apiKeystringOptional — your own Socrata app token for higher rate limits. Omit to use the keyless endpoint.
limitnumberMax datasets (1-100, default 20).
offsetnumberOffset for paging.
querystringKeyword(s), e.g. "parks", "transit", "budget".