# How to connect Alberta Purchasing Connection to Cursor

> Connect Alberta Purchasing Connection to Cursor with the Firecrawl MCP server. Use Alberta Purchasing Connection as an MCP tool via Firecrawl Alexandria.

To connect Alberta Purchasing Connection to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for Alberta Purchasing Connection data in plain language. The connection works in Cursor's agent and chat, and you set it up once.

Cursor uses Alberta Purchasing Connection as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Alberta Purchasing Connection.

Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect Alberta Purchasing Connection to Cursor?

### 1. Install the Firecrawl MCP server

Open the [install dialog in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9), check that the URL is Firecrawl's hosted server, then select Install.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=firecrawl&config=eyJ1cmwiOiJodHRwczovL21jcC5maXJlY3Jhd2wuZGV2L3YyL21jcC1vYXV0aCJ9)

![Cursor's Install MCP server dialog with the Firecrawl hosted server URL](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-install-firecrawl-mcp-server.webp)

### 2. Connect your Firecrawl account

Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

![Cursor's MCP list showing Firecrawl connected with its tools enabled](https://www.firecrawl.dev/images/blog/using-firecrawl-mcp-in-cursor/cursor-firecrawl-mcp-connected.webp)

### 3. Ask Cursor's agent for the data

In the agent chat, ask in plain language and mention Alberta Purchasing Connection or Firecrawl Alexandria. The agent finds the Alberta Purchasing Connection capability that fits and runs it. For example:

```text
Use Firecrawl to find the first 10 open Alberta Purchasing Connection postings matching wildfire, ordered by earliest closing date, with buyers and reference numbers.
```

## What can Cursor do with Alberta Purchasing Connection?

Alberta Purchasing Connection (purchasing.alberta.ca), the Government of Alberta's public procurement portal: search tender postings by text, status, organization, region, category, solicitation and opportunity type, UNSPSC code and post/close dates; one posting's full public record (dates, submission details, contact, documents metadata, plan holders, bidders, awards); the contracting-organization directory, the code tables used as filter values and the UNSPSC commodity-code lookup. Anonymous JSON API; document bytes are not retrievable (Cloudflare Turnstile plus login).

Cursor can run any of Alberta Purchasing Connection's 5 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Get posting**: One posting's full public record by reference number (GET /api/opportunity/public/{year}/{number}): titles, description, status, codes, estimated/actual value (CAD), trade agreements, post/close/delivery/question dates and posting periods, submission methods, the buyer's published procurement contact, document metadata (names, types, sizes; the bytes themselves need a Cloudflare Turnstile check plus login and are never returned), resolved UNSPSC hierarchy, plan holders (interested suppliers) and bidders as businesses, and awards with amounts. Unknown reference numbers are not_found. Costs 5 Firecrawl credits per call.
- **List codes**: One of the site's code tables (GET /api/lookup): the codes and display values behind search filters and posting fields. Categories include opportunity-status, opportunity-category, opportunity-solicitation-type, opportunity-posting-type, trade-agreement, trade-agreement-exception, region-of-delivery (about 800 Alberta places), opportunity-document-type, organization-type, country, contact-method, opportunity-award-selection-criteria and others; 'root' lists every category. An unknown category is not_found. Costs 5 Firecrawl credits per call.
- **List organizations**: The directory of contracting organizations (GET /api/organizational-unit): every ministry, agency/board/commission, Crown corporation, Indigenous organization and MASH-sector body (municipalities, academic, school boards, health) that posts on APC, with id, type and active flag. Optional type and name filters are applied locally to the one full list the site serves (about 530 rows). Names are the values search_postings accepts in `organizations`. Costs 5 Firecrawl credits per call.
- **Search postings**: Search Alberta Purchasing Connection postings (POST /api/opportunity/search). Free text plus any combination of status, category, solicitation type, opportunity type, trade agreement, contracting organization, delivery region, UNSPSC code and post/close date range filters; sorted by post or close date; one page per call (page_size rows, default 20, max 100). Each posting carries its reference number (AB-YYYY-NNNNN), titles, organization, codes, regions, UNSPSC codes with titles, post and close date-times (Alberta local time, America/Edmonton, no offset) and its source URL. Facet counts for the filtered result set are returned when include_facets is true. Zero matches is a legitimate empty result. Costs 5 Firecrawl credits per call.
- **Search unspsc codes**: UNSPSC commodity codes whose 8-digit code starts with a numeric prefix (GET /api/lookup/unspsc-codes/prefix-search), with title, level (Segment, Family, Class, Commodity) and the Canadian GSIN code. These are the codes search_postings accepts in `unspsc_codes` and that postings carry. A prefix nothing starts with is a legitimate empty result. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name Alberta Purchasing Connection or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to find the first 10 open Alberta Purchasing Connection postings matching wildfire, ordered by earliest closing date, with buyers and reference numbers.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20find%20the%20first%2010%20open%20Alberta%20Purchasing%20Connection%20postings%20matching%20wildfire%2C%20ordered%20by%20earliest%20closing%20date%2C%20with%20buyers%20and%20reference%20numbers.)
- [Use Firecrawl to read Alberta tender AB-2026-06670 and show its description, deadlines, submission methods and document metadata.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20read%20Alberta%20tender%20AB-2026-06670%20and%20show%20its%20description%2C%20deadlines%2C%20submission%20methods%20and%20document%20metadata.)
- [Use Firecrawl to list active contracting organizations with Calgary in their name and show their organization types.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20list%20active%20contracting%20organizations%20with%20Calgary%20in%20their%20name%20and%20show%20their%20organization%20types.)
- [Use Firecrawl to run Alberta Purchasing Connection's Get posting capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20run%20Alberta%20Purchasing%20Connection's%20Get%20posting%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)

### For agents

Start with the `purchasing-alberta-ca` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why can't Cursor find Alberta Purchasing Connection?

If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.

### Firecrawl shows a red dot in Cursor. What should I do?

Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.

## Use Alberta Purchasing Connection in other AI apps

- [Alberta Purchasing Connection in ChatGPT](https://alexandria.firecrawl.dev/providers/purchasing-alberta-ca/connect/chatgpt)
- [Alberta Purchasing Connection in Claude](https://alexandria.firecrawl.dev/providers/purchasing-alberta-ca/connect/claude)
- [Alberta Purchasing Connection in Grok Bot](https://alexandria.firecrawl.dev/providers/purchasing-alberta-ca/connect/grok-bot)
- [Alberta Purchasing Connection in Muse](https://alexandria.firecrawl.dev/providers/purchasing-alberta-ca/connect/muse)

### Other data providers you can connect to Cursor

- [How to connect France public medicines database (BDPM) to Cursor](https://alexandria.firecrawl.dev/providers/base-donnees-publique-medicaments-gouv-fr/connect/cursor)
- [How to connect ClinicalTrials.gov to Cursor](https://alexandria.firecrawl.dev/providers/clinicaltrials-gov/connect/cursor)
- [How to connect CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits to Cursor](https://alexandria.firecrawl.dev/providers/cms-gov/connect/cursor)
- [How to connect CDC PLACES local health estimates (data.cdc.gov) to Cursor](https://alexandria.firecrawl.dev/providers/data-cdc-gov/connect/cursor)

Full setup guide: [Firecrawl in Cursor](https://www.firecrawl.dev/integrations/cursor)

## Frequently asked questions

### What is Firecrawl?

Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Cursor, along with every data provider in Firecrawl Alexandria.

### What is Firecrawl Alexandria?

Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, Alberta Purchasing Connection among them. Each provider returns structured data through documented capabilities. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.

### Is there a Alberta Purchasing Connection MCP server for Cursor?

Cursor reaches Alberta Purchasing Connection through Firecrawl's hosted MCP server, which serves Alberta Purchasing Connection and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for Alberta Purchasing Connection.

### What does connecting Alberta Purchasing Connection to Cursor unlock?

Cursor can run all 5 of Alberta Purchasing Connection's capabilities, including Get posting, List codes and List organizations, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to find the first 10 open Alberta Purchasing Connection postings matching wildfire, ordered by earliest closing date, with buyers and reference numbers." In the same conversation, Cursor can combine Alberta Purchasing Connection with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Alberta Purchasing Connection account or API key to use it in Cursor?

No. Cursor calls Alberta Purchasing Connection through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Alberta Purchasing Connection account or API key.

### How much does it cost to use Alberta Purchasing Connection in Cursor?

Each Alberta Purchasing Connection call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Cursor, and finding the right capability is free.

### Can Cursor use other providers besides Alberta Purchasing Connection?

Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.

### Can I use Alberta Purchasing Connection in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same Alberta Purchasing Connection capabilities are available there. Keyless connections don't include Alexandria.
