[Integrations](https://spiral.ai/integrations) › [Cursor](https://spiral.ai/integrations/cursor) › [Statistics Canada table definitions](https://spiral.ai/integrations/cursor/statistics-canada-table-definitions)

# How to Use Statistics Canada table definitions in Cursor

Returns the metadata that describes a Statistics Canada table and its dimensions. Use it to identify the available categories and understand the table before choosing the series to retrieve.

|  |  |
| --- | --- |
| Model | Statistics Canada table definitions |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Statistics Canada table definitions in Cursor

- Use Statistics Canada table definitions for 18-10-0004-01 to document the available geography and product categories in our inflation chart configuration.
- Use Statistics Canada table definitions to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Statistics Canada table definitions and tell me what changed since last week.
- Check Statistics Canada table definitions and summarize what you find in three bullet points.
- Pull the newest data from Statistics Canada table definitions and give me the result as a table.

## How to set up Statistics Canada table definitions in Cursor

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Statistics Canada table definitions**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "statcan-gc-ca/economic-statistics/table_metadata",
    "input": {
      "url": "<url>"
    }
  }'
```

Then paste one of the prompts above: Cursor finds Statistics Canada table definitions on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/cursor

## Statistics Canada table definitions tools and prices

- [Statistics Canada (www150.statcan.gc.ca) · Table metadata](https://spiral.ai/tools/alexandria/statcan-gc-ca/economic-statistics/table_metadata) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A StatCan table-viewer URL (https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=1810000401), instead of table. |
| table |  | — | Table id in any StatCan spelling: 18100004, 1810000401, 18-10-0004-01 or 18-10-0004. |
| max_members | 1 to 5000 | 200 | Members listed per dimension at most. |
| member_query |  | — | Only members whose English or French name contains this text. |
| include_footnotes |  | — | include_footnotes |

## What can you do with Statistics Canada table definitions in Cursor?

Build a Canadian economic dashboard with StatCan observations and links to the releases behind them. A coding agent can turn the source's table definitions and series into chart data and explanatory text in your project.

### Prepare an inflation briefing

Find the latest CPI announcement, read its explanation, identify the supporting table, inspect its definitions, and compare observations with a known vector series. Check table updates before refreshing the briefing.

### Write a provincial labor market report

Discover the latest Labour Force Survey release, locate the monthly labor table, confirm the available provincial categories, and compare unemployment observations. Reuse identified vectors for later editions and check which tables changed.

### Maintain a Canadian economic dashboard

Discover relevant releases and datasets, check table definitions, and populate charts with selected observations or known vectors. Use changed-table results to choose what to refresh and Daily articles to explain new movements.

### Check statistics before publication

Trace an economic claim to its Daily article and statistical table. Confirm the categories, compare table observations with the cited vector, and check for table updates before publishing the final report.

### Compare provincial CPI trends

Locate the monthly CPI table, inspect its geographic and product categories, and retrieve comparable provincial series for a chart covering the same reference periods.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Cursor guides](https://spiral.ai/integrations/cursor)

## Statistics Canada table definitions in other agents

- [Amp](https://spiral.ai/integrations/amp/statistics-canada-table-definitions)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/statistics-canada-table-definitions)
- [Claude](https://spiral.ai/integrations/claude-desktop/statistics-canada-table-definitions)
- [Claude Code](https://spiral.ai/integrations/claude-code/statistics-canada-table-definitions)
- [Cline](https://spiral.ai/integrations/cline/statistics-canada-table-definitions)
- [Codex](https://spiral.ai/integrations/codex/statistics-canada-table-definitions)
- [Devin](https://spiral.ai/integrations/devin/statistics-canada-table-definitions)
- [dots](https://spiral.ai/integrations/dots/statistics-canada-table-definitions)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/statistics-canada-table-definitions)
- [Gemini](https://spiral.ai/integrations/gemini/statistics-canada-table-definitions)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/statistics-canada-table-definitions)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/statistics-canada-table-definitions)
- [goose](https://spiral.ai/integrations/goose/statistics-canada-table-definitions)
- [Grok](https://spiral.ai/integrations/grok/statistics-canada-table-definitions)
- [Grok Build](https://spiral.ai/integrations/grok-build/statistics-canada-table-definitions)
- [Hermes](https://spiral.ai/integrations/hermes/statistics-canada-table-definitions)
- [Instinct](https://spiral.ai/integrations/instinct/statistics-canada-table-definitions)
- [Manus](https://spiral.ai/integrations/manus/statistics-canada-table-definitions)
- [Muse](https://spiral.ai/integrations/muse/statistics-canada-table-definitions)
- [Muse Code](https://spiral.ai/integrations/muse-code/statistics-canada-table-definitions)
- [n8n](https://spiral.ai/integrations/n8n/statistics-canada-table-definitions)
- [Notion](https://spiral.ai/integrations/notion/statistics-canada-table-definitions)
- [OpenClaw](https://spiral.ai/integrations/openclaw/statistics-canada-table-definitions)
- [opencode](https://spiral.ai/integrations/opencode/statistics-canada-table-definitions)
- [Perplexity](https://spiral.ai/integrations/perplexity/statistics-canada-table-definitions)
- [Raycast](https://spiral.ai/integrations/raycast/statistics-canada-table-definitions)
- [VS Code](https://spiral.ai/integrations/vscode/statistics-canada-table-definitions)
- [Windsurf](https://spiral.ai/integrations/windsurf/statistics-canada-table-definitions)
- [Zapier](https://spiral.ai/integrations/zapier/statistics-canada-table-definitions)

## More Cursor guides

- [Statistics Canada latest releases](https://spiral.ai/integrations/cursor/statistics-canada-latest-releases)
- [Statistics Canada table search](https://spiral.ai/integrations/cursor/statistics-canada-table-search)
- [Statistics Canada Daily article](https://spiral.ai/integrations/cursor/statistics-canada-daily-article)
- [Statistics Canada table updates](https://spiral.ai/integrations/cursor/statistics-canada-table-updates)
- [SEC EDGAR quarterly insider transactions](https://spiral.ai/integrations/cursor/sec-edgar-quarterly-insider-transactions)
- [Statistics Canada table values](https://spiral.ai/integrations/cursor/statistics-canada-table-values)

## Questions about Statistics Canada table definitions in Cursor

**Can Cursor use Statistics Canada table definitions?**

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run Statistics Canada table definitions like any built-in tool.

**How much does Statistics Canada table definitions cost in Cursor?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Cursor plan is separate.

**Do I need an Alexandria account to use Statistics Canada table definitions in Cursor?**

No. Spiral runs Statistics Canada table definitions on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Statistics Canada table definitions in Cursor?**

About two minutes: add the hosted server, then sign in.

**Does Cursor wait while Statistics Canada table definitions runs?**

Statistics Canada table definitions runs in the background. Cursor starts the run, checks on it and gives you the json when it's ready.

**Does Statistics Canada provide individual survey responses?**

The public data API provides aggregate statistics and metadata. Its documented coverage is public statistical databases, rather than individual survey responses.

**When does Statistics Canada publish new information?**

The Daily normally appears Monday through Friday at 8:30 a.m. Eastern time, excluding holidays. Statistics Canada's data service also publishes updates each business day.

**Are archived tables still updated?**

No. Statistics Canada defines an archived table as publicly available but no longer updated, so an accessible historical table may not contain current observations.

**Can published observations be preliminary or revised?**

Yes. Statistics Canada identifies preliminary observations with p and revised observations with r; those distinctions matter when comparing a published release with later table values.

**Does every statistic cover the same geographic areas?**

No. Available geography depends on the table: monthly CPI table 18-10-0004-01 includes national, provincial or territorial, and selected municipal and metropolitan geography types.

