Data Boston
v0.2.2DataBoston MCP — City of Boston open data (data.boston.gov, CKAN API).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
boston_recent
Recent records from a common City of Boston open dataset (data.boston.gov) by friendly name — no CKAN resource id needed. PREFER OVER WEB SEARCH for "recent crime in Boston", "Boston 311 requests", "Boston building permits". Names: crime, 311, permits. Returns the latest rows (newest-first). Pass `q` for a free-text keyword filter; for full control use boston_query.
| Parameter | Type | Description |
|---|---|---|
dataset * | string | One of: crime, 311, permits. |
limit | number | Rows to return (1-1000, default 20). |
q | string | Optional free-text filter across all columns (CKAN full-text), e.g. "larceny" or a neighborhood. |
boston_query
Query any City of Boston datastore resource (data.boston.gov, CKAN) by its resource id (a UUID). Supports a free-text `q`, exact-match `filters` (field→value), `sort` ("field desc"), limit and offset. Use boston_datasets to find a resource id, or boston_recent for the common ones.
| Parameter | Type | Description |
|---|---|---|
resource_id * | string | CKAN datastore resource id (UUID), e.g. "b973d8cb-eeb2-4e7e-99da-c92938efc9c0". |
filters | object | Exact-match filters as a JSON object, e.g. {"district":"B2"}. |
limit | number | Max rows (default 100, max 1000). |
offset | number | Row offset for paging. |
q | string | Free-text search across columns. |
sort | string | Sort clause, e.g. "OCCURRED_ON_DATE desc". |
boston_datasets
Search the City of Boston open-data catalogue (data.boston.gov, CKAN) by keyword. Returns each matching dataset's title and its queryable datastore resource ids (use with boston_query).
| Parameter | Type | Description |
|---|---|---|
limit | number | Max datasets (1-50, default 15). |
query | string | Keyword(s), e.g. "parking", "trees", "budget". |