safety

Query Montréal public safety datasets including crime, collisions, 311 requests, and fire interventions.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/alistaircroll/montreal-open-data --skill safety-alistaircroll
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safety
Source: https://github.com/alistaircroll/montreal-open-data/tree/main/skills/domains/safety
Command: npx skills add https://github.com/alistaircroll/montreal-open-data --skill safety-alistaircroll

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Finding and querying Montréal's public safety open data requires knowing dataset slugs, field schemas, coordinate systems, and CKAN API patterns, which this Skill consolidates into one bilingual reference. ## Core Features & Use Cases - Dataset Catalog: Documents 9 safety datasets (criminal acts, 311 requests, road collisions, fire interventions, stations, coyote sightings, hydrants) with slugs, formats, record counts, and key fields. - Ready-to-Use Queries: Provides CKAN datastore_search_sql curl examples for aggregations, proximity searches, and filtered lookups. - Gotchas & Provenance: Flags coordinate system differences (WGS84 vs NAD 83 MTM Zone 8), bilingual severity values, data lag, and licensing (CC BY 4.0). - Use Case: Ask how many crimes occurred in a neighborhood last year, and the agent uses the documented schema to build a SQL GROUP BY query against the actes-criminels DataStore resource. ## Quick Start Ask how many crimes were reported in the Plateau last year and have the agent query the actes-criminels dataset.

Frequently Asked Questions about safety

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Montréal crime data by neighborhood?

Use the CKAN datastore_search_sql endpoint against the actes-criminels dataset with a SQL GROUP BY on the QUARTIER field and a WHERE clause on DATE. The dataset contains over 500,000 records with WGS84 latitude and longitude.

What public safety datasets does Montréal publish as open data?

Montréal publishes nine safety datasets including criminal acts, 311 requests, road collisions, fire interventions, fire and police stations, police district boundaries, coyote sightings, and fire hydrants. All are licensed CC BY 4.0 by Ville de Montréal.

How do I find collisions near a location in Montréal open data?

Query the collisions-routieres dataset using datastore_search_sql with a distance filter on the LATITUDE and LONGITUDE fields. The dataset includes severity (GRAVITE), fatality counts, and street names for over 100,000 incidents.

Does Montréal crime data use English or French field values?

Field values are primarily in French, such as collision severity values Décès, Blessés graves, and Dommages matériels. Do not hard-code English filter values; check the resource schema before writing queries.

Why do coordinates differ between Montréal open datasets?

Some datasets include both WGS84 Latitude/Longitude and NAD 83 MTM Zone 8 X/Y projected coordinates. Always verify which coordinate system a field uses before running spatial queries or mapping results.

What are the limitations of Montréal 311 and crime open data?

Crime data updates daily but may lag 24 to 48 hours, and 311 categories can be abbreviated inconsistently. Large datasets require LIMIT and pagination to avoid fetching entire tables.