denver_query
Pack: data-denver · Endpoint: https://gateway.pipeworx.io/data-denver/mcp
Query any Denver ArcGIS layer by service path + layer id. Full ArcGIS query: where, out_fields, order_by, limit. Use denver_layers to find a service/layer, or denver_recent for the common ones. Epoch dates are converted to ISO.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
service | string | yes | ArcGIS service path, e.g. “ODC_CRIME_OFFENSES_P/FeatureServer” (or a short name: crime). |
layer | number | yes | Layer id within the service (from denver_layers), e.g. 324. |
where | string | no | ArcGIS SQL where (default “1=1”). |
out_fields | string | no | Comma-separated fields, or ”*” (default). |
order_by | string | no | Sort clause, e.g. “FIRST_OCCURRENCE_DATE DESC”. |
limit | number | no | Max rows (default 100, max 2000). |
Example call
Arguments
{
"service": "crime",
"layer": 0,
"where": "1=1",
"limit": 100
}
curl
curl -X POST https://gateway.pipeworx.io/data-denver/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"denver_query","arguments":{"service":"crime","layer":0,"where":"1=1","limit":100}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('denver_query', {
"service": "crime",
"layer": 0,
"where": "1=1",
"limit": 100
});
More examples
{
"service": "ODC_CRIME_OFFENSES_P/FeatureServer",
"layer": 324,
"where": "OFFENSE='ASSAULT'",
"order_by": "FIRST_OCCURRENCE_DATE DESC",
"limit": 200
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"data-denver": {
"url": "https://gateway.pipeworx.io/data-denver/mcp"
}
}
}
See Getting Started for client-specific install steps.