L'Agora
MCPResponds

io.github.cyanheads/openfda-mcp-server

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

No review yet · 0 questions Write a reviewAsk the authorFollow this entry

Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.

All projects by cyanheads

Repository
github.com/cyanheads/openfda-mcp-server
Server address
https://openfda.caseyjhand.com/mcp (streamable-http)
Version
0.11.1
Author
cyanheads (namespace verified by the registry)
Source
Official MCP registry (updated Nov 26, 2026)

Reviews

No review yet.

Sign in to leave a review. Your email is all you need.

Questions for the author

No question yet.

Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.

Continue with GoogleGet a link by email

How to install it

Variables to fill in: OPENFDA_API_KEY, OPENFDA_CLAMP_LIMITS, CANVAS_PROVIDER_TYPE, OPENFDA_DATAFRAME_DROP_ENABLED, OPENFDA_MIRROR_ENABLED, OPENFDA_MIRROR_PATH, OPENFDA_MIRROR_REFRESH_CRON, OPENFDA_MIRROR_FALLBACK_LIVE, OPENFDA_MIRROR_REFRESH_TIMEOUT_MS, OPENFDA_MIRROR_BASE_URL, MCP_LOG_LEVEL.

Remote server (nothing to install)

Claude Code

In a terminal:

claude mcp add --transport http openfda-mcp-server https://openfda.caseyjhand.com/mcp
Claude (app and claude.ai)

Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.

https://openfda.caseyjhand.com/mcp
ChatGPT

In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.

https://openfda.caseyjhand.com/mcp
Cursor ~/.cursor/mcp.json

Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):

{
  "mcpServers": {
    "openfda-mcp-server": {
      "url": "https://openfda.caseyjhand.com/mcp"
    }
  }
}
VS Code .vscode/mcp.json

Add this to your project’s .vscode/mcp.json:

{
  "servers": {
    "openfda-mcp-server": {
      "type": "http",
      "url": "https://openfda.caseyjhand.com/mcp"
    }
  }
}

On your machine

Claude Code

The server runs on your machine (npm package). In a terminal:

claude mcp add openfda-mcp-server -e OPENFDA_API_KEY=YOUR_OPENFDA_API_KEY -e OPENFDA_CLAMP_LIMITS=YOUR_OPENFDA_CLAMP_LIMITS -e CANVAS_PROVIDER_TYPE=YOUR_CANVAS_PROVIDER_TYPE -e OPENFDA_DATAFRAME_DROP_ENABLED=YOUR_OPENFDA_DATAFRAME_DROP_ENABLED -e OPENFDA_MIRROR_ENABLED=YOUR_OPENFDA_MIRROR_ENABLED -e OPENFDA_MIRROR_PATH=YOUR_OPENFDA_MIRROR_PATH -e OPENFDA_MIRROR_REFRESH_CRON=YOUR_OPENFDA_MIRROR_REFRESH_CRON -e OPENFDA_MIRROR_FALLBACK_LIVE=YOUR_OPENFDA_MIRROR_FALLBACK_LIVE -e OPENFDA_MIRROR_REFRESH_TIMEOUT_MS=YOUR_OPENFDA_MIRROR_REFRESH_TIMEOUT_MS -e OPENFDA_MIRROR_BASE_URL=YOUR_OPENFDA_MIRROR_BASE_URL -e MCP_LOG_LEVEL=YOUR_MCP_LOG_LEVEL -- npx -y @cyanheads/[email protected]
Claude Desktop claude_desktop_config.json

Settings, Developer, Edit config, then add:

{
  "mcpServers": {
    "openfda-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/[email protected]"
      ],
      "env": {
        "OPENFDA_API_KEY": "YOUR_OPENFDA_API_KEY",
        "OPENFDA_CLAMP_LIMITS": "YOUR_OPENFDA_CLAMP_LIMITS",
        "CANVAS_PROVIDER_TYPE": "YOUR_CANVAS_PROVIDER_TYPE",
        "OPENFDA_DATAFRAME_DROP_ENABLED": "YOUR_OPENFDA_DATAFRAME_DROP_ENABLED",
        "OPENFDA_MIRROR_ENABLED": "YOUR_OPENFDA_MIRROR_ENABLED",
        "OPENFDA_MIRROR_PATH": "YOUR_OPENFDA_MIRROR_PATH",
        "OPENFDA_MIRROR_REFRESH_CRON": "YOUR_OPENFDA_MIRROR_REFRESH_CRON",
        "OPENFDA_MIRROR_FALLBACK_LIVE": "YOUR_OPENFDA_MIRROR_FALLBACK_LIVE",
        "OPENFDA_MIRROR_REFRESH_TIMEOUT_MS": "YOUR_OPENFDA_MIRROR_REFRESH_TIMEOUT_MS",
        "OPENFDA_MIRROR_BASE_URL": "YOUR_OPENFDA_MIRROR_BASE_URL",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

In ~/.cursor/mcp.json:

{
  "mcpServers": {
    "openfda-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/[email protected]"
      ],
      "env": {
        "OPENFDA_API_KEY": "YOUR_OPENFDA_API_KEY",
        "OPENFDA_CLAMP_LIMITS": "YOUR_OPENFDA_CLAMP_LIMITS",
        "CANVAS_PROVIDER_TYPE": "YOUR_CANVAS_PROVIDER_TYPE",
        "OPENFDA_DATAFRAME_DROP_ENABLED": "YOUR_OPENFDA_DATAFRAME_DROP_ENABLED",
        "OPENFDA_MIRROR_ENABLED": "YOUR_OPENFDA_MIRROR_ENABLED",
        "OPENFDA_MIRROR_PATH": "YOUR_OPENFDA_MIRROR_PATH",
        "OPENFDA_MIRROR_REFRESH_CRON": "YOUR_OPENFDA_MIRROR_REFRESH_CRON",
        "OPENFDA_MIRROR_FALLBACK_LIVE": "YOUR_OPENFDA_MIRROR_FALLBACK_LIVE",
        "OPENFDA_MIRROR_REFRESH_TIMEOUT_MS": "YOUR_OPENFDA_MIRROR_REFRESH_TIMEOUT_MS",
        "OPENFDA_MIRROR_BASE_URL": "YOUR_OPENFDA_MIRROR_BASE_URL",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
      }
    }
  }
}
VS Code .vscode/mcp.json

In .vscode/mcp.json:

{
  "servers": {
    "openfda-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/[email protected]"
      ],
      "env": {
        "OPENFDA_API_KEY": "YOUR_OPENFDA_API_KEY",
        "OPENFDA_CLAMP_LIMITS": "YOUR_OPENFDA_CLAMP_LIMITS",
        "CANVAS_PROVIDER_TYPE": "YOUR_CANVAS_PROVIDER_TYPE",
        "OPENFDA_DATAFRAME_DROP_ENABLED": "YOUR_OPENFDA_DATAFRAME_DROP_ENABLED",
        "OPENFDA_MIRROR_ENABLED": "YOUR_OPENFDA_MIRROR_ENABLED",
        "OPENFDA_MIRROR_PATH": "YOUR_OPENFDA_MIRROR_PATH",
        "OPENFDA_MIRROR_REFRESH_CRON": "YOUR_OPENFDA_MIRROR_REFRESH_CRON",
        "OPENFDA_MIRROR_FALLBACK_LIVE": "YOUR_OPENFDA_MIRROR_FALLBACK_LIVE",
        "OPENFDA_MIRROR_REFRESH_TIMEOUT_MS": "YOUR_OPENFDA_MIRROR_REFRESH_TIMEOUT_MS",
        "OPENFDA_MIRROR_BASE_URL": "YOUR_OPENFDA_MIRROR_BASE_URL",
        "MCP_LOG_LEVEL": "YOUR_MCP_LOG_LEVEL"
      }
    }
  }
}
ChatGPT

ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.

These configurations are built from the information published by the author. Check the repository before installing a local server.

Our test

Responds The server speaks MCP and lists its tools.

Date
Nov 28, 2026, 11:41 (test run by L’Atlas)
Response time
1,093 ms (whole test)
Tools found
14
Announced name
openfda-mcp-server 0.11.1
Protocol
MCP 2025-11-25
Next test
Dec 5, 2026
See the tools (14)
  • 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
  • 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 ou
  • 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 issue
  • 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.
  • 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 problem
  • 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
  • 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 discoverabl
  • 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 th
  • 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 ful
  • 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, t
  • 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
  • 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 shortag
  • 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 res
  • 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 resu

What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more

Cite this entry

For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.

io.github.cyanheads/openfda-mcp-server · L’Agora · Tested on

[io.github.cyanheads/openfda-mcp-server — L’Agora](https://lagora.dev/en/entry/io.github.cyanheads/openfda-mcp-server)

Sources, methodology and limitations

Comments

No comment yet. A question, a tip? Start the discussion.

Sign in to comment.

Is this your project? Sign in to claim this entry.

Badge for your README

io.github.cyanheads/openfda-mcp-server on L’Agora

Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.

Markdown (GitHub)

[![io.github.cyanheads/openfda-mcp-server on L’Agora](https://lagora.dev/badge/io.github.cyanheads/openfda-mcp-server.svg?lang=en)](https://lagora.dev/en/entry/io.github.cyanheads/openfda-mcp-server)

HTML

<a href="https://lagora.dev/en/entry/io.github.cyanheads/openfda-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/openfda-mcp-server.svg?lang=en" alt="io.github.cyanheads/openfda-mcp-server on L’Agora" height="20"></a>

Promote

For the entry’s author only: sign in to continue.

By the same author

io.github.cyanheads/clinicaltrialsgov-mcp-server Responds

io.github.cyanheads/openlibrary-mcp-server Responds

io.github.cyanheads/arxiv-mcp-server Responds

io.github.cyanheads/nws-weather-mcp-server Responds

Report this entry