# How to connect Justice Laws Website (Canada) to ChatGPT

> Connect Justice Laws Website (Canada) to ChatGPT with the Firecrawl plugin. Use Justice Laws Website (Canada) as an MCP tool via Firecrawl Alexandria.

To connect Justice Laws Website (Canada) to ChatGPT, add the Firecrawl plugin to ChatGPT, sign in on a Firecrawl team with Alexandria enabled, and ask for Justice Laws Website (Canada) data in plain language. The connection works in ChatGPT and Codex, and you set it up once.

ChatGPT uses Justice Laws Website (Canada) as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Justice Laws Website (Canada).

ChatGPT is OpenAI's AI assistant. Plugins add tools from other services, and the Firecrawl plugin adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect Justice Laws Website (Canada) to ChatGPT?

### 1. Install the Firecrawl plugin

Open the [Firecrawl listing in ChatGPT's plugin directory](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl) and select Install plugin. You can also open Plugins in ChatGPT or Codex and search for Firecrawl.

[Add to ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6a314a73f8ac819195b0d55e36b9c609?q=firecrawl)

![The Firecrawl plugin page in ChatGPT with the Install plugin button](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/install.webp)

### 2. Connect your Firecrawl account

ChatGPT opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.

![Firecrawl's consent screen asking to connect chatgpt.com to Firecrawl](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/authorize.webp)

### 3. Attach Firecrawl to a chat

Start a new chat so it loads the plugin, open the + menu and choose Firecrawl. You can also ask ChatGPT to use Firecrawl by name.

![ChatGPT's + menu with the Firecrawl plugin listed](https://www.firecrawl.dev/images/alexandria/connect/chatgpt/attach.webp)

### 4. Ask ChatGPT for the data

Ask in plain language and mention Justice Laws Website (Canada) or Firecrawl Alexandria. ChatGPT finds the Justice Laws Website (Canada) capability that fits and runs it. For example:

```text
Use Firecrawl to answer this: What does section 718 of the Criminal Code say?
```

## What can ChatGPT do with Justice Laws Website (Canada)?

Official consolidated federal Acts and regulations of Canada from the Department of Justice Laws Website (laws-lois.justice.gc.ca): full-text search, alphabetical browse, document structure and identifiers, point-in-time versions, page-by-page text, and the text of one section current or as of a date.

ChatGPT can run any of Justice Laws Website (Canada)'s 6 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Get legislation**: One consolidated federal act or regulation by code: title, citation, 'current to' and 'last amended' dates, enabling act (regulations), table of contents (parts, divisions, headings and schedules with their first section), regulations made under the act (current and repealed), and the stable full-text HTML, XML, PDF and previous-versions URLs. Costs 5 Firecrawl credits per call.
- **Get page**: One page of the current consolidated text of a federal act or regulation, as the site paginates it (page-N.html, a run of consecutive sections): headings, the section numbers on the page, the page text with labels, marginal notes and amendment citations, and links to the previous and next pages. Costs 5 Firecrawl credits per call.
- **Get provision**: Text of one section of a federal act or regulation, current or as of a date: the section text with its subsection and paragraph labels, marginal notes, amendment history citations, the version's date range, links to the previous and next versions, and the stable section, document and XML URLs. Costs 5 Firecrawl credits per call.
- **List legislation**: Browse the alphabetical index of consolidated federal Acts or regulations for one letter: title, code, citation, index URL, PDF URL and whether regulations are made under the act. Optional case-insensitive title filter. Costs 5 Firecrawl credits per call.
- **List versions**: Point-in-time index of a federal act or regulation: every published consolidation range (from, to) with the full-document HTML URL of that version, newest first, and, for an as_of date, the version in force on that date. Costs 5 Firecrawl credits per call.
- **Search legislation**: Full-text search of the current consolidated federal Acts and regulations of Canada on the Justice Laws Website. Returns section-level hits (title, citation, provision label, section number, code, URL and the matched text), 5 per page as the site serves them, with the total hit count. Costs 5 Firecrawl credits per call.

## What should I ask ChatGPT?

Name Justice Laws Website (Canada) or Firecrawl Alexandria in the prompt so ChatGPT reaches for it.

- [Use Firecrawl to answer this: What does section 718 of the Criminal Code say?](https://chatgpt.com/?q=Use%20Firecrawl%20to%20answer%20this%3A%20What%20does%20section%20718%20of%20the%20Criminal%20Code%20say%3F)
- [Use Firecrawl to show section 4 of the Access to Information Act as it read on 2010-01-01](https://chatgpt.com/?q=Use%20Firecrawl%20to%20show%20section%204%20of%20the%20Access%20to%20Information%20Act%20as%20it%20read%20on%202010-01-01)
- [Use Firecrawl to answer this: Which federal regulations are made under the Access to Information Act?](https://chatgpt.com/?q=Use%20Firecrawl%20to%20answer%20this%3A%20Which%20federal%20regulations%20are%20made%20under%20the%20Access%20to%20Information%20Act%3F)
- [Use Firecrawl to search Canadian federal law for 'privacy commissioner delegation'](https://chatgpt.com/?q=Use%20Firecrawl%20to%20search%20Canadian%20federal%20law%20for%20'privacy%20commissioner%20delegation')

### For agents

Start with the `laws-lois-justice-gc-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 doesn't ChatGPT use Justice Laws Website (Canada)?

Start a new chat after installing so ChatGPT loads the plugin, then attach Firecrawl from the + menu and name Justice Laws Website (Canada) or Firecrawl Alexandria in the prompt.

### How do I switch the Firecrawl team ChatGPT uses?

Open the Firecrawl plugin page in ChatGPT, uninstall it from the menu next to Settings, then install it again and choose the other team on Firecrawl's consent screen.

### Why does ChatGPT say Justice Laws Website (Canada) isn't available?

Alexandria needs a Firecrawl team with Alexandria enabled. Reinstall the plugin and pick that team when you approve access.

## Use Justice Laws Website (Canada) in other AI apps

- [Justice Laws Website (Canada) in Claude](https://alexandria.firecrawl.dev/providers/laws-lois-justice-gc-ca/connect/claude)
- [Justice Laws Website (Canada) in Cursor](https://alexandria.firecrawl.dev/providers/laws-lois-justice-gc-ca/connect/cursor)
- [Justice Laws Website (Canada) in Grok Bot](https://alexandria.firecrawl.dev/providers/laws-lois-justice-gc-ca/connect/grok-bot)
- [Justice Laws Website (Canada) in Muse](https://alexandria.firecrawl.dev/providers/laws-lois-justice-gc-ca/connect/muse)

### Other data providers you can connect to ChatGPT

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

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

## 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 plugin brings those tools into ChatGPT, 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, Justice Laws Website (Canada) among them. Each provider returns structured data through documented capabilities. ChatGPT finds the capability that fits your question and calls it through the Firecrawl plugin, 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 Justice Laws Website (Canada) MCP server for ChatGPT?

ChatGPT reaches Justice Laws Website (Canada) through Firecrawl's hosted MCP server, which serves Justice Laws Website (Canada) and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for Justice Laws Website (Canada).

### What does connecting Justice Laws Website (Canada) to ChatGPT unlock?

ChatGPT can run all 6 of Justice Laws Website (Canada)'s capabilities, including Get legislation, Get page and Get provision, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: What does section 718 of the Criminal Code say?" In the same conversation, ChatGPT can combine Justice Laws Website (Canada) with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Justice Laws Website (Canada) account or API key to use it in ChatGPT?

No. ChatGPT calls Justice Laws Website (Canada) through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Justice Laws Website (Canada) account or API key.

### How much does it cost to use Justice Laws Website (Canada) in ChatGPT?

Each Justice Laws Website (Canada) 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 ChatGPT, and finding the right capability is free.

### Can ChatGPT use other providers besides Justice Laws Website (Canada)?

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

### Can I use Justice Laws Website (Canada) in other AI apps?

Yes. Connect Firecrawl to Claude, Cursor, 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 Justice Laws Website (Canada) capabilities are available there. Keyless connections don't include Alexandria.
