MCP server
Openfda
io.github.cyanheads/openfda-mcp-server
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Query FDA data on drugs, food, devices, and recalls via openFDA. STDIO or Streamable HTTP.
Working at last checkAbout 13,583 tokens per request once connected14 tools
https://openfda.caseyjhand.com/mcp
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Working at last check
- Tools
- 14
- Token cost
- About 13,583 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http openfda-mcp-server https://openfda.caseyjhand.com/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.openfda-mcp-server] url = "https://openfda.caseyjhand.com/mcp"
Gemini CLI
{"mcpServers":{"openfda-mcp-server":{"httpUrl":"https://openfda.caseyjhand.com/mcp"}}}
Cursor
{"mcpServers":{"openfda-mcp-server":{"url":"https://openfda.caseyjhand.com/mcp"}}}
VS Code
{"servers":{"openfda-mcp-server":{"type":"http","url":"https://openfda.caseyjhand.com/mcp"}}}
Antigravity
agy mcp add openfda-mcp-server https://openfda.caseyjhand.com/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"openfda-mcp-server","server_url":"https://openfda.caseyjhand.com/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"openfda-mcp-server","server_url":"https://openfda.caseyjhand.com/mcp"}
Tools
openfda_count_values~626 tokens
Aggregate and tally unique values for any field across any openFDA endpoint. Returns ranked term-count pairs sorted by count descending. Pair with openfda_search_adverse_events, openfda_search_drug_approvals, openfda_search_device_clearances, openfda_search_recalls, openfda_get_drug_label, or openfdopenfda_dataframe_describe~235 tokens
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 hoopenfda_dataframe_query~420 tokens
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_desopenfda_describe_fields~291 tokens
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.openfda_drug_profile~309 tokens
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. Replaces chaining openfda_get_drug_label, openfda_openfda_get_drug_label~912 tokens
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 insteopenfda_lookup_ndc~1307 tokens
Look up drugs in the NDC (National Drug Code) Directory. Identify drug products by NDC code, find active ingredients, packaging details, or manufacturer info. 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_openfda_search_adverse_events~1386 tokens
Search adverse event reports across drugs, food, and devices. 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.openfda_search_animal_events~1430 tokens
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 prodopenfda_search_device_clearances~1296 tokens
Search FDA device premarket notifications — 510(k) clearances and PMA approvals. With stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.openfda_search_drug_approvals~1379 tokens
Search the Drugs@FDA database for drug application approvals (NDAs and ANDAs). Returns application details, sponsor info, and full submission history. 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 stageopenfda_search_drug_shortages~1322 tokens
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, ropenfda_search_recalls~1355 tokens
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.openfda_search_tobacco_reports~1315 tokens
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,
Browse
Related MCP servers
- Polyform
Pay-per-call data APIs for AI agents. USDC on Base via x402. 33 tools, no signup. - KeyVex
US public financial disclosures for AI agents: Congress trades, SEC filings, FEC, lobbying, more - Tollbooth
37 paid x402 MCP tools for OSINT, prediction markets, web intel, and agent security on Base USDC. - openFDA MCP by usefulapi
Search openFDA drug, device, food and adverse-event datasets. - Health & medicines
Clinical trials, RxNorm drug lookups, FDA drug and device data, PubMed and NHS organisations. - Slacking.biz — SEC Financial Data + US Economics + Demographics + FX
75 MCP tools: SEC financials, FRED economics, IRS 990, FDA, FX, UK Companies House. - X402 Endpoints
x402 paid API tools for AI agents on Base: EU/global registries, crypto, wallet & agent trust. - Openfda
FDA drug data via openFDA: adverse-event reports and safety-signal tools (FAERS search, event…
Badge for your README
[](https://aptlynx.net/servers/io.github.cyanheads/openfda-mcp-server)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents