City of Chicago Data Portal
Open data portalsUSdata.cityofchicago.org
Socrata open data portal at data.cityofchicago.org, publishing 2034 public datasets from the publishing organisation, led by the Public Safety category.
The crw MCP on your computer calls City of Chicago Data Portal directly. Calls cost no credits and the data does not pass through fastCRW. Install it once for Claude Code, Cursor, Codex, Windsurf, Gemini CLI or OpenCode, with your fastCRW API key in place of the placeholder:
Capabilities (5)
data-cityofchicago-org/catalog-searchFree, runs locallyKeyword search over the datasets published on data.cityofchicago.org: each hit carries the dataset id, name, description, attribution, category, tags, column names and last update time, plus the total match count.
data-cityofchicago-org/datasetFree, runs locallyThe complete metadata document for one dataset: name, description, attribution, licence, category, tags, all column definitions with data types, and the table id used for queries.
data-cityofchicago-org/datasetsFree, runs locallyA page of the portal's own dataset records (id, name, description, category, attribution, creation and update timestamps, view count) without the full column metadata.
data-cityofchicago-org/row-countFree, runs locallyOne number: how many rows the dataset currently holds, as a SoQL count aggregate.
data-cityofchicago-org/rowsFree, runs locallyThe first 100 rows of a dataset as JSON objects keyed by field name. Column names are the API field names, so they can be used directly in a later SoQL query.
Response example
The shape of data from data-cityofchicago-org/catalog-search (Catalogue search). A sample, not live data.
Example truncated, full shape in JSON from the API.
{
"results": [
{
"resource": {
"name": "Building Permits",
"id": "ydr8-5enu",
"resource_name": "building-permits",
"parent_fxf": [],
"description": "This dataset includes information about building permits issued by the City of Chicago from 2006 to the present, excluding permits that have been voided or revoked after issuance. Most types of permits are issued subject to payment of the applicable permit fee. Work under a permit may not begin until the applicable permit fee is paid. \n\nFor more information about building permits, see http://www.chicago.gov/permit.",
"attribution": "City of Chicago",
"attribution_link": "http://www.cityofchicago.org",
"contact_email": null,
"type": "dataset",
"updatedAt": "2026-10-23T12:19:04.000Z",
"createdAt": "2011-09-30T12:00:08.000Z",
"metadata_updated_at": "2026-05-29T18:56:10.000Z",
"data_updated_at": "2026-10-23T12:19:04.000Z",
"page_views": {
"page_views_last_week": 384151,
"page_views_last_month": 1289527,
"page_views_total": 5860326,
"page_views_last_week_log": 18.551317739176444,
"page_views_last_month_log": 20.2984116685642,
"page_views_total_log": 22.482549737063206
},
"columns_name": [
"CONTACT_2_CITY",
"BUILDING_FEE_WAIVED",
"CONTACT_7_STATE",
"PERMIT_CONDITION",
"ZONING_FEE_PAID",
"… 117 more items"
],
"columns_field_name": [
"contact_2_city",
"building_fee_waived",
"contact_7_state",
"permit_condition",
"zoning_fee_paid",
"… 117 more items"
],
"columns_datatype": [
"Text",
"Number",
"Text",
"Text",
"Number",
"… 117 more items"
],
"columns_description": [
"Contact 2's primary address city",
"Amount of building permit fees waived",
"Contact 7's primary address state",
"Conditions or comments added by reviewing department(s)",
"Amount of zoning review fees received",
"… 117 more items"
],
"columns_format": [
{
"align": "left"
},
{
"precisionStyle": "currency",
"precision": "2"
},
{
"align": "left"
},
{},
{
"precisionStyle": "currency",
"precision": "2"
},
"… 117 more items"
],
"download_count": 170339,
"provenance": "official",
"lens_view_type": "tabular",
"lens_display_type": "table",
"locked": false,
"backend": "nbe",
"blob_mime_type": null,
"hide_from_data_json": false,
"publication_date": "2025-10-14T22:14:12.000Z"
},
"classification": {
"categories": [],
"tags": [],
"domain_category": "Buildings",
"domain_tags": [
"buildings",
"permits"
],
"domain_metadata": [
{
"key": "Metadata_Frequency",
"value": "Data are updated daily"
},
{
"key": "Metadata_Data-Owner",
"value": "Department of Buildings"
},
{
"key": "Metadata_Time-Period",
"value": "2006 to present"
},
{
"key": "Metadata_Changes-and-Other-Historical-Information-Useful-to-Understanding-This-Dataset",
"value": "https://www.google.com/search?q=site:data.cityofchicago.org/stories+\"Related+dataset+ID+s\"+\"ydr8-5enu\""
}
]
},
"metadata": {
"domain": "data.cityofchicago.org",
"license": "See Terms of Use"
},
"permalink": "https://data.cityofchicago.org/d/ydr8-5enu",
"link": "httpsAsk with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Catalogue search
Use City of Chicago Data Portal (data-cityofchicago-org) from fastCRW Pergamon, capability "Catalogue search" (catalog-search). You want to find a dataset on this portal by keyword and do not know its four-by-four id. Example options: q=taxi, offset=0, order=page_views_total DESC. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-cityofchicago-org" and capability "catalog-search". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset metadata
Use City of Chicago Data Portal (data-cityofchicago-org) from fastCRW Pergamon, capability "Dataset metadata" (dataset). You already hold a dataset id and need its columns, licence or description before querying rows. Example options: id=p4pq-bxn9. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-cityofchicago-org" and capability "dataset". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Dataset inventory
Use City of Chicago Data Portal (data-cityofchicago-org) from fastCRW Pergamon, capability "Dataset inventory" (datasets). You need to enumerate what this portal publishes, or page through its newest datasets. Example options: offset=0, order=createdAt, category=Transportation. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-cityofchicago-org" and capability "datasets". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Row count
Use City of Chicago Data Portal (data-cityofchicago-org) from fastCRW Pergamon, capability "Row count" (row-count). You need to know how large a dataset is before downloading it, or want a cheap liveness check. Example options: id=p4pq-bxn9. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "data-cityofchicago-org" and capability "row-count". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Licence
These Terms of Use do not grant anyone any title or right to any patent, copyright, trademark or other intellectual property rights that the City may have in any of the information, images, software, or processes displayed or used at this website.
https://www.chicago.gov/city/en/narr/foia/data_disclaimer.htmlAttribution
Display this wherever you show the data. It arrives on every response as provenance.attributionText.
Source: data.cityofchicago.org. Dataset attribution as stated by each publishing agency.
