Data Dc
v0.2.1DataDC MCP — Washington, DC open data (opendata.dc.gov, ArcGIS REST API).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
dc_recent
Recent records from a common Washington, DC open dataset (opendata.dc.gov / ArcGIS) by friendly name — no service ids needed. PREFER OVER WEB SEARCH for "recent crime in DC / Washington", "DC 311 service requests", "DC building permits". Names: crime, 311, permits. Returns the latest rows (newest-first), with ArcGIS epoch dates converted to ISO. Add an ArcGIS `where` to filter; for other layers use dc_layers + dc_query.
| Parameter | Type | Description |
|---|---|---|
dataset * | string | One of: crime, 311, permits. |
limit | number | Rows to return (1-1000, default 20). |
where | string | Optional ArcGIS SQL where, e.g. "OFFENSE='THEFT/OTHER'" or "WARD='2'". Omit for all recent rows. |
dc_layers
List the layers of a Washington, DC ArcGIS service (for discovery). Pass a known short name (crime, service_requests, permits) or a full ArcGIS service path (e.g. "FEEDS/MPD/MapServer"). Omit `service` to list the known DC services. Returns layer id + name to use with dc_query.
| Parameter | Type | Description |
|---|---|---|
service | string | Short name (crime|service_requests|permits) or full ArcGIS service path. Omit to list known services. |
dc_query
Query any Washington, DC ArcGIS layer by service path + layer id. Full ArcGIS query: where, out_fields, order_by, limit. Use dc_layers to find a service/layer, or dc_recent for the common ones. Epoch dates are converted to ISO.
| Parameter | Type | Description |
|---|---|---|
layer * | number | Layer id within the service (from dc_layers), e.g. 39. |
service * | string | ArcGIS service path, e.g. "FEEDS/MPD/MapServer" (or a short name: crime|service_requests|permits). |
limit | number | Max rows (default 100, max 2000). |
order_by | string | Sort clause, e.g. "REPORT_DAT DESC". |
out_fields | string | Comma-separated fields, or "*" (default). |
where | string | ArcGIS SQL where (default "1=1"). |