Query FDA data on drugs, food, devices, and recalls via openFDA. STDIO or Streamable HTTP.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add openfda -- npx -y @cyanheads/openfda-mcp-server~/.codex/config.toml
[mcp_servers.openfda]
command = "npx"
args = ["-y", "@cyanheads/openfda-mcp-server"]
# codex mcp add openfda -- npx -y @cyanheads/openfda-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"openfda": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openfda-mcp-server"
]
}
}
}.vscode/mcp.json
{
"servers": {
"openfda": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/openfda-mcp-server"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"openfda": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openfda-mcp-server"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"openfda": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openfda-mcp-server"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"openfda": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openfda-mcp-server"
]
}
}
}Remote
claude mcp add --transport http openfda https://openfda.caseyjhand.com/mcp~/.codex/config.toml
[mcp_servers.openfda]
url = "https://openfda.caseyjhand.com/mcp"
# codex mcp add openfda --url https://openfda.caseyjhand.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"openfda": {
"url": "https://openfda.caseyjhand.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"openfda": {
"type": "http",
"url": "https://openfda.caseyjhand.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"openfda": {
"httpUrl": "https://openfda.caseyjhand.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"openfda": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://openfda.caseyjhand.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"openfda": {
"url": "https://openfda.caseyjhand.com/mcp"
}
}
}