[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [Alberta legislation text](https://spiral.ai/integrations/windsurf/alberta-legislation-text)

# How to Use Alberta legislation text in Windsurf

Returns an Alberta act or regulation with section text, amendment history, and consolidation information. Use it to examine the wording behind a catalogue result and identify the version you are reading.

|  |  |
| --- | --- |
| Model | Alberta legislation text |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Alberta legislation text in Windsurf

- Use Alberta legislation text to retrieve section 25 of the Employment Standards Code and compare its wording with the holiday references in this project's documentation.
- Use Alberta legislation text to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Alberta legislation text and tell me what changed since last week.
- Check Alberta legislation text and summarize what you find in three bullet points.
- Pull the newest data from Alberta legislation text and give me the result as a table.

## How to set up Alberta legislation text in Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

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

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 Alberta legislation text**: 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": "kings-printer-alberta-ca/legislation/get_legislation",
    "input": {
      "isbn": "<isbn>"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds Alberta legislation text on Spiral, shows the price and runs it.

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

## Alberta legislation text tools and prices

- [Alberta King's Printer · Get legislation](https://spiral.ai/tools/alexandria/kings-printer-alberta-ca/legislation/get_legislation) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| section |  | — | Section number as printed ('25', '23.1'); 's. 25' and 'section 25' are accepted. Unknown section: not_found. |

## What can you do with Alberta legislation text in Windsurf?

Build a legislation reference inventory for an Alberta policy or rules project. A coding agent can match citations in project files to catalogue records and organize relevant provisions and Gazette publications for review.

### Employment policy research

Find the Employment Standards Code and its regulation, read relevant provisions, then locate and examine Gazette publications for changes that need review before updating an employer handbook.

### Municipal policy review

Build a reading list around the Municipal Government Act, examine its wording, and check Gazette issues for relevant regulations and published notices.

### Commercial transport rule review

Locate commercial vehicle legislation, read consolidated provisions, and inspect Gazette amendment instruments for wording that deserves an operations team's attention.

### Health regulation research

Identify legislation under the Health Professions Act, examine relevant provisions, and check Gazette publications for new or amending regulations affecting organizational policies.

### Legislation citation inventory

Match titles cited in a policy manual to catalogue citations and readable legislation, then organize the relevant sections and amendment references for review.

### Section reference collection

Locate the acts and regulations behind an Alberta research question and assemble a section reading list with source links and consolidation information.

## Overview

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

## Alberta legislation text in other agents

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

## More Windsurf guides

- [Alberta legislation search](https://spiral.ai/integrations/windsurf/alberta-legislation-search)
- [BidNet Direct bid categories](https://spiral.ai/integrations/windsurf/bidnet-direct-bid-categories)
- [Alberta Gazette issue text](https://spiral.ai/integrations/windsurf/alberta-gazette-issue-text)
- [BidNet Direct bid locations](https://spiral.ai/integrations/windsurf/bidnet-direct-bid-locations)
- [Alberta Gazette issue list](https://spiral.ai/integrations/windsurf/alberta-gazette-issue-list)
- [BidNet Direct participating agencies](https://spiral.ai/integrations/windsurf/bidnet-direct-participating-agencies)

## Questions about Alberta legislation text in Windsurf

**Can Windsurf use Alberta legislation text?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run Alberta legislation text like any built-in tool.

**How much does Alberta legislation text cost in Windsurf?**

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

**Do I need an Alexandria account to use Alberta legislation text in Windsurf?**

No. Spiral runs Alberta legislation text on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Alberta legislation text in Windsurf?**

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

**Does Windsurf wait while Alberta legislation text runs?**

Alberta legislation text runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

**How often does the Alberta Gazette publish?**

The Gazette publishes twice per month in two parts. A daily check can find newly posted issues, but the publication schedule is twice monthly.

**Which Gazette part should I read?**

Part 1 carries proclamations, Orders in Council, and government notices. Part 2 carries new regulations and amendments filed with the Registrar of Regulations.

**How far back does the public Gazette archive go?**

The public archive starts in 1995. Alberta directs readers seeking earlier issues to request them or consult KP Source Professional.

**Does the electronic Gazette include everything in print?**

It may omit maps, charts, and graphs contained in the printed edition. That boundary matters when a regulation refers to a mapped area or graphical schedule.

**What distinguishes a legislation result from a Gazette result?**

Legislation text provides consolidated acts or regulations with section amendment history and consolidation dates. Gazette Part 2 publishes the new regulations and amendment instruments as filed.

