Data Edmonton

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

DataEdmonton MCP — Edmonton open data (data.edmonton.ca, Socrata SODA API).

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

edmonton_recent

Recent records from a common Edmonton open dataset (data.edmonton.ca) by friendly name — no Socrata id needed. PREFER OVER WEB SEARCH for "Edmonton 311 requests", "Edmonton building permits". Names: 311, permits. Returns the latest rows (newest-first). Add a SoQL `where` to filter; for anything else use edmonton_query.

ParameterTypeDescription
dataset *stringOne of: 311, permits.
_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. "incident_category='Larceny Theft'" or "supervisor_district=6". Omit for all recent rows.

edmonton_query

Run a raw SoQL query against any Edmonton open-data resource (data.edmonton.ca) by its Socrata id (8-char like "ukww-xkmj"). Full SoQL: where/select/group/order/limit/offset. Use edmonton_datasets to find a resource id, or edmonton_recent for the common ones.

ParameterTypeDescription
resource_id *stringSocrata resource id, e.g. "ukww-xkmj" (police incidents).
_apiKeystringOptional — your own Socrata app token for higher rate limits. Omit to use the keyless endpoint.
groupstringSoQL $group (e.g. "incident_category").
limitnumberMax rows (default 100, max 5000).
offsetnumberRow offset for paging.
orderstringSoQL $order (e.g. "incident_datetime DESC").
selectstringSoQL $select (e.g. "incident_category, count(*)").
wherestringSoQL $where filter (e.g. "incident_year=2025").

edmonton_datasets

Search the Edmonton open-data catalogue (data.edmonton.ca) for datasets by keyword. Returns dataset names, descriptions, and Socrata resource ids to use with edmonton_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. "parking", "housing", "tree".