How to connect Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) to Cursor
Add the Firecrawl MCP server to Cursor once and it can call the Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) API and every other provider in Firecrawl Alexandria, with no Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) integration code.
To connect Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) to Cursor, add the Firecrawl MCP server to Cursor, 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 Cursor's agent and chat, and you set it up once.
Cursor 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).
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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) to Cursor?
Install the Firecrawl MCP server
Open the install dialog in Cursor, check that the URL is Firecrawl's hosted server, then select Install.

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.

Ask Cursor's agent for the data
In the agent chat, ask in plain language and mention Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) or Firecrawl Alexandria. The agent finds the Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) capability that fits and runs it. For example:
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 Cursor 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).
Cursor 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 Cursor?
Name Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) or Firecrawl Alexandria in the prompt so Cursor reaches for it. Each example opens in Cursor with the prompt filled in.
- 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.
- 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.
- 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.
- 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.
Troubleshooting
Why can't Cursor find Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)?
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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in other AI apps
The same Firecrawl account reaches Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) from other AI apps. Pick one for its setup steps:
- Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in ChatGPT
- Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in Claude
- Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in Grok Bot
Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) in Muse
Other data providers you can connect to 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, Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) 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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) MCP server for Cursor?
Cursor 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 MCP server 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 Cursor unlock?
Cursor 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, Cursor 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 Cursor?
No. Cursor 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 Cursor?
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 Cursor, and finding the right capability is free.
Can Cursor use other providers besides Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)?
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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) 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 Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) capabilities are available there. Keyless connections don't include Alexandria.