# openfda-mcp-server MCP server

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

## Links
- Registry page: https://www.getdrio.com/mcp/io-github-cyanheads-openfda-mcp-server
- Repository: https://github.com/cyanheads/openfda-mcp-server

## Install
- Command: `npx -y @cyanheads/openfda-mcp-server`
- Endpoint: https://openfda.caseyjhand.com/mcp
- Auth: Auth required by registry metadata

## Setup notes
- Package: Npm @cyanheads/openfda-mcp-server v0.1.9
- Environment variable: OPENFDA_API_KEY
- Environment variable: MCP_LOG_LEVEL (default info)
- Package: Npm @cyanheads/openfda-mcp-server v0.1.9
- Environment variable: OPENFDA_API_KEY
- Environment variable: MCP_TRANSPORT_TYPE (required; default http)
- Environment variable: MCP_HTTP_HOST (default 127.0.0.1)
- Environment variable: MCP_HTTP_PORT (default 3010)
- Environment variable: MCP_HTTP_ENDPOINT_PATH (default /mcp)
- Environment variable: MCP_AUTH_MODE (default none)
- Environment variable: MCP_LOG_LEVEL (default info)
- The upstream registry signals required auth or secrets.
- Remote endpoint: https://openfda.caseyjhand.com/mcp

## Tools
- openfda_search_adverse_events (Openfda Search Adverse Events) - 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. Endpoint: https://openfda.caseyjhand.com/mcp
- openfda_search_recalls (Openfda Search Recalls) - Search enforcement reports and recall actions across drugs, food, and devices. Endpoint: https://openfda.caseyjhand.com/mcp
- openfda_count (Openfda Count) - 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 openfda_lookup_ndc when sample records help interpret the aggregates. Endpoint: https://openfda.caseyjhand.com/mcp
- 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. Endpoint: https://openfda.caseyjhand.com/mcp
- openfda_search_drug_approvals (Openfda Search Drug Approvals) - 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 to aggregate by sponsor_name, product_type, or route. Endpoint: https://openfda.caseyjhand.com/mcp
- openfda_search_device_clearances (Openfda Search Device Clearances) - Search FDA device premarket notifications — 510(k) clearances and PMA approvals. Endpoint: https://openfda.caseyjhand.com/mcp
- 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. Pair with openfda_get_drug_label using the returned brand_name or set_id to read the package insert. Endpoint: https://openfda.caseyjhand.com/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: io.github.cyanheads
- Version: 0.1.9
- Runtime: Npm
- Transports: STDIO, HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Apr 21, 2026
- Source: https://registry.modelcontextprotocol.io
