L'Atlas / MCP servers / openfda-mcp-server
MCP server

openfda-mcp-server

io.github.cyanheads/openfda-mcp-server

MCP server OK 14 tools

Get a review See pricing

Query FDA data on drugs, food, devices, and recalls via openFDA. STDIO or Streamable HTTP.

Technical sheet

Author
cyanheads (registry namespace)
Repository
github.com/cyanheads/openfda-mcp-server
Site
—
Version
0.11.1
Transport
Streamable HTTP stdio
Authentication
None (observed by our test)
Server address
https://openfda.caseyjhand.com/mcp Streamable HTTP
Packages
@cyanheads/openfda-mcp-server 0.11.1 npm stdio
@cyanheads/openfda-mcp-server 0.11.1 npm Streamable HTTP
Tools
14
Categories
—
Last updated
26 Nov 2026
Published
26 Nov 2026

Verified author and popularity

Entry not claimed yet. Is it your project? Claim it

Not “Popular” for now Removed automatically as soon as the criteria are no longer met.

  • Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
  • or install configs copied over 30 days: 0 (5 needed) not yet
  • and a successful test less than 14 days old: tested 28 Nov 2026 met

Badge updates by itself. Always “tested on …”, never “certified”. How it works

MarkdownREADME.md
[![Status on L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.cyanheads/openfda-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/openfda-mcp-server)
HTML
<a href="https://latlas.dev/en/mcp/io.github.cyanheads/openfda-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/openfda-mcp-server.svg?lang=en" alt="Status on L’Atlas" height="20"></a>

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.cyanheads/openfda-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.cyanheads/openfda-mcp-server)
HTML
<a href="https://latlas.dev/en/mcp/io.github.cyanheads/openfda-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/openfda-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://openfda.caseyjhand.com/mcp
Last result
OK 28 Nov 2026, 11:41
Response time
1,093 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
openfda-mcp-server 0.11.1
Tools
14

History

DateResultResponseTools
28 Nov 2026, 11:41OK1,093 ms14

Exposed tools (14, from tools/list, 28 Nov 2026)

openfda_search_adverse_events

Openfda Search Adverse Events

Search adverse event reports across drugs, food, devices, and cosmetics. Use to investigate safety signals, find reports for a specific product, or explore reactions by demographics. With stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.

ParameterTypeRequiredDescription
categoryenum: "drug" | "food" | "device" | "cosmetic"yesProduct category — each has different field schemas in the response
searchstringnoopenFDA search query, e.g. patient.drug.medicinalproduct:"aspirin", patient.reaction.reactionmeddrapt:"nausea" AND serious:"1". Omit both search and sort to browse the newest reports first. A "+" between clauses reads as a space; inside a quoted phrase it is a literal plus.
sortstringnoA field path with :asc or :desc (any letter case; :ascending and :descending also work), several comma-separated. With neither search nor sort, records come newest first by the category's received date (drug receivedate:desc, food date_created:desc, device date_received:desc, cosmetic initial_recei…
limitintegernoRecords per page. Default and cap by category: drug 5 (cap 25), food 25 (cap 1000), device 10 (cap 175), cosmetic 25 (cap 1000); a larger value returns at most that cap and says so.
skipnumbernoRecords to skip, at most 25000; to read past that, follow next_cursor from skip 0.
cursorstringnonext_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change.
fieldsarray<string>noDotted record paths to keep on each record, e.g. ["receivedate", "patient.drug.medicinalproduct"], plus its identity key (safetyreportid, report_number, mdr_report_key). Any record path works (openfda_describe_fields lists searchable ones); a path through an array covers every element. Use it when…
includearray<string>noPaths left out of each record by default, to return: patient.drug.openfda on drug. Name one whole, or a path beneath one for that field alone; with fields, entries join the projection. A search clause on a left-out path also returns it.
stagebooleannoAlso stage the matched set on a DataCanvas for SQL: openfda_dataframe_describe lists its columns, then openfda_dataframe_query runs the SQL. Staging is bounded (staged_rows says how many rows landed); for a distribution over the whole match, use openfda_count_values.
canvas_idstringnocanvas_id from an earlier staged call to openfda_search_* or openfda_lookup_ndc: stages this call onto that canvas too (as stage=true does), so its tables can be joined.

openfda_search_animal_events

Openfda Search Animal Events

Search adverse event reports for veterinary drugs and devices submitted to the FDA Center for Veterinary Medicine. Records include animal species, breed, age, weight, drug name and route, adverse reactions (using VeDDRA terminology), and outcome. Use to investigate safety signals for veterinary products, find reports by animal species or drug, or explore reaction patterns. Brand and manufacturer names are masked as "MSK" on every record (the FDA null flavor for withheld data), so find a product by active ingredient on drug.active_ingredients.name, unsuffixed. An ingredient search spans every product containing it and cannot attribute reports to one brand; drug.manufacturer.registration_number (the full value, e.g. "USA-USFDACVM-N141426") narrows it to one approval. With stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.

ParameterTypeRequiredDescription
searchstringnoopenFDA search query, e.g. animal.species:"Dog", drug.active_ingredients.name:"Fluralaner", reaction.veddra_term_name:"Vomiting", serious_ae:"true". Omit to browse newest first. A "+" between clauses reads as a space; inside a quoted phrase it is a literal plus.
sortstringnoA field path with :asc or :desc (any letter case; :ascending and :descending also work), several comma-separated. With neither search nor sort, records come newest first by original_receive_date:desc. A search without sort returns openFDA's index order, not relevance.
limitintegernoRecords per page. Default 25; a larger value returns at most 450 and says so.
skipnumbernoRecords to skip, at most 25000; to read past that, follow next_cursor from skip 0.
cursorstringnonext_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change.
fieldsarray<string>noDotted record paths to keep on each record, e.g. ["original_receive_date", "animal.species"], plus its identity key (unique_aer_id_number). Any record path works (openfda_describe_fields lists searchable ones); a path through an array covers every element. Use it when page_bytes flags an oversized…
stagebooleannoAlso stage the matched set on a DataCanvas for SQL: openfda_dataframe_describe lists its columns, then openfda_dataframe_query runs the SQL. Staging is bounded (staged_rows says how many rows landed); for a distribution over the whole match, use openfda_count_values.
canvas_idstringnocanvas_id from an earlier staged call to openfda_search_* or openfda_lookup_ndc: stages this call onto that canvas too (as stage=true does), so its tables can be joined.

openfda_search_drug_shortages

Openfda Search Drug Shortages

Search FDA drug shortage records. Returns per-product shortage status, availability, therapeutic category, dosage form, manufacturer, and dates. Use to check whether a drug is currently in shortage, find all oncology drugs with supply issues, or retrieve the openfda block (brand_name, product_ndc, rxcui) to chain into openfda_get_drug_label or openfda_lookup_ndc. With stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.

ParameterTypeRequiredDescription
searchstringnoopenFDA search query, e.g. status:"Current", therapeutic_category:"Oncology", generic_name:"carboplatin", company_name:"pfizer", update_date:[2026-01-01 TO 2026-12-31]. Dates on initial_posting_date, update_date, discontinued_date, and change_date are stored MM/DD/YYYY and written YYYY-MM-DD; one w…
sortstringnoA field path with :asc or :desc (any letter case; :ascending and :descending also work), several comma-separated. With neither search nor sort, records come newest first by update_date:desc. A search without sort returns openFDA's index order, not relevance.
limitintegernoRecords per page. Default 25; a larger value returns at most 1000 and says so.
skipnumbernoRecords to skip, at most 25000; to read past that, follow next_cursor from skip 0.
cursorstringnonext_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change.
fieldsarray<string>noDotted record paths to keep on each record, e.g. ["generic_name", "status"], plus its identity key (package_ndc). Any record path works (openfda_describe_fields lists searchable ones); a path through an array covers every element. Use it when page_bytes flags an oversized record; with stage=true on…
stagebooleannoAlso stage the matched set on a DataCanvas for SQL: openfda_dataframe_describe lists its columns, then openfda_dataframe_query runs the SQL. Staging is bounded (staged_rows says how many rows landed); for a distribution over the whole match, use openfda_count_values.
canvas_idstringnocanvas_id from an earlier staged call to openfda_search_* or openfda_lookup_ndc: stages this call onto that canvas too (as stage=true does), so its tables can be joined.

openfda_search_recalls

Openfda Search Recalls

Search enforcement reports and recall actions across drugs, food, and devices. With stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.

ParameterTypeRequiredDescription
categoryenum: "drug" | "food" | "device"yesProduct category
endpointenum: "enforcement" | "recall"noReport type: enforcement reports, or recall (devices only).
searchstringnoopenFDA search query, e.g. classification:"Class I" (or "Class II", "Class III"), recalling_firm:"pfizer", reason_for_recall:"undeclared allergen". Omit to browse newest first. A "+" between clauses reads as a space; inside a quoted phrase it is a literal plus.
sortstringnoA field path with :asc or :desc (any letter case; :ascending and :descending also work), several comma-separated, e.g. report_date:desc,status.exact:asc. With neither search nor sort, records come newest first by report_date:desc (event_date_initiated:desc on the device recall endpoint). A search w…
limitintegernoRecords per page. Default and cap by category and endpoint: drug or food enforcement 25 (cap 1000), device enforcement 10 (cap 125), device recall 10 (cap 50); a larger value returns at most that cap and says so.
skipnumbernoRecords to skip, at most 25000; to read past that, follow next_cursor from skip 0.
cursorstringnonext_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change.
fieldsarray<string>noDotted record paths to keep on each record, e.g. ["recalling_firm", "reason_for_recall"], plus its identity key (recall_number, product_res_number). Any record path works (openfda_describe_fields lists searchable ones); a path through an array covers every element. Use it when page_bytes flags an o…
includearray<string>noPaths left out of each record by default, to return: code_info, more_code_info on device enforcement; code_info, openfda.k_number, openfda.fei_number, openfda.registration_number on device recall. Name one whole, or a path beneath one for that field alone; with fields, entries join the projection.…
stagebooleannoAlso stage the matched set on a DataCanvas for SQL: openfda_dataframe_describe lists its columns, then openfda_dataframe_query runs the SQL. Staging is bounded (staged_rows says how many rows landed); for a distribution over the whole match, use openfda_count_values.
canvas_idstringnocanvas_id from an earlier staged call to openfda_search_* or openfda_lookup_ndc: stages this call onto that canvas too (as stage=true does), so its tables can be joined.

openfda_search_tobacco_reports

Openfda Search Tobacco Reports

Search problem reports submitted to the FDA for tobacco products, including e-cigarettes, vaping products, cigarettes, and smokeless tobacco. Reports capture product type, reported health problems (e.g. seizure, chest pain), product problems (e.g. exploding battery), whether a non-user was affected, and submission date. Use to investigate safety signals, find reports by product type, or analyze health effects. With stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.

ParameterTypeRequiredDescription
searchstringnoopenFDA search query, e.g. tobacco_products:"Electronic cigarette", reported_health_problems:"Seizure", nonuser_affected:"Yes". Omit to browse newest first. A "+" between clauses reads as a space; inside a quoted phrase it is a literal plus.
sortstringnoA field path with :asc or :desc (any letter case; :ascending and :descending also work), several comma-separated. With neither search nor sort, records come newest first by date_submitted:desc. A search without sort returns openFDA's index order, not relevance.
limitintegernoRecords per page. Default 25; a larger value returns at most 1000 and says so.
skipnumbernoRecords to skip, at most 25000; to read past that, follow next_cursor from skip 0.
cursorstringnonext_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change.
fieldsarray<string>noDotted record paths to keep on each record, e.g. ["date_submitted", "reported_health_problems"], plus its identity key (report_id). Any record path works (openfda_describe_fields lists searchable ones); a path through an array covers every element. Use it when page_bytes flags an oversized record;…
stagebooleannoAlso stage the matched set on a DataCanvas for SQL: openfda_dataframe_describe lists its columns, then openfda_dataframe_query runs the SQL. Staging is bounded (staged_rows says how many rows landed); for a distribution over the whole match, use openfda_count_values.
canvas_idstringnocanvas_id from an earlier staged call to openfda_search_* or openfda_lookup_ndc: stages this call onto that canvas too (as stage=true does), so its tables can be joined.

openfda_count_values

Openfda Count Values

Aggregate and tally unique values for any field across any openFDA endpoint. Returns ranked term-count pairs sorted by count descending; a date field tallies one term per distinct YYYYMMDD date, ranked the same way. Pair with openfda_search_adverse_events, openfda_search_drug_approvals, openfda_search_device_clearances, openfda_search_recalls, openfda_get_drug_label, or openfda_lookup_ndc when sample records help interpret the aggregates.

ParameterTypeRequiredDescription
endpointenum: "drug/event" | "drug/label" | "drug/enforcement" | "drug/ndc" | "drug/drugsfda" | "drug/orangebook" | "drug/shortages" | "food/event" …yesFull openFDA endpoint path (e.g. "drug/event", "device/classification")
countstringyesField to count. openfda_describe_fields gives the verified expression per field as countAs (null = not countable in any form). Otherwise: append .exact for whole-phrase counting of free-text fields (e.g. "patient.reaction.reactionmeddrapt.exact"); count identifier fields openFDA already indexes as…
searchstringnoFilter query to scope the count (e.g. patient.drug.medicinalproduct:"metformin"). Omit to count across every record in the endpoint. A "+" between clauses reads as a space; inside a quoted phrase it is a literal plus.
limitintegernoNumber of top terms to return. truncated reports whether more distinct terms exist beyond it, except at 1000 — openFDA's own count maximum — where openFDA offers no way to tell. A date field is the exception: openFDA sends every date, so the tool ranks them all and truncated is exact at any limit;…

openfda_describe_fields

Openfda Describe Fields

Return the searchable field paths for an openFDA endpoint, grouped by category with type and description. Use before constructing a search query to find the correct dotted field path — field names differ per endpoint and are not discoverable from the tool schema alone.

ParameterTypeRequiredDescription
endpointenum: "drug/event" | "drug/label" | "drug/enforcement" | "drug/ndc" | "drug/drugsfda" | "drug/orangebook" | "drug/shortages" | "food/event" …yesopenFDA endpoint to describe (e.g. "drug/event", "drug/shortages", "device/510k"). Must be one of the cataloged endpoints.

openfda_get_drug_label

Openfda Get Drug Label

Look up FDA drug labeling (package inserts / SPL documents). Check indications, warnings, dosage, contraindications, active ingredients, or any structured label section. A label runs to tens of thousands of tokens, so a page that exceeds the inline budget returns the list of available sections instead; re-call with sections to pull the ones you need.

ParameterTypeRequiredDescription
searchstringyesLabel query, e.g. openfda.brand_name:"aspirin", openfda.generic_name:"metformin", openfda.manufacturer_name:"pfizer". set_id with an SPL UUID from earlier results fetches that product's label, in its current revision only (openFDA serves no earlier ones). A brand search also matches repackagers' co…
sortstringnoA field path with :asc or :desc (any letter case; :ascending and :descending also work), several comma-separated, e.g. effective_time:desc. A search without sort returns openFDA's index order, not relevance.
limitintegernoLabels per page. A sections selection costs its size summed across every label on the page, so lower this before widening one. Default 5; a larger value returns at most 1000 and says so.
skipnumbernoRecords to skip, at most 25000; to read past that, follow next_cursor from skip 0.
cursorstringnonext_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change.
sectionsarray<string>noLabel sections to return, e.g. ["boxed_warning","indications_and_usage"], named by an oversized page's outline or by openfda_describe_fields. Omitted or [], the whole label comes back, or its outline when the page exceeds the inline size budget; a selection comes back whole even over that budget. M…

openfda_search_drug_approvals

Openfda Search Drug Approvals

Search FDA drug application records: Drugs@FDA approvals (NDAs, ANDAs, BLAs) with sponsor and full submission history by default, or with dataset the Orange Book's patents and exclusivities, or FDA's Complete Response Letters with their full text. Pair with openfda_get_drug_label to read the approved label, or openfda_count_values to aggregate by sponsor_name, product_type, or route. With stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.

ParameterTypeRequiredDescription
datasetenum: "drugsfda" | "orangebook" | "crl"nodrugsfda: Drugs@FDA applications, each with its sponsor, products, and submission history. orangebook: Orange Book product records, one per strength, with patents[], exclusivity[], and therapeutic equivalence codes. crl: Complete Response Letters FDA issued on drug and biologic applications, each w…
searchstringnoopenFDA search query, e.g. products.brand_name:"eliquis" (any letter case; openfda.* fields are filled only on harmonized applications, so openfda.brand_name misses the rest), sponsor_name:"PFIZER" (stored uppercase; a lowercase quoted value returns no matches); on orangebook products.brand_name:"E…
sortstringnoA field path with :asc or :desc (any letter case; :ascending and :descending also work), several comma-separated. With neither search nor sort, records come newest first by submissions.submission_status_date:desc (an application's latest submission status date, supplements included, not its approva…
limitintegernoRecords per page. A Drugs@FDA record carries its application's whole submission history, so a long-running application is an order of magnitude larger than a recent one, and a letter carries its full text. Default and cap by dataset: drugsfda 25 (cap 375), orangebook 25 (cap 1000), crl 5 (cap 75);…
skipnumbernoRecords to skip, at most 25000; to read past that, follow next_cursor from skip 0.
cursorstringnonext_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change.
fieldsarray<string>noDotted record paths to keep on each record, e.g. ["sponsor_name", "submissions.submission_status_date"], plus its identity key (application_number, products.application_number, products.application_type, product_number, file_name, letter_date). Any record path works (openfda_describe_fields lists s…
stagebooleannoAlso stage the matched set on a DataCanvas for SQL: openfda_dataframe_describe lists its columns, then openfda_dataframe_query runs the SQL. Staging is bounded (staged_rows says how many rows landed); for a distribution over the whole match, use openfda_count_values.
canvas_idstringnocanvas_id from an earlier staged call to openfda_search_* or openfda_lookup_ndc: stages this call onto that canvas too (as stage=true does), so its tables can be joined.

openfda_search_device_clearances

Openfda Search Device Clearances

Search FDA device premarket records: 510(k) clearances, PMA approvals, and the product classification registry (class and required submission type per product code). With stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.

ParameterTypeRequiredDescription
pathwayenum: "510k" | "pma" | "classification"yesPremarket pathway. 510(k) is the most common; PMA is for higher-risk devices; classification is the product-code registry: each device type's class and the submission it requires.
searchstringnoopenFDA search query, e.g. applicant:"medtronic", advisory_committee_description:"cardiovascular", product_code:"DXN", openfda.device_name:"catheter"; on classification, device_class:"3" or submission_type_id:"4" (510(k) exempt). Omit to browse newest first (unsorted on classification). A "+" betwe…
sortstringnoA field path with :asc or :desc (any letter case; :ascending and :descending also work), several comma-separated. With neither search nor sort, records come newest first by decision_date:desc (classification records carry no date, so a classification browse is unsorted). A search without sort retur…
limitintegernoRecords per page. Default and cap by pathway: 510k 10 (cap 175), pma 25 (cap 575), classification 25 (cap 600); a larger value returns at most that cap and says so.
skipnumbernoRecords to skip, at most 25000; to read past that, follow next_cursor from skip 0.
cursorstringnonext_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change.
fieldsarray<string>noDotted record paths to keep on each record, e.g. ["decision_date", "applicant"], plus its identity key (k_number on 510(k); pma_number and supplement_number on PMA; product_code on classification). Any record path works (openfda_describe_fields lists searchable ones); a path through an array covers…
stagebooleannoAlso stage the matched set on a DataCanvas for SQL: openfda_dataframe_describe lists its columns, then openfda_dataframe_query runs the SQL. Staging is bounded (staged_rows says how many rows landed); for a distribution over the whole match, use openfda_count_values.
canvas_idstringnocanvas_id from an earlier staged call to openfda_search_* or openfda_lookup_ndc: stages this call onto that canvas too (as stage=true does), so its tables can be joined.

openfda_lookup_ndc

Openfda Lookup Ndc

Look up drugs in the NDC (National Drug Code) Directory. Identify drug products by NDC code, find active ingredients, packaging details, or manufacturer info. Set dataset to nsde to resolve an 11-digit NDC or a package whose marketing ended. Pair with openfda_get_drug_label using the returned brand_name or set_id to read the package insert. With stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.

ParameterTypeRequiredDescription
searchstringyesopenFDA search query, e.g. product_ndc:"0363-0218", brand_name:"aspirin", generic_name:"metformin", labeler_name:"walgreen", active_ingredients.name:"ASPIRIN". With dataset nsde each field takes one spelling: package_ndc11:"00093171201" (11 digits), package_ndc:"0093-1712-01" (hyphenated; "0093-171…
datasetenum: "ndc" | "nsde"nondc: the NDC Directory, currently listed products with their packaging. nsde: the NDC SPL Data Elements file, one flat row per package keyed by its 11-digit package_ndc11, ended packages included.
sortstringnoA field path with :asc or :desc (any letter case; :ascending and :descending also work), several comma-separated, e.g. marketing_start_date:desc. A search without sort returns openFDA's index order, not relevance.
limitintegernoRecords per page; a record grows with its packaging list. Default 25; a larger value returns at most 1000 and says so.
skipnumbernoRecords to skip, at most 25000; to read past that, follow next_cursor from skip 0.
cursorstringnonext_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change.
fieldsarray<string>noDotted record paths to keep on each record, e.g. ["brand_name", "active_ingredients.name"], plus its identity key (product_ndc, package_ndc11). Any record path works (openfda_describe_fields lists searchable ones); a path through an array covers every element. Use it when page_bytes flags an oversi…
stagebooleannoAlso stage the matched set on a DataCanvas for SQL: openfda_dataframe_describe lists its columns, then openfda_dataframe_query runs the SQL. Staging is bounded (staged_rows says how many rows landed); for a distribution over the whole match, use openfda_count_values.
canvas_idstringnocanvas_id from an earlier staged call to openfda_search_* or openfda_lookup_ndc: stages this call onto that canvas too (as stage=true does), so its tables can be joined.

openfda_drug_profile

Openfda Drug Profile

Resolve one drug name to its FDA identity, then fan out in parallel across the bounded per-drug openFDA endpoints and merge into one profile: identity, label highlights, adverse-event summary, recall history, Drugs@FDA approval, and shortage status. Identity and label come from an original packager's label when one matches (identity.is_original_packager says when they do not), approval is the drug's own application ranked over its Drugs@FDA matches, and each section names the product it describes. Replaces chaining openfda_get_drug_label, openfda_search_adverse_events, openfda_search_recalls, openfda_search_drug_approvals, and openfda_search_drug_shortages — and reconciles the identifier drift between endpoints that makes that chaining error-prone. Each section is best-effort: a miss returns null rather than failing the call, and a sub-query the 50 s profile deadline cuts is listed in degraded. For deep dives into any one area, use the dedicated tool.

ParameterTypeRequiredDescription
drugstringyesDrug name to profile — brand or generic (e.g. "metformin", "Humira", "Glucophage"). Resolved once to an FDA identity, each run of whitespace and characters openFDA cannot search (such as ; or ®) read as one space. The Drugs@FDA approval is ranked over this name's matches; meta.fanOutKey reports the…

openfda_dataframe_describe

Openfda Dataframe Describe

List the tables and column schemas on a DataCanvas staged by an openFDA search tool. Call before openfda_dataframe_query to discover the exact table name, column names, and DuckDB types needed for valid SQL. row_count is the full staged result set, not the inline preview count. Columns typed JSON hold nested openFDA objects/arrays — query them with DuckDB json functions.

ParameterTypeRequiredDescription
canvas_idstringyesCanvas ID from the canvas_id field of an openFDA search tool response (openfda_search_* or openfda_lookup_ndc), present when the search ran with stage=true.

openfda_dataframe_query

Openfda Dataframe Query

Run a read-only SQL SELECT against a DataCanvas table staged by an openFDA search tool (call one with stage=true; its response carries canvas_id + canvas_table). Enables GROUP BY, COUNT/SUM/AVG, time-series, and joins across the staged result set without re-paging the API. Call openfda_dataframe_describe first to get the exact table and column names. Results are capped at the canvas row limit — when truncated is true, page the rest with ORDER BY plus LIMIT/OFFSET. Scalar fields are stored as text (CAST for numeric math); nested objects/arrays are JSON columns — read them with DuckDB json functions, e.g. json_extract_string(openfda, '$.brand_name[0]'). Only SELECT is allowed — DDL, DML, COPY, and file-reading functions are blocked.

ParameterTypeRequiredDescription
canvas_idstringyesCanvas ID from the canvas_id field of an openFDA search tool response (openfda_search_* or openfda_lookup_ndc), present when the search ran with stage=true.
querystringyesSQL SELECT against the staged table. Use the table name from openfda_dataframe_describe. Example: "SELECT classification, COUNT(*) AS n FROM spilled_ab12cd34 GROUP BY classification ORDER BY n DESC".

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://openfda.caseyjhand.com/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http openfda-mcp-server https://openfda.caseyjhand.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : openfda-mcp-server ; URL : https://openfda.caseyjhand.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : openfda-mcp-server ; Server URL : https://openfda.caseyjhand.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "openfda-mcp-server": {
      "url": "https://openfda.caseyjhand.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "openfda-mcp-server": {
      "type": "http",
      "url": "https://openfda.caseyjhand.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "openfda-mcp-server": {
      "url": "https://openfda.caseyjhand.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "openfda-mcp-server": {
      "httpUrl": "https://openfda.caseyjhand.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.openfda-mcp-server]
url = "https://openfda.caseyjhand.com/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

openfda-mcp-server · L’Atlas · Tested on

Markdown
[openfda-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/openfda-mcp-server)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.