budget-and-finance

Query Montréal budget, contracts, subsidies, tax rates, and real estate datasets via CKAN DataStore SQL.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Finding and analyzing Montréal's financial open data is difficult because contracts, subsidies, budgets, and tax rates are split across more than a dozen CKAN datasets with different authorization levels and field structures. This Skill maps each financial question to the correct dataset and provides ready-to-adapt SQL query patterns. ## Core Features & Use Cases - Dataset Directory: Covers 14 datasets including operating budget, four contract datasets by authorization level, two subsidy datasets, supplier list, elected officials' expenses, tax rates, real estate transactions, participatory budget, and the 3-year capital program. - SQL Query Patterns: Provides DataStore SQL examples for spending by department, supplier contract history, grant recipients, tax rate lookups, and capital project analysis. - Gotchas & Edge Cases: Documents pitfalls such as the separate non-CKAN contracts API, the CDN-NDG contract archive gap, annual tax rate changes, and gift-type real estate transactions. - Use Case: A journalist asks which suppliers received the largest city contracts last year; the Skill directs the agent to combine the four contract datasets, group by contractor name, and sum amounts in CAD. ## Quick Start Ask the agent to show the largest contracts awarded by the City of Montréal this year and it will query the appropriate contract datasets.

Frequently Asked Questions about budget-and-finance

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

FAQPage Schema
How do I query Montréal city contracts data?

Montréal splits contracts into four CKAN datasets by authorization level: city officials, municipal council, executive committee, and borough councils. Query each via the CKAN DataStore SQL endpoint and combine results, grouping by contractor name to analyze supplier activity.

How do I find Montréal's operating budget by department?

Use the budget dataset on the Montréal CKAN portal and run a SQL query grouping by department and summing budget amounts. First call package_show to find the DataStore resource ID, then filter by fiscal year for current figures.

Can I use the contracts and subsidies API through CKAN DataStore?

No, the contrats-et-subventions API is a separate REST API hosted on Données Québec, not a CKAN package. Use standard GET requests against its endpoint instead of datastore_search_sql, and prefer the CSV-based CKAN datasets for most analyses.

Why are some CDN-NDG borough contracts missing from the data?

Côte-des-Neiges–Notre-Dame-de-Grâce maintains its own contract archive outside the CKAN portal. Not all of its contracts appear in the borough-level dataset, so check the borough's local website for complete history.

What currency and fiscal year does Montréal budget data use?

All amounts are in Canadian dollars, and Montréal's fiscal year runs January 1 to December 31, matching the calendar year. Tax rates change annually, so always filter by the latest effective date in the tarification dataset.