io.github.cyanheads

openfda-mcp-server

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

communityservice

Package Details

Transportstdio
Runtimebun

Environment Variables

OPENFDA_API_KEY(str)

Free API key from open.fda.gov — increases daily limit from 1K to 120K requests.

MCP_LOG_LEVEL(str)
Default:info

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

TransportStreamable HTTP
Runtimebun

Environment Variables

OPENFDA_API_KEY(str)

Free API key from open.fda.gov — increases daily limit from 1K to 120K requests.

MCP_TRANSPORT_TYPE(str)
Default:http
Required

Must be set to 'http' for streamable HTTP transport.

MCP_HTTP_HOST(str)
Default:127.0.0.1

The hostname for the HTTP server.

MCP_HTTP_PORT(str)
Default:3010

The port to run the HTTP server on.

MCP_HTTP_ENDPOINT_PATH(str)
Default:/mcp

The endpoint path for the MCP server.

MCP_AUTH_MODE(str)
Default:none

Authentication mode to use: 'none', 'jwt', or 'oauth'.

MCP_LOG_LEVEL(str)
Default:info

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').