加载中…
Query FDA data on drugs, food, devices, and recalls via openFDA. STDIO or Streamable HTTP.
io.github.cyanheads/openfda-mcp-server 是 ChatHome Skills 收录的 MCP 条目,来源为 Official MCP Registry,质量分 78/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 io.github.cyanheads/openfda-mcp-server 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
mcp add io.github.cyanheads/openfda-mcp-server https://openfda.caseyjhand.com/mcp运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-10-26T19:35:32.496788Z",
"publishedAt": "2026-10-26T19:35:32.496788Z",
"statusChangedAt": "2026-10-26T19:35:32.496788Z"
}
},
"server": {
"name": "io.github.cyanheads/openfda-mcp-server",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://openfda.caseyjhand.com/mcp",
"type": "streamable-http"
}
],
"version": "0.9.1",
"packages": [
{
"version": "0.9.1",
"transport": {
"type": "stdio"
},
"identifier": "@cyanheads/openfda-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "OPENFDA_API_KEY",
"format": "string",
"description": "Free API key from open.fda.gov — increases daily limit from 1K to 120K requests."
},
{
"name": "CANVAS_PROVIDER_TYPE",
"format": "string",
"default": "duckdb",
"description": "DataCanvas staging, on by default: stage=true or a canvas_id on an openfda_search_* tool or openfda_lookup_ndc stages the matched records as a SQL table for the openfda_dataframe_* tools. The DuckDB binding ships with the server. Set to 'none' to disable."
},
{
"name": "OPENFDA_DATAFRAME_DROP_ENABLED",
"format": "string",
"default": "false",
"description": "Enable openfda_dataframe_drop, which deletes a table staged on a DataCanvas. Off by default; applies only when DataCanvas is enabled (CANVAS_PROVIDER_TYPE=duckdb)."
},
{
"name": "OPENFDA_MIRROR_ENABLED",
"format": "string",
"default": "false",
"description": "Serve exact-key lookups for drug/label, drug/ndc, drug/enforcement, and drug/drugsfda from a local bulk mirror instead of the API. Off by default; the initial harvest runs out-of-band via the mirror:init script."
},
{
"name": "OPENFDA_MIRROR_PATH",
"format": "string",
"default": "./data/openfda-mirror",
"description": "Directory holding one SQLite file per mirrored dataset."
},
{
"name": "OPENFDA_MIRROR_REFRESH_CRON",
"format": "string",
"description": "Cron expression for the in-process mirror refresh. HTTP transport only; stdio operators run mirror:refresh from the host. Requires the optional node-cron peer dependency."
},
{
"name": "OPENFDA_MIRROR_FALLBACK_LIVE",
"format": "string",
"default": "true",
"description": "Fall back to the live API when the mirror is cold, missing the record, or failing. Disable to fail loudly instead."
},
{
"name": "OPENFDA_MIRROR_REFRESH_TIMEOUT_MS",
"format": "string",
"default": "21600000",
"description": "Wall-clock budget for one scheduled refresh before it is aborted. Raise it for drug/label, the only multi-partition dataset."
},
{
"name": "OPENFDA_MIRROR_BASE_URL",
"format": "string",
"default": "https://api.fda.gov",
"description": "Host serving the openFDA bulk download manifest. Override only to harvest from a private mirror of the dumps."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
},
{
"version": "0.9.1",
"transport": {
"url": "http://localhost:3010/mcp",
"type": "streamable-http"
},
"identifier": "@cyanheads/openfda-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "OPENFDA_API_KEY",
"format": "string",
"description": "Free API key from open.fda.gov — increases daily limit from 1K to 120K requests."
},
{
"name": "MCP_TRANSPORT_TYPE",
"value": "http",
"format": "string",
"description": "Selects the HTTP transport."
},
{
"name": "MCP_HTTP_HOST",
"format": "string",
"default": "127.0.0.1",
"description": "The hostname for the HTTP server."
},
{
"name": "MCP_HTTP_PORT",
"format": "string",
"default": "3010",
"description": "The port to run the HTTP server on."
},
{
"name": "MCP_HTTP_ENDPOINT_PATH",
"format": "string",
"default": "/mcp",
"description": "The endpoint path for the MCP server."
},
{
"name": "MCP_AUTH_MODE",
"format": "string",
"default": "none",
"description": "Authentication mode to use: 'none', 'jwt', or 'oauth'."
},
{
"name": "CANVAS_PROVIDER_TYPE",
"format": "string",
"default": "duckdb",
"description": "DataCanvas staging, on by default: stage=true or a canvas_id on an openfda_search_* tool or openfda_lookup_ndc stages the matched records as a SQL table for the openfda_dataframe_* tools. The DuckDB binding ships with the server. Set to 'none' to disable."
},
{
"name": "OPENFDA_DATAFRAME_DROP_ENABLED",
"format": "string",
"default": "false",
"description": "Enable openfda_dataframe_drop, which deletes a table staged on a DataCanvas. Off by default; applies only when DataCanvas is enabled (CANVAS_PROVIDER_TYPE=duckdb)."
},
{
"name": "OPENFDA_MIRROR_ENABLED",
"format": "string",
"default": "false",
"description": "Serve exact-key lookups for drug/label, drug/ndc, drug/enforcement, and drug/drugsfda from a local bulk mirror instead of the API. Off by default; the initial harvest runs out-of-band via the mirror:init script."
},
{
"name": "OPENFDA_MIRROR_PATH",
"format": "string",
"default": "./data/openfda-mirror",
"description": "Directory holding one SQLite file per mirrored dataset."
},
{
"name": "OPENFDA_MIRROR_REFRESH_CRON",
"format": "string",
"description": "Cron expression for the in-process mirror refresh. HTTP transport only; stdio operators run mirror:refresh from the host. Requires the optional node-cron peer dependency."
},
{
"name": "OPENFDA_MIRROR_FALLBACK_LIVE",
"format": "string",
"default": "true",
"description": "Fall back to the live API when the mirror is cold, missing the record, or failing. Disable to fail loudly instead."
},
{
"name": "OPENFDA_MIRROR_REFRESH_TIMEOUT_MS",
"format": "string",
"default": "21600000",
"description": "Wall-clock budget for one scheduled refresh before it is aborted. Raise it for drug/label, the only multi-partition dataset."
},
{
"name": "OPENFDA_MIRROR_BASE_URL",
"format": "string",
"default": "https://api.fda.gov",
"description": "Host serving the openFDA bulk download manifest. Override only to harvest from a private mirror of the dumps."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
}
],
"repository": {
"url": "https://github.com/cyanheads/openfda-mcp-server",
"source": "github"
},
"description": "Query FDA data on drugs, food, devices, and recalls via openFDA. STDIO or Streamable HTTP."
}
}