openfda-mcp-server
io.github.cyanheads/openfda-mcp-server
Serveur MCP OK 14 outils
Query FDA data on drugs, food, devices, and recalls via openFDA. STDIO or Streamable HTTP.
Fiche technique
- Auteur
- cyanheads (espace de noms du registre)
- Dépôt
- github.com/cyanheads/openfda-mcp-server
- Site
- —
- Version
- 0.11.1
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://openfda.caseyjhand.com/mcp Streamable HTTP
- Paquets
- @cyanheads/openfda-mcp-server 0.11.1 npm stdio
@cyanheads/openfda-mcp-server 0.11.1 npm Streamable HTTP - Outils
- 14
- Catégories
- —
- Dernière mise à jour
- 26 nov. 2026
- Publication
- 26 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.cyanheads/openfda-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/openfda-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/openfda-mcp-server.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://openfda.caseyjhand.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:41
- Temps de réponse
- 1 093 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- openfda-mcp-server 0.11.1
- Outils
- 14
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:41 | OK | 1 093 ms | 14 |
Outils exposés (14, réponse à 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| category | enum: "drug" | "food" | "device" | "cosmetic" | oui | Product category — each has different field schemas in the response |
| search | string | non | openFDA 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. |
| sort | string | non | A 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… |
| limit | integer | non | Records 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. |
| skip | number | non | Records to skip, at most 25000; to read past that, follow next_cursor from skip 0. |
| cursor | string | non | next_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change. |
| fields | array<string> | non | Dotted 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… |
| include | array<string> | non | Paths 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. |
| stage | boolean | non | Also 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_id | string | non | canvas_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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | openFDA 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. |
| sort | string | non | A 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. |
| limit | integer | non | Records per page. Default 25; a larger value returns at most 450 and says so. |
| skip | number | non | Records to skip, at most 25000; to read past that, follow next_cursor from skip 0. |
| cursor | string | non | next_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change. |
| fields | array<string> | non | Dotted 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… |
| stage | boolean | non | Also 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_id | string | non | canvas_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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | openFDA 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… |
| sort | string | non | A 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. |
| limit | integer | non | Records per page. Default 25; a larger value returns at most 1000 and says so. |
| skip | number | non | Records to skip, at most 25000; to read past that, follow next_cursor from skip 0. |
| cursor | string | non | next_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change. |
| fields | array<string> | non | Dotted 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… |
| stage | boolean | non | Also 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_id | string | non | canvas_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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| category | enum: "drug" | "food" | "device" | oui | Product category |
| endpoint | enum: "enforcement" | "recall" | non | Report type: enforcement reports, or recall (devices only). |
| search | string | non | openFDA 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. |
| sort | string | non | A 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… |
| limit | integer | non | Records 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. |
| skip | number | non | Records to skip, at most 25000; to read past that, follow next_cursor from skip 0. |
| cursor | string | non | next_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change. |
| fields | array<string> | non | Dotted 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… |
| include | array<string> | non | Paths 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.… |
| stage | boolean | non | Also 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_id | string | non | canvas_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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | openFDA 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. |
| sort | string | non | A 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. |
| limit | integer | non | Records per page. Default 25; a larger value returns at most 1000 and says so. |
| skip | number | non | Records to skip, at most 25000; to read past that, follow next_cursor from skip 0. |
| cursor | string | non | next_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change. |
| fields | array<string> | non | Dotted 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;… |
| stage | boolean | non | Also 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_id | string | non | canvas_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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| endpoint | enum: "drug/event" | "drug/label" | "drug/enforcement" | "drug/ndc" | "drug/drugsfda" | "drug/orangebook" | "drug/shortages" | "food/event" … | oui | Full openFDA endpoint path (e.g. "drug/event", "device/classification") |
| count | string | oui | Field 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… |
| search | string | non | Filter 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. |
| limit | integer | non | Number 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| endpoint | enum: "drug/event" | "drug/label" | "drug/enforcement" | "drug/ndc" | "drug/drugsfda" | "drug/orangebook" | "drug/shortages" | "food/event" … | oui | openFDA 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| search | string | oui | Label 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… |
| sort | string | non | A 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. |
| limit | integer | non | Labels 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. |
| skip | number | non | Records to skip, at most 25000; to read past that, follow next_cursor from skip 0. |
| cursor | string | non | next_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change. |
| sections | array<string> | non | Label 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| dataset | enum: "drugsfda" | "orangebook" | "crl" | non | drugsfda: 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… |
| search | string | non | openFDA 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… |
| sort | string | non | A 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… |
| limit | integer | non | Records 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);… |
| skip | number | non | Records to skip, at most 25000; to read past that, follow next_cursor from skip 0. |
| cursor | string | non | next_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change. |
| fields | array<string> | non | Dotted 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… |
| stage | boolean | non | Also 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_id | string | non | canvas_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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pathway | enum: "510k" | "pma" | "classification" | oui | Premarket 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. |
| search | string | non | openFDA 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… |
| sort | string | non | A 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… |
| limit | integer | non | Records 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. |
| skip | number | non | Records to skip, at most 25000; to read past that, follow next_cursor from skip 0. |
| cursor | string | non | next_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change. |
| fields | array<string> | non | Dotted 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… |
| stage | boolean | non | Also 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_id | string | non | canvas_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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| search | string | oui | openFDA 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… |
| dataset | enum: "ndc" | "nsde" | non | ndc: 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. |
| sort | string | non | A 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. |
| limit | integer | non | Records per page; a record grows with its packaging list. Default 25; a larger value returns at most 1000 and says so. |
| skip | number | non | Records to skip, at most 25000; to read past that, follow next_cursor from skip 0. |
| cursor | string | non | next_cursor from the previous page, with no skip and the same search, sort, and endpoint as that call; other inputs may change. |
| fields | array<string> | non | Dotted 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… |
| stage | boolean | non | Also 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_id | string | non | canvas_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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| drug | string | oui | Drug 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canvas_id | string | oui | Canvas 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| canvas_id | string | oui | Canvas 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. |
| query | string | oui | SQL 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". |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://openfda.caseyjhand.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http openfda-mcp-server https://openfda.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : openfda-mcp-server ; URL : https://openfda.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : openfda-mcp-server ; Server URL : https://openfda.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"openfda-mcp-server": {
"url": "https://openfda.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"openfda-mcp-server": {
"type": "http",
"url": "https://openfda.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"openfda-mcp-server": {
"url": "https://openfda.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"openfda-mcp-server": {
"httpUrl": "https://openfda.caseyjhand.com/mcp"
}
}
}[mcp_servers.openfda-mcp-server]
url = "https://openfda.caseyjhand.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
openfda-mcp-server · L’Atlas · Test du
[openfda-mcp-server — L’Atlas](https://latlas.dev/mcp/io.github.cyanheads/openfda-mcp-server)Source : Registre officiel MCP · relevé le 1 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.