# How to connect Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) to ChatGPT

> Connect Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) to ChatGPT with the Firecrawl plugin.

To connect Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) to ChatGPT, add the Firecrawl plugin to ChatGPT, sign in on a Firecrawl team with Alexandria enabled, and ask for Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) data in plain language. The connection works in ChatGPT and Codex, and you set it up once.

ChatGPT uses Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Canadian Nutrient File, Health Canada (food-nutrition.canada.ca).

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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) 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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) or Firecrawl Alexandria. ChatGPT finds the Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) capability that fits and runs it. For example:

```text
Use Firecrawl to run Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)'s Get food capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.
```

## What can ChatGPT do with Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)?

Health Canada's Canadian Nutrient File (CNF), the reference food-composition table for Canada: 5,690 foods with up to 152 nutrients per 100 g, Canadian fortification values, serving measures with gram weights, refuse and yield factors, in English or French. Food search by name, the full nutrient record of one food (optionally converted to a chosen measure such as 250ml), the nutrient, nutrient-group and data-source reference lists, the 23 CNF food groups and the search for foods ranked by one nutrient within a food group. Anonymous JSON API of the public CNF web app plus two GET-and-POST pages of the same app for the food-group aware nutrient search. Data: Canadian Nutrient File, Health Canada, Open Government Licence - Canada; the online CNF is the 2015 publication (Health Canada is preparing a CNF 2026 dataset).

ChatGPT can run any of Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)'s 5 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Get food**: The complete Canadian Nutrient File record of one food by `food_code` (or a pasted CNF serving-portion / nutrientReport page URL): description, every nutrient the CNF reports for it per 100 g edible portion, joined with the CNF nutrient dictionary (symbol, INFOODS tagname, unit such as g / mg / µg / IU / kcal, decimals, nutrient group) and the data-source code list (provenance; source 1 marks values changed to meet Canadian fortification regulations), plus the food's serving measures with conversion factors and gram weights, refuse (inedible portion) rows and yield rows. Nutrients the CNF does not report for a food are absent, never zero-filled. `nutrient_ids` restricts the nutrient rows (203 Protein, 208 Energy kcal, 301 Calcium, 339 Vitamin D µg, 324 Vitamin D IU, ...; see `list_nutrients`); `measure` names one of the food's measures (e.g. '250ml') and adds `value_per_measure` to every nutrient row. Seven to eight anonymous GET calls to /api/canadian-nutrient-file/ (food, nutrientamount, servingsize, refuseamount, yieldamount, nutrientname, nutrientgroup, nutrientsource). An unknown food code is `not_found` (the API answers an empty list). Costs 5 Firecrawl credits per call.
- **List food groups**: The 23 Canadian Nutrient File food groups (Dairy and Egg Products, Baked Products, Beef Products, Beverages, ...) with the `food_group_id` that `search_foods_by_nutrient` takes. The CNF JSON API has no food-group resource (its /foodgroup route answers an empty list), so this reads the food-group select of the CNF web app's 'Search by nutrient' form (GET /cnf-fce/newNutrientSearch, anonymous). English names only (the form is served in English). Costs 5 Firecrawl credits per call.
- **List nutrients**: The Canadian Nutrient File reference tables: the nutrient dictionary (152 nutrients: `nutrient_name_id`, symbol, name, display name, INFOODS tagname, unit, decimals, nutrient group, display order), the seven nutrient groups and the data-source code list (provenance texts such as 'Nutrient levels changed to meet the canadian regulations'). `query` filters nutrients by a case- and accent-insensitive substring of the name, display name, symbol or tagname; `group_id` filters by nutrient group. Groups and sources are always returned in full. Three anonymous GET calls to /api/canadian-nutrient-file/ (nutrientname, nutrientgroup, nutrientsource). Costs 5 Firecrawl credits per call.
- **Search foods**: Find Canadian Nutrient File foods by name. The CNF API has no server-side search: the function downloads the complete food list (GET /api/canadian-nutrient-file/food/, 5,690 rows, ~470 KB) and matches client-side the way the CNF web app does: case- and accent-insensitive, every word of the query must appear somewhere in the food description, in any order ('apple raw' finds 'Pineapple, raw'). A query that is only digits also matches the food code exactly. Results keep the API's order, are paged with `limit`/`offset` and report `total_matches`; no match is a valid empty result. Each row carries the `food_code` that `get_food` takes and the food's CNF serving-size page URL. `lang` selects English or French descriptions (same food codes). Costs 5 Firecrawl credits per call.
- **Search foods by nutrient**: Foods ranked by the amount of one nutrient, optionally within one CNF food group: the CNF web app's 'Search by nutrient' (GET /cnf-fce/newNutrientSearch for the session cookie and CSRF token, then POST /cnf-fce/nutrientSearch-rechercheAliment in the same session; the only food-group aware surface of the CNF). Every matching food comes back with the CNF's chosen portion, its gram weight and the nutrient amount per that portion in the nutrient's unit, sorted by amount descending (or ascending). The web app returns the whole result in one page (e.g. 219 dairy foods for Vitamin D); the function pages it with `limit`/`offset` and reports `total_records` as the page states it. `nutrient_id` must be one of the 152 nutrients the form offers (`list_nutrients`; a different id is `not_found`), `food_group_id` one of the 23 groups or 0 for all (`list_food_groups`). Each row carries the `food_code` for `get_food` and the CNF nutrient-report URL. English only (the form is served in English). Costs 5 Firecrawl credits per call.

## What should I ask ChatGPT?

Name Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) or Firecrawl Alexandria in the prompt so ChatGPT reaches for it.

- [Use Firecrawl to run Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)'s Get food capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20Canadian%20Nutrient%20File%2C%20Health%20Canada%20(food-nutrition.canada.ca)'s%20Get%20food%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)'s List food groups capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20Canadian%20Nutrient%20File%2C%20Health%20Canada%20(food-nutrition.canada.ca)'s%20List%20food%20groups%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)'s List nutrients capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20Canadian%20Nutrient%20File%2C%20Health%20Canada%20(food-nutrition.canada.ca)'s%20List%20nutrients%20capability.%20Inspect%20the%20Alexandria%20inputs%2C%20ask%20for%20any%20missing%20required%20details%2C%20and%20return%20a%20small%20sample%20with%20sources.)
- [Use Firecrawl to run Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)'s Search foods capability. Inspect the Alexandria inputs, ask for any missing required details, and return a small sample with sources.](https://chatgpt.com/?q=Use%20Firecrawl%20to%20run%20Canadian%20Nutrient%20File%2C%20Health%20Canada%20(food-nutrition.canada.ca)'s%20Search%20foods%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 `food-nutrition-canada-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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)?

Start a new chat after installing so ChatGPT loads the plugin, then attach Firecrawl from the + menu and name Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) 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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) isn't available?

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

## Use Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in other AI apps

- [Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in Claude](https://alexandria.firecrawl.dev/providers/food-nutrition-canada-ca/connect/claude)
- [Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in Cursor](https://alexandria.firecrawl.dev/providers/food-nutrition-canada-ca/connect/cursor)
- [Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in Grok Bot](https://alexandria.firecrawl.dev/providers/food-nutrition-canada-ca/connect/grok-bot)
- [Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in Muse](https://alexandria.firecrawl.dev/providers/food-nutrition-canada-ca/connect/muse)

### Other data providers you can connect to ChatGPT

- [How to connect Research Index to ChatGPT](https://alexandria.firecrawl.dev/providers/firecrawl-research-index/connect/chatgpt)
- [How to connect NIH Guide for Grants and Contracts to ChatGPT](https://alexandria.firecrawl.dev/providers/grants-nih-gov/connect/chatgpt)
- [How to connect Australian Food Composition Database (AFCD, FSANZ) to ChatGPT](https://alexandria.firecrawl.dev/providers/afcd-foodstandards-gov-au/connect/chatgpt)
- [How to connect Environment and Climate Change Canada weather and climate (api.weather.gc.ca) to ChatGPT](https://alexandria.firecrawl.dev/providers/api-weather-gc-ca/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, Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) 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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) MCP server for ChatGPT?

ChatGPT reaches Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) through Firecrawl's hosted MCP server, which serves Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) and every other Alexandria provider as tools. Add the Firecrawl plugin once and you don't install or host a separate MCP server for Canadian Nutrient File, Health Canada (food-nutrition.canada.ca).

### What does connecting Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) to ChatGPT unlock?

ChatGPT can run all 5 of Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)'s capabilities, including Get food, List food groups and List nutrients, from any chat, with structured results it can sort, compare and summarize. In the same conversation, ChatGPT can combine Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) account or API key to use it in ChatGPT?

No. ChatGPT calls Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) account or API key.

### How much does it cost to use Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in ChatGPT?

Each Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) 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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)?

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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) 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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) capabilities are available there. Keyless connections don't include Alexandria.
