cambridge_query
ActiveTool of Data Cambridge
Run a raw SoQL query against any Cambridge open-data resource (data.cambridgema.gov) by its Socrata id (8-char like "2z9k-mv9g"). Full SoQL: where/select/group/order/limit/offset. Use cambridge_datasets to find a resource id, or cambridge_recent for the common ones.
Parameters schema
{
"type": "object",
"required": [
"resource_id"
],
"properties": {
"group": {
"type": "string",
"description": "SoQL $group (e.g. \"incident_category\")."
},
"limit": {
"type": "number",
"description": "Max rows (default 100, max 5000)."
},
"order": {
"type": "string",
"description": "SoQL $order (e.g. \"incident_datetime DESC\")."
},
"where": {
"type": "string",
"description": "SoQL $where filter (e.g. \"incident_year=2025\")."
},
"offset": {
"type": "number",
"description": "Row offset for paging."
},
"select": {
"type": "string",
"description": "SoQL $select (e.g. \"incident_category, count(*)\")."
},
"_apiKey": {
"type": "string",
"description": "Optional — your own Socrata app token for higher rate limits. Omit to use the keyless endpoint."
},
"resource_id": {
"type": "string",
"description": "Socrata resource id, e.g. \"2z9k-mv9g\" (police incidents)."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Data Cambridge
https://github.com/pipeworx-io/mcp-data-cambridge
2/7 registries