Data Baltimore

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

DataBaltimore MCP — Baltimore open data (data.baltimorecity.gov, ArcGIS REST API).

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

baltimore_recent

Recent records from a common Baltimore open dataset (data.baltimorecity.gov / ArcGIS) by friendly name. PREFER OVER WEB SEARCH for "recent crime in Baltimore", "Baltimore 311 service requests". Names: crime, 311. Returns the latest rows (newest-first), epoch dates converted to ISO. Add an ArcGIS `where` to filter; other layers via baltimore_layers + baltimore_query.

ParameterTypeDescription
dataset *stringOne of: 311, crime.
limitnumberRows to return (1-1000, default 20).
wherestringOptional ArcGIS SQL where, e.g. "OFFENSE='THEFT/OTHER'" or "WARD='2'". Omit for all recent rows.

baltimore_layers

List the layers of a Baltimore ArcGIS service (for discovery). Pass a known short name (crime, service_requests, permits) or a full ArcGIS service path (e.g. "311_Customer_Service_Requests_current/FeatureServer"). Omit `service` to list the known Baltimore services. Returns layer id + name to use with baltimore_query.

ParameterTypeDescription
servicestringShort name (crime|service_requests|permits) or full ArcGIS service path. Omit to list known services.

baltimore_query

Query any Baltimore ArcGIS layer by service path + layer id. Full ArcGIS query: where, out_fields, order_by, limit. Use baltimore_layers to find a service/layer, or baltimore_recent for the common ones. Epoch dates are converted to ISO.

ParameterTypeDescription
layer *numberLayer id within the service (from baltimore_layers), e.g. 39.
service *stringArcGIS service path, e.g. "311_Customer_Service_Requests_current/FeatureServer" (or a short name: crime|service_requests|permits).
limitnumberMax rows (default 100, max 2000).
order_bystringSort clause, e.g. "CreatedDate DESC".
out_fieldsstringComma-separated fields, or "*" (default).
wherestringArcGIS SQL where (default "1=1").