Openfda MCP Server

@cyanheads/openfda-mcp-server Query FDA data on drugs, food, devices, and recalls via openFDA. STDIO or Streamable HTTP. Its 14 documented tools cover openfda, drug, events, dataframe.

People who work with openfda, drug and events and want it reachable from Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-09-16 · ★ 4 · #95 OF 304 MAINTAINED MEMORY · VERIFIED 2026-09-18

Apache-2.0 · TypeScript servers · how we verify → /methodology

01 · Install Openfda MCP Server

before you install - you'll need

Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, OPENFDA_API_KEY before connecting.

Claude Code

claude mcp add cyanheads-openfda-mcp-server --transport http https://openfda.caseyjhand.com/mcp

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "cyanheads-openfda-mcp-server": {
      "url": "https://openfda.caseyjhand.com/mcp"
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

https://openfda.caseyjhand.com/mcp

transport: streamable-http

endpoint alive - responded to MCP initialize · probed 2026-09-17

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions · remote - your agent's requests go to openfda.caseyjhand.com

endpoint auth accepted our unauthenticated MCP initialize - no credentials needed to connect

license Apache-2.0 - declared in the repository

npm package @cyanheads/openfda-mcp-server - published under the repo owner's npm scope (@cyanheads)

registry namespace io.github.cyanheads is GitHub-verified and matches the repo owner

03 · What Openfda MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can search adverse event reports across drugs, food, and devices, search adverse event reports for veterinary drugs and devices, search problem reports for tobacco products, e-cigarettes, and vaping devices, and search enforcement reports and recall actions across drugs, food, and devices.

The 14 tools it gives your agent

Extracted from the project's README - what openfda-mcp-server lets an agent do.

openfda_drug_profile
- One drug name → consolidated FDA profile: identity, label, adverse events, recalls, approval, shortage
openfda_search_adverse_events
- Search adverse event reports across drugs, food, and devices
openfda_search_animal_events
- Search adverse event reports for veterinary drugs and devices
openfda_search_drug_shortages
- Search FDA drug shortage records - status, availability, therapeutic category, manufacturer
openfda_search_tobacco_reports
- Search problem reports for tobacco products, e-cigarettes, and vaping devices
openfda_search_recalls
- Search enforcement reports and recall actions across drugs, food, and devices
openfda_count_values
- Aggregate and tally unique values for any field across any openFDA endpoint
openfda_describe_fields
- Return searchable field paths for an openFDA endpoint, grouped by category
openfda_get_drug_label
- Look up FDA drug labeling (package inserts / SPL documents)
openfda_search_drug_approvals
- Search the Drugs@FDA database for NDA/ANDA application approvals
openfda_search_device_clearances
- Search FDA device premarket notifications - 510(k) clearances and PMA approvals
openfda_lookup_ndc
- Look up drugs in the NDC (National Drug Code) Directory
show all 14 tools
openfda_dataframe_query
- Run read-only SQL over a result set staged on a DataCanvas (opt-in)
openfda_dataframe_describe
- List tables and column schemas staged on a DataCanvas (opt-in)

Latest releases

v0.7.5 · 2026-09-16

mcp-ts-core 0.13.2 - stateless session mode, skills tree move · HTTP transport declares sessionMode: 'stateless'; the resolved mode is published on the server card under _meta key…

v0.7.4 · 2026-08-25

mcp-ts-core 0.12.x and the MCP SDK v2 surface · Strict tool inputs across all 14 tools: an unrecognized argument key is rejected by name, with additionalProperties: false advertised to match; schemas emit JSON Schema…

v0.7.3 · 2026-08-07

bounded page size and overflow disclosure · Multi-row search tools bound their inline page to a 24,000-byte budget and disclose withheld records on page_bytes/page_omitted, with routes to the rest (#39)…

04 · Who maintains Openfda MCP Server

openfda-mcp-server is maintained by cyanheads. We track 125 MCP servers from cyanheads - 119 actively maintained, 1,816 combined GitHub stars, oldest repo from Dec 2024. Full record: all servers from cyanheads.

  1. obsidian-mcp-server Read, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP. ★ 681
  2. mcp-ts-core Agent-native TypeScript framework for MCP servers. ★ 151
  3. pubmed-mcp-server Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms. ★ 148
  4. git-mcp-server Comprehensive Git MCP server enabling native git tools including clone, commit, worktree, & more. ★ 240
  5. clinicaltrialsgov-mcp-server Search ClinicalTrials.gov - find studies, retrieve results, match patients to eligible trials. ★ 94
  6. ntfy-mcp-server Send, manage, and replay ntfy push notifications via MCP. ★ 22

05 · Facts

category
memory - ranked #95 of 304 actively-maintained memory servers as of 2026-09-18.
release cadence
10+ releases in the last 90 days (latest 2026-09-16)
registry
io.github.cyanheads/openfda-mcp-server (active, first published 2026-04-03 · 32 versions)
packages
npm:@cyanheads/openfda-mcp-server · npm:@cyanheads/openfda-mcp-server

06 · Openfda MCP Server FAQ

Is Openfda MCP Server still maintained?

Yes - as of 2026-09-18, its last commit was 2026-09-16 and it shipped 10+ releases in the last 90 days. We re-verify nightly.

What can Openfda MCP Server do?

With this server connected, an agent can search adverse event reports across drugs, food, and devices, search adverse event reports for veterinary drugs and devices, search problem reports for tobacco products, e-cigarettes, and vaping devices, and search enforcement reports and recall actions across drugs, food, and devices.

How do I install Openfda MCP Server?

Run `npx -y @cyanheads/openfda-mcp-server`. The README documents 3 environment variables (MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, OPENFDA_API_KEY) to set first. Set MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, OPENFDA_API_KEY before connecting. You can also paste the ready-made client config above.

Does Openfda MCP Server require authentication?

No - the endpoint accepted our unauthenticated MCP initialize when probed on 2026-09-17; you can connect without credentials.

07 · Alternatives to Openfda MCP Server

Pairs well with

Servers that cover what Openfda MCP Server doesn't - only shown when the pairing reason fits the companion.

  1. Server Filesystem → filesystem companion filesystem · ★ 39,038
  2. Pdf MCP → filesystem companion filesystem · ★ 135