diff --git a/mcp-server/index.ts b/mcp-server/index.ts index b6f6fed..54fa444 100644 --- a/mcp-server/index.ts +++ b/mcp-server/index.ts @@ -1042,7 +1042,7 @@ tr:hover{background:#111827} const permitUrl = "https://data.cityofchicago.org/resource/ydr8-5enu.json"; const [bigR, byTypeR, recentR, benchR] = await Promise.all([ // Top 8 largest permits by cost - fetch(`${permitUrl}?$select=permit_type,work_type,work_description,reported_cost,street_number,street_direction,street_name,community_area,issue_date,latitude,longitude&$where=reported_cost>1000000 AND issue_date>'2025-06-01'&$order=reported_cost DESC&$limit=8`).then(r => r.json()), + fetch(`${permitUrl}?$select=permit_type,work_type,work_description,reported_cost,street_number,street_direction,street_name,community_area,issue_date,latitude,longitude&$where=reported_cost>1000000 AND issue_date>'2025-06-01'&$order=reported_cost DESC&$limit=50`).then(r => r.json()), // Permits grouped by work type fetch(`${permitUrl}?$select=work_type,count(*) as cnt,sum(reported_cost) as total_cost&$where=reported_cost>10000 AND issue_date>'2025-06-01'&$group=work_type&$order=total_cost DESC&$limit=10`).then(r => r.json()), // Most recent permits diff --git a/mcp-server/search.html b/mcp-server/search.html index b9f16d7..c98afb3 100644 --- a/mcp-server/search.html +++ b/mcp-server/search.html @@ -2,6 +2,8 @@ Staffing Co-Pilot + +