# How to connect FDA to Cursor

> Connect FDA to Cursor with the Firecrawl MCP server. Use FDA as an MCP tool in Cursor via Firecrawl Alexandria, with setup steps and example prompts.

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

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

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 FDA 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 FDA or Firecrawl Alexandria. The agent finds the FDA capability that fits and runs it. For example:

```text
Use Firecrawl to answer this: Which interchangeable biosimilars reference Eylea, and when did each become interchangeable?
```

## What can Cursor do with FDA?

US FDA drug, food and device enforcement recalls, Drugs@FDA applications and approval documents (letters, labels, reviews), complete response letters, orphan drug designations and approvals with exclusivity dates, Orange Book products with therapeutic equivalence codes, patents and exclusivities, the Purple Book of licensed biologics with reference product exclusivity and biosimilar and interchangeable status, the Paragraph IV patent certifications list, novel drug and first generic approvals, approved cell and gene therapies, structured labeling, device 510(k) decisions, PMA approvals and supplements, device classifications, GUDID device identifiers, MAUDE device and FAERS drug adverse-event reports, the UNII substance registry, the NDC directory, drug shortages, and warning letters, via openFDA, fda.gov, accessdata.fda.gov and the Purple Book.

Cursor can run any of FDA's 27 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Complete response letter**: Read one FDA complete response letter in full from openFDA: the fields complete_response_letters returns plus the letter's OCR text and a list of the application's other published CRLs. Without letter_date it returns the application's most recent letter. Costs 5 Firecrawl credits per call.
- **Complete response letters**: Search FDA complete response letters (CRLs), the letters FDA sends when it will not approve an NDA or BLA as submitted, as published in openFDA. Filter by letter date range, words in the letter, company, application number and whether the application was later approved; newest first. Each letter has its date, type, company, application numbers, review office and signatory, the letter's own section headings, a short excerpt and the PDF link. FDA publishes CRLs in batches, so last_updated is the dataset date and a letter a sponsor has announced may not be published yet. Costs 5 Firecrawl credits per call.
- **Device clearances**: Search device 510(k) submission decision records and resolve a k_number. Preserve decision_code and decision_date; do not equate every returned submission with clearance or PMA approval. Costs 5 Firecrawl credits per call.
- **Device recalls**: Search medical device enforcement recall records and resolve a recall_number. Preserve recall reason, status and classification; this is not the separate device recall classification dataset. Costs 5 Firecrawl credits per call.
- **Drug application documents**: Drugs@FDA documents for one NDA, ANDA or BLA: approval and action letters, labels, reviews, summary reviews, medication guides and other documents with type, date and URL, newest first, each with its submission (type, number, status, status date, class). Read from openFDA's Drugs@FDA dataset, whose documents match the Drugs@FDA application page. A document's presence is not proof that the product is currently approved or marketed. Costs 5 Firecrawl credits per call.
- **Drug applications**: Search Drugs@FDA applications and submission histories, or resolve an application_number. Inspect submission statuses: a returned record alone is not proof of current approval or availability. Costs 5 Firecrawl credits per call.
- **Drug events**: FAERS drug adverse event reports: patient reactions, suspect and concomitant drugs, seriousness and reporter qualification. Search e.g. patient.drug.medicinalproduct:aspirin, patient.reaction.reactionmeddrapt:nausea or receivedate:[20250101 TO 20251231], or resolve a safetyreportid using record_id. A report is not evidence that the drug caused the reaction; FAERS lags the calendar by months. Costs 5 Firecrawl credits per call.
- **Drug labels**: Search structured drug labeling and resolve a source label id. Includes source warnings and indications where available. Label presence does not itself establish FDA approval. Costs 5 Firecrawl credits per call.
- **Drug ndc**: NDC Directory product listings: product NDC, brand and generic names, labeler, dosage form, route, active ingredients, marketing category and packages. Search e.g. brand_name:Lipitor, generic_name:atorvastatin or labeler_name:Pfizer, or resolve a product_ndc using record_id. A listing is not proof of FDA approval. Costs 5 Firecrawl credits per call.
- **Drug recalls**: Search drug enforcement recall records, including classification, reason and recall status. Search product_description, recalling_firm or report_date, or resolve a recall_number using record_id. Costs 5 Firecrawl credits per call.
- **Drug shortages**: FDA drug shortage entries: generic name, company, presentation, status (Current, Resolved, To Be Discontinued), therapeutic category and posting and update dates. Search e.g. generic_name:amoxicillin, status:Current or company_name:Pfizer, or resolve a package_ndc using record_id; one package NDC can appear in more than one entry. Costs 5 Firecrawl credits per call.
- **Food recalls**: Search food enforcement recall records and resolve a recall_number. Source recall status and affected product descriptions are preserved. Costs 5 Firecrawl credits per call.
- **Orange book**: Orange Book products for one application, active ingredient or trade name, each with therapeutic equivalence (TE) codes, RLD and reference-standard flags, approval date, listed patents (expiry, drug substance and product flags, every patent use code, delist request) and exclusivities with expiry. Products come from openFDA's Orange Book API; patents and exclusivities come from FDA's monthly Orange Book data file, read by byte range, because openFDA keeps only one use code per patent. A listed patent is the applicant's submission, not a finding on validity or infringement. Costs 5 Firecrawl credits per call.
- **Orphan designation**: Read one FDA orphan drug designation by its OOPD key or a pasted OOPD detail-page URL, with the fields orphan_designations returns: designation and date, sponsor and country, status, withdrawal date and every orphan approval with approved indication and exclusivity end date. Costs 5 Firecrawl credits per call.
- **Orphan designations**: Search FDA orphan drug designations and orphan approvals in the Office of Orphan Products Development database by product (generic or trade name), sponsor, designated disease or condition, designation dates, approval dates and status. Each designation has its text and date, sponsor and country, status, withdrawal date and every orphan approval with approved indication, exclusivity end date and exclusivity-protected indication. Newest designation first, or newest approval first when filtered by approval dates; with approval dates, approvals lists only those in the window. Costs 5 Firecrawl credits per call.
- **Warning letter**: Read one FDA warning letter, or a posted close-out or response letter, from fda.gov: company, MARCS-CMS case number, letter date, issuing office, delivery method, regulated products, the recipient and office header blocks, and the full letter text as plain paragraphs. Costs 5 Firecrawl credits per call.
- **Warning letters**: Search FDA warning letters posted on fda.gov: company, letter issue and posted dates, issuing office, subject, links to any posted response or close-out letter, and a matching excerpt. Filter by full-text query (company, subject or letter text), issuing office, issue year, or letters issued or posted in the last 7, 30, 60 or 90 days. The fda.gov listing holds letters posted since January 2021; older letters are in FDA's archive and not searched. Costs 5 Firecrawl credits per call.
- **Cell gene therapies**: List CBER's approved cellular and gene therapy products, the list FDA maintains, joined to the CBER BLAs in the Purple Book's monthly data file: product and trade name, proper name, manufacturer, FDA product page, first approval date, and per BLA the applicant, proprietary names, licensure, reference product and orphan exclusivity end dates. Newest approval first. Costs 5 Firecrawl credits per call.
- **Purple book**: Search the Purple Book, FDA's database of licensed biological products (CDER and CBER), from its latest monthly data file. One row per BLA: applicant, proper and proprietary names, license types (351(a) reference product, 351(k) biosimilar or interchangeable), the reference product a biosimilar cites, first approval date, date of first licensure, reference product, first interchangeable and orphan exclusivity end dates, whether a patent list was provided, and every licensed presentation with strength, dosage form, route, marketing status and approval dates. Newest first approval first. Costs 5 Firecrawl credits per call.
- **Device classifications**: Look up FDA's medical device product classification database through openFDA: product code, device name, device class (1, 2, 3, U unclassified, N not classified, F HDE), 21 CFR regulation number and definition, medical specialty and review panel, the premarket path the code needs (510(k), PMA, 510(k) exempt or Contact ODE), and implant, life-sustaining, GMP-exempt, third-party review and summary malfunction reporting flags. Costs 5 Firecrawl credits per call.
- **Device udi**: Look up devices in FDA's Global Unique Device Identification Database (GUDID) through openFDA by device identifier (DI) or full GS1 UDI, brand, company, model or product code: primary DI and the other identifiers with packaging, brand, version or model, catalog number, company and DUNS, description, commercial distribution status, product codes with class and regulation, premarket submissions (510(k) or PMA numbers), and Rx/OTC, kit, combination product, single use, sterility, MRI safety and latex labelling. A GS1 UDI's lot, serial, expiry and manufacturing date come back as production_identifiers. Newest published first. GMDN terms are not returned: GMDN content is licensed by The GMDN Agency and is not public domain. Costs 5 Firecrawl credits per call.
- **Pma approvals**: Search FDA's premarket approval (PMA) database through openFDA: originals and supplements with PMA and supplement number, applicant, trade and generic name, product code, device class, advisory committee, supplement type and reason, dates received and decided, decision code and the approval order statement. Newest decision first. Costs 5 Firecrawl credits per call.
- **Device events**: Search MAUDE, FDA's database of medical device reports (adverse events and malfunctions), through openFDA. One row per report: MDR report key and number, dates received and of the event, event type (death, injury, malfunction, other), report source, the devices involved (brand, generic name, manufacturer, model, lot, product code, device class, UDI-DI), product and patient problems, patient outcomes, remedial actions, the event description and the manufacturer narrative. Newest received first. With count_by it returns counts instead of reports: by event type, product problem, patient problem, manufacturer, brand name, product code or month received. Names, addresses and phone numbers of reporters and contacts are left out. Costs 5 Firecrawl credits per call.
- **First generics**: List CDER's first generic drug approvals for one calendar year (2016 on), from FDA's First Generic Drug Approvals page for that year: ANDA number, generic name, ANDA applicant, brand (reference) product with its application number where FDA links it, approval date and indication. Newest approval first. Costs 5 Firecrawl credits per call.
- **Novel drug approvals**: List CDER's novel drug approvals (new molecular entities and new therapeutic biologics) for one calendar year, from FDA's yearly Novel Drug Approvals page: drug and active ingredient, approval date, the FDA-approved use on that date, FDA's running number, the Drug Trials Snapshot link when posted, and the application number where FDA links it. Newest approval first. Costs 5 Firecrawl credits per call.
- **Paragraph iv certifications**: Search FDA's Paragraph IV patent certifications list: per reference listed drug and strength, the date FDA received the first substantially complete ANDA with a Paragraph IV certification, how many ANDAs, 180-day exclusivity status (eligible, extinguished, deferred, non_forfeiture), decision posting, first applicant approval and first commercial marketing dates, and when the last qualifying patent expires. Read from the current workbook FDA links from its patent certifications page; newest submission first. Costs 5 Firecrawl credits per call.
- **Substances**: Look up FDA's substance registry (UNIIs from the Global Substance Registration System) through openFDA by UNII, name or code: display name, substance class, definition level, molecular formula, weight, SMILES and stereochemistry for chemicals, every name with its type (official, systematic, brand, common, code), codes in other systems (CAS, WHO-ATC, MeSH, RxNorm RXCUI, NCI Thesaurus, PubChem and others) and related substances such as active moieties, salts and metabolites. Costs 5 Firecrawl credits per call.

## What should I ask Cursor?

Name FDA or Firecrawl Alexandria in the prompt so Cursor reaches for it.

- [Use Firecrawl to answer this: Which interchangeable biosimilars reference Eylea, and when did each become interchangeable?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20Which%20interchangeable%20biosimilars%20reference%20Eylea%2C%20and%20when%20did%20each%20become%20interchangeable%3F)
- [Use Firecrawl to answer this: Which semaglutide products face Paragraph IV patent challenges, when was each first challenged, and when do the challenged patents expire?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20Which%20semaglutide%20products%20face%20Paragraph%20IV%20patent%20challenges%2C%20when%20was%20each%20first%20challenged%2C%20and%20when%20do%20the%20challenged%20patents%20expire%3F)
- [Use Firecrawl to answer this: How many MAUDE adverse event reports did FDA receive for the Dexcom G7 in 2026, broken down by event type?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20How%20many%20MAUDE%20adverse%20event%20reports%20did%20FDA%20receive%20for%20the%20Dexcom%20G7%20in%202026%2C%20broken%20down%20by%20event%20type%3F)
- [Use Firecrawl to answer this: What device carries UDI (01)00386270003935(17)251031(10)1824129005, and which other product codes fall under its classification regulation?](https://cursor.com/link/prompt?text=Use%20Firecrawl%20to%20answer%20this%3A%20What%20device%20carries%20UDI%20(01)00386270003935(17)251031(10)1824129005%2C%20and%20which%20other%20product%20codes%20fall%20under%20its%20classification%20regulation%3F)

### For agents

Start with the `fda-gov` 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 FDA?

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 FDA in other AI apps

- [FDA in ChatGPT](https://alexandria.firecrawl.dev/providers/fda-gov/connect/chatgpt)
- [FDA in Claude](https://alexandria.firecrawl.dev/providers/fda-gov/connect/claude)
- [FDA in Grok Bot](https://alexandria.firecrawl.dev/providers/fda-gov/connect/grok-bot)
- [FDA in Muse](https://alexandria.firecrawl.dev/providers/fda-gov/connect/muse)

### Other data providers you can connect to Cursor

- [How to connect Research Index to Cursor](https://alexandria.firecrawl.dev/providers/firecrawl-research-index/connect/cursor)
- [How to connect AlphaFold Protein Structure Database to Cursor](https://alexandria.firecrawl.dev/providers/alphafold-ebi-ac-uk/connect/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)

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, FDA 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 FDA MCP server for Cursor?

Cursor reaches FDA through Firecrawl's hosted MCP server, which serves FDA 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 FDA.

### What does connecting FDA to Cursor unlock?

Cursor can run all 27 of FDA's capabilities, including Complete response letter, Complete response letters and Device clearances, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: Which interchangeable biosimilars reference Eylea, and when did each become interchangeable?" In the same conversation, Cursor can combine FDA with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

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

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

### How much does it cost to use FDA in Cursor?

Each FDA 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 FDA?

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 FDA 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 FDA capabilities are available there. Keyless connections don't include Alexandria.
