Skip to content

openfda-mcp-server

io.github.cyanheads/openfda-mcp-servercyanheadsstreamable-httpv0.10.0Scanned

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

14 tools: 1 change things and 13 only read.

Tools: 0 delete, 0 irreversible, 1 write, 13 read.
  • Reads private data · 5
  • Reads text others write · 3
  • Can send data out · 3
  • 1 finding

Tools listed without sign-in. Remote posture

With Anlyon

1 tool here changes things. Govern it.

  • Anlyon lists the tools and adopts none.
  • Each tool you adopt gets approvals and receipts.
  • Your agent never holds the key.
Govern this server →

A tool your agent calls directly is not routed through Anlyon and is not governed by it. Anlyon Radar only lists and labels, and these labels are the same either way.

What the openfda-mcp-server can do

The openfda-mcp-server is published by the GitHub account cyanheads. It has 14 tools. It can create or change data (1 tool: openfda_dataframe_query), but cannot delete data. 13 tools only read.

5 tools read private data (openfda_get_drug_label, openfda_search_drug_approvals, openfda_lookup_ndc and 2 more); 3 tools bring in text other people can write (openfda_search_recalls, openfda_count_values and openfda_describe_fields); 3 tools can send data out of your system (openfda_search_recalls, openfda_count_values and openfda_describe_fields). On its own it has all three parts of a prompt-injection exfiltration path: private data, text others write, and a way out.

The fixed checks matched 1 finding (annotation-conflict). Each one comes with the text it matched.

Its remote endpoint lists its tools without sign-in, and its tools changed 2 times since Anlyon Radar first saw them.

Last scanned Nov 11, 2026, version 0.10.0.

Tools

Grouped by what each tool does, most consequential first. Open one for its reasons and full description; descriptions are the publisher's own words.

14 tools

Changes things 1Claude Code: ask
  • openfda_dataframe_queryRun 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).Reads private data1 finding

    Why it is in this group

    • The name "openfda_dataframe_query" says "query": a word for reading.
    • The description's first verb is "run": a word for a change.
    • The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.

    What it can reach

    • private-dataThe description's first sentence says "sql": it reads databases.

    Findings

    • Warn

      The server marks "openfda_dataframe_query" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

      Matched text

      annotations: {"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false}; The name "openfda_dataframe_query" says "query": a word for reading.

      What this check looks for
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
Only reads 13Show 13 read-only tools
  • openfda_count_valuesAggregate and tally unique values for any field across any openFDA endpoint.Reads text others writeCan send data outNo findings

    Why it is in this group

    • The name "openfda_count_values" says "count": a word for reading.

    What it can reach

    • untrusted-inputThe input takes a URL (input.endpoint), and the tool reads it: it reads web pages, which anyone can write.
    • outboundThe input takes a URL (input.endpoint): a request to a URL can carry data to whoever runs it.

    Claude Code: ask, because it is tagged outbound.

    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_dataframe_describeList the tables and column schemas on a DataCanvas staged by an openFDA search tool.Reads private dataNo findings

    Why it is in this group

    • The name "openfda_dataframe_describe" says "describe": a word for reading.

    What it can reach

    • private-dataThe description's first sentence says "list" and "table": it reads databases.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • openfda_describe_fieldsReturn the searchable field paths for an openFDA endpoint, grouped by category with type and description.Reads text others writeCan send data outNo findings

    Why it is in this group

    • The name "openfda_describe_fields" says "describe": a word for reading.

    What it can reach

    • untrusted-inputThe input takes a URL (input.endpoint), and the tool reads it: it reads web pages, which anyone can write.
    • outboundThe input takes a URL (input.endpoint): a request to a URL can carry data to whoever runs it.

    Claude Code: ask, because it is tagged outbound.

    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_drug_profileResolve 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-ev…No findings

    Why it is in this group

    • The description's first verb is "resolve": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_get_drug_labelLook up FDA drug labeling (package inserts / SPL documents).Reads private dataNo findings

    Why it is in this group

    • The name "openfda_get_drug_label" says "get": a word for reading.

    What it can reach

    • private-dataThe description's first sentence says "document": it reads documents.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_lookup_ndcLook up drugs in the NDC (National Drug Code) Directory.Reads private dataNo findings

    Why it is in this group

    • The name "openfda_lookup_ndc" says "lookup": a word for reading.

    What it can reach

    • private-dataThe description's first sentence says "directory": it reads files.
    Description, as the server wrote it
    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_describe for the staged columns, then openfda_dataframe_query for SQL.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_search_adverse_eventsSearch adverse event reports across drugs, food, and devices.No findings

    Why it is in this group

    • The name "openfda_search_adverse_events" says "search": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_search_animal_eventsSearch adverse event reports for veterinary drugs and devices submitted to the FDA Center for Veterinary Medicine.No findings

    Why it is in this group

    • The name "openfda_search_animal_events" says "search": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_search_device_clearancesSearch FDA device premarket notifications — 510(k) clearances and PMA approvals.No findings

    Why it is in this group

    • The name "openfda_search_device_clearances" says "search": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_search_drug_approvalsSearch the Drugs@FDA database for drug application approvals (NDAs and ANDAs).Reads private dataNo findings

    Why it is in this group

    • The name "openfda_search_drug_approvals" says "search": a word for reading.

    What it can reach

    • private-dataThe description's first sentence says "search" and "database": it reads databases.
    Description, as the server wrote it
    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 stage=true, call openfda_dataframe_describe for the staged columns, then openfda_dataframe_query for SQL.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_search_drug_shortagesSearch FDA drug shortage records.No findings

    Why it is in this group

    • The name "openfda_search_drug_shortages" says "search": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_search_recallsSearch enforcement reports and recall actions across drugs, food, and devices.Reads text others writeCan send data outNo findings

    Why it is in this group

    • The name "openfda_search_recalls" says "search": a word for reading.

    What it can reach

    • untrusted-inputThe input takes a URL (input.endpoint), and the tool reads it: it reads web pages, which anyone can write.
    • outboundThe input takes a URL (input.endpoint): a request to a URL can carry data to whoever runs it.

    Claude Code: ask, because it is tagged outbound.

    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
  • openfda_search_tobacco_reportsSearch problem reports submitted to the FDA for tobacco products, including e-cigarettes, vaping products, cigarettes, and smokeless tobacco.No findings

    Why it is in this group

    • The name "openfda_search_tobacco_reports" says "search": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Exfil surface

Which tools read private data, which read text someone else can write, and which can send data out. One of each is a path a prompt injection can use.

45 paths in this server alone from private data, through text someone else wrote, to a way out. Denying 3 outbound tools breaks every one.

Reads private data5
Reads files, mail, messages, databases, secrets, calendars or repositories.
Reads text others write3
Brings in text someone else can write: web pages, inbound email, messages, issues and comments.
Can send data out3
Can carry data to people or systems: it sends, posts or publishes, or takes a recipient, channel or URL.
deny to break every path
{
  "permissions": {
    "deny": [
      "mcp__openfda__openfda_count_values",
      "mcp__openfda__openfda_describe_fields",
      "mcp__openfda__openfda_search_recalls"
    ]
  }
}

Other servers in the same agent add their own tools to these paths. Audit your whole setup to see them together.

Remote posture

What anyone on the internet sees at the remote endpoint: an anonymous initialize and tools/list, and the public OAuth metadata.

Tools listed without sign-in

Looked at Nov 20, 2026, 19:33 UTC, unchanged since Oct 22, 2026. No credentials were sent and no tool was called. What is looked at.

Reachable
yes
HTTP status of an anonymous initialize
200
tools/list served without credentials
yes
Tools that change things, listed without credentials
1
Protocol version
2025-06-18
WWW-Authenticate on 401
not observed
resource_metadata in WWW-Authenticate
not observed
RFC 9728 protected resource metadata
not observed
Authorization servers
not observed
Legacy HTTP+SSE transport
no
Dynamic client registration
not observed
Client ID metadata documents
not observed
  • WarnThe whole server

    The endpoint served tools/list without credentials, and the list has 1 tool that changes things (1 write). Whether a call also works without credentials was not tested: tools are never called.

    Matched text

    https://openfda.caseyjhand.com/mcp: tools/list returned 14 tools to an anonymous client, including openfda_dataframe_query (write)

    What this check looks for

Findings

Matches of fixed checks, with the text they matched.

1 warn
  • The server marks "openfda_dataframe_query" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

    Matched text

    annotations: {"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false}; The name "openfda_dataframe_query" says "query": a word for reading.

    What this check looks for

History

Changes to its tool definitions and to its remote endpoint, newest first.

  1. Tools11 changed.~11 changedView diff
  2. Tools11 changed.~11 changedView diff

Install

Pinned to version 0.10.0. Values in angle brackets are yours to fill in.

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

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change or a way out, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__openfda__openfda_search_adverse_events",
      "mcp__openfda__openfda_search_animal_events",
      "mcp__openfda__openfda_search_drug_shortages",
      "mcp__openfda__openfda_search_tobacco_reports",
      "mcp__openfda__openfda_get_drug_label",
      "mcp__openfda__openfda_search_drug_approvals",
      "mcp__openfda__openfda_search_device_clearances",
      "mcp__openfda__openfda_lookup_ndc",
      "mcp__openfda__openfda_drug_profile",
      "mcp__openfda__openfda_dataframe_describe"
    ],
    "ask": [
      "mcp__openfda__openfda_search_recalls",
      "mcp__openfda__openfda_count_values",
      "mcp__openfda__openfda_describe_fields",
      "mcp__openfda__openfda_dataframe_query"
    ],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. A read that can send data out (it takes a URL, say) asks first too. It assumes the server is installed as openfda. Review it before you use it.

Capability tags behind 8 rules
  • mcp__openfda__openfda_search_recalls untrusted-input, outbound
  • mcp__openfda__openfda_count_values untrusted-input, outbound
  • mcp__openfda__openfda_describe_fields untrusted-input, outbound
  • mcp__openfda__openfda_get_drug_label private-data
  • mcp__openfda__openfda_search_drug_approvals private-data
  • mcp__openfda__openfda_lookup_ndc private-data
  • mcp__openfda__openfda_dataframe_describe private-data
  • mcp__openfda__openfda_dataframe_query private-data

Pin

Keep the decision: fail CI when the tools change, follow every change, or show a badge.

Pin in CI

Fail a build when the tools you reviewed are not the tools the server serves today.

curl -s "https://radar.anlyon.com/api/v1/servers/io.github.cyanheads/openfda-mcp-server/verify?hash=93ee16206bdfd3c1bab661bf8de7b7364826f53d60830a8fe1e5afdb9f8f2863" | jq -e '.changed == false'

Pinned hash 93ee16206bdf, from Nov 11, 2026, 08:18 UTC.

Watch

Get told when its tools change: a new tool, a new description, a new class.

https://radar.anlyon.com/servers/io.github.cyanheads/openfda-mcp-server/changes.xml

An Atom feed. Works in any feed reader or Slack's RSS app.

Badge

Anlyon Radar badge for io.github.cyanheads/openfda-mcp-server
[![Anlyon Radar](https://radar.anlyon.com/badge/io.github.cyanheads/openfda-mcp-server.svg)](https://radar.anlyon.com/servers/io.github.cyanheads/openfda-mcp-server)

Source: MCP Registry · repository. Synced Nov 11, 2026, 08:18 UTC.

openfda-mcp-server: questions and answers

Answered from the scan above, not from the publisher's description.

Is the openfda-mcp-server safe?

No scan can promise that. What its definitions show: 14 tools, 1 of which can change, send or delete something, and 1 finding from fixed checks. Allow the reads, ask before each change, and deny the deletes; the permissions block on this page does that.

Can the openfda-mcp-server delete data?

No tool is classed as destructive: going by their definitions, none of them deletes, cancels or revokes anything.

Can the openfda-mcp-server do things that cannot be undone?

No tool is classed as irreversible: none of them sends, pays, publishes or merges, going by their definitions.

What tools does the openfda-mcp-server have?

14 tools: 1 write, 13 read. openfda_dataframe_query, openfda_search_adverse_events, openfda_search_animal_events, openfda_search_drug_shortages, openfda_search_recalls, openfda_search_tobacco_reports, openfda_count_values, openfda_describe_fields and 6 more.

Does the openfda-mcp-server need sign-in or OAuth?

Its remote endpoint listed its tools to an anonymous client, without sign-in.

Does the openfda-mcp-server send data to outside services?

3 tools can carry data out (it sends, posts or publishes, or takes a recipient, channel or URL): openfda_search_recalls, openfda_count_values and openfda_describe_fields.

Has the openfda-mcp-server changed its tools?

Yes, 2 times since Anlyon Radar started tracking it, most recently on Nov 11, 2026. Every change is on this page and in its Atom feed.