FDA Drugs Data Access Server

数据与存储

by plainyogurt21

通过直观搜索与详细信息检索访问全面的FDA药品数据,支持按名称、适应症、相似性和申报历史发现药物,辅助决策与已批准药物研究。

什么是 FDA Drugs Data Access Server

通过直观搜索与详细信息检索访问全面的FDA药品数据,支持按名称、适应症、相似性和申报历史发现药物,辅助决策与已批准药物研究。

README

FDA Drugs MCP Server

smithery badge

A Model Context Protocol (MCP) server for accessing FDA drug data through the OpenFDA API.

Features

  • Drug Name Search: Search for drugs by brand or generic name
  • Indication Search: Find drugs by medical condition or therapeutic indication
  • Detailed Drug Information: Get comprehensive drug details including clinical data
  • Similar Drug Discovery: Find drugs with similar mechanisms of action or indications
  • Application History: Access FDA application and approval history
  • BLA/NDA Focus: Defaults to approved drugs (BLA/NDA), excludes generics (ANDA) unless specified

Available Tools

  1. search_drug_by_name - Search for drugs by brand or generic name
  2. search_drug_by_indication - Search for drugs by medical indication
  3. get_drug_details - Get comprehensive details for a specific drug
  4. search_similar_drugs - Find drugs similar to a reference drug
  5. get_drug_application_history - Get FDA application history

Run Locally

  • HTTP (recommended):

    bash
    pip install -r requirements.txt
    PORT=8081 TRANSPORT=http python server.py
    
  • STDIO (backwards compatible):

    bash
    pip install -r requirements.txt
    python server.py
    

Use With Clients

Smithery (Custom Container)

  • This repo includes Dockerfile and smithery.yaml configured for HTTP streamable transport.
  • Deploy via https://smithery.ai/new by connecting your GitHub repo.
  • Local test (HTTP):
    bash
    docker build -t fda-drugs-mcp .
    docker run -p 8081:8081 -e PORT=8081 fda-drugs-mcp
    npx @smithery/cli playground --port 8081
    

Installing via Smithery

To install FDA Drugs MCP Server automatically via Smithery:

bash
npx -y @smithery/cli install @plainyogurt21/fda-drugs-mcp

Config fields supported when launching via Smithery:

  • fdaApiKey: OpenFDA API key
  • logLevel: DEBUG | INFO | WARNING | ERROR | CRITICAL

Cline (CLI MCP Client)

  • Cline supports MCP over HTTP. Start the server:
    bash
    PORT=8081 TRANSPORT=http python server.py
    
  • Then configure Cline to connect to http://localhost:8081 as an MCP server. If Cline supports session config, pass fdaApiKey in the session config.

Claude Code

  • Claude Code supports both STDIO and HTTP MCP servers.
  • Recommended: run HTTP and add a server entry pointing to http://localhost:8081.
  • Alternative (STDIO): point Claude Code to run python server.py in this folder.

Other MCP Clients

  • Any MCP client that supports streamable HTTP can connect to http://<host>:8081.
  • Per-request config can be passed using Smithery’s config query parameter format.

Notes

  • HTTP mode uses CORS with permissive defaults to work across clients.
  • The server reads the OpenFDA API key from, in order of precedence:
    • Per-request config fdaApiKey
    • STDIO/runtime config or env FDA_API_KEY
    • Built-in default (see utils/config.py)

Testing (local modules)

bash
python test_server.py

常见问题

FDA Drugs Data Access Server 是什么?

通过直观搜索与详细信息检索访问全面的FDA药品数据,支持按名称、适应症、相似性和申报历史发现药物,辅助决策与已批准药物研究。

相关 Skills

技术栈评估

by alirezarezvani

Universal
热门

对比框架、数据库和云服务,结合 5 年 TCO、安全风险、生态活力与迁移复杂度做量化评估,适合技术选型、栈升级和替换路线决策。

帮你系统比较技术栈优劣,不只看功能,还把TCO、安全性和生态健康度一起量化,选型和迁移决策更稳。

数据与存储
未扫描12.5k

资深数据工程师

by alirezarezvani

Universal
热门

聚焦生产级数据工程,覆盖 ETL/ELT、批处理与流式管道、数据建模、Airflow/dbt/Spark 优化和数据质量治理,适合设计数据架构、搭建现代数据栈与排查性能问题。

复杂数据管道、ETL/ELT 和治理难题交给它,凭 Spark、Airflow、dbt 等现代数据栈经验,能更稳地搭起可扩展的数据基础设施。

数据与存储
未扫描12.5k

迁移架构师

by alirezarezvani

Universal
热门

为数据库、API 与基础设施迁移制定分阶段零停机方案,提前校验兼容性与风险,生成回滚策略、验证关卡和时间线,适合复杂系统平滑切换。

做数据库与存储迁移时,用它统一梳理表结构和数据搬迁流程,架构视角更完整,复杂迁移也更稳。

数据与存储
未扫描12.5k

相关 MCP Server

SQLite 数据库

编辑精选

by Anthropic

热门

SQLite 是让 AI 直接查询本地数据库进行数据分析的 MCP 服务器。

这个服务器解决了 AI 无法直接访问 SQLite 数据库的问题,适合需要快速分析本地数据集的开发者。不过,作为参考实现,它可能缺乏生产级的安全特性,建议在受控环境中使用。

数据与存储
84.4k

by Anthropic

热门

PostgreSQL 是让 Claude 直接查询和管理你的数据库的 MCP 服务器。

这个服务器解决了开发者需要手动编写 SQL 查询的痛点,特别适合数据分析师或后端开发者快速探索数据库结构。不过,由于是参考实现,生产环境使用前务必评估安全风险,别指望它能处理复杂事务。

数据与存储
84.1k

by Firecrawl

热门

Firecrawl 是让 AI 直接抓取网页并提取结构化数据的 MCP 服务器。

它解决了手动写爬虫的麻烦,让 Claude 能直接访问动态网页内容。最适合需要实时数据的研究者或开发者,比如监控竞品价格或抓取新闻。但要注意,它依赖第三方 API,可能涉及隐私和成本问题。

数据与存储
6.1k

评论