oryx1729
MCP Serveroryx1729public

med oryx ade

基于 OnSIDES 数据库和 AI 技术的药物不良事件查询应用。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
MIT License
License

About This Server

基于 OnSIDES 数据库和 AI 技术的药物不良事件查询应用。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MedOryx - Adverse Drug Events Explorer

An adverse drug events explorer Streamlit app powered by the OnSIDES database, Haystack, and MCP-Alchemy.

Overview

This application leverages large language models and the OnSIDES database to provide a natural language interface for exploring adverse drug events. MedOryx can help you:

  • Query adverse drug events (ADEs) for specific medications
  • Find drugs that cause particular side effects
  • Compare adverse events across drug classes
  • Explore serious ADEs from drug labels' Boxed Warnings section
  • Access comprehensive adverse event data extracted from FDA drug labels

Technologies

  • OnSIDES: Comprehensive database of adverse drug events extracted from drug labels
  • MCP-Alchemy: MCP Server for Text-to-SQL
  • Haystack: AI orchestration framework
  • Streamlit: Web app framework

Setup

Prerequisites

  • Python 3.11+
  • Anthropic API key
  • uv - Modern Python package manager

Installation

  1. Clone this repository:

    git clone https://github.com/oryx1729/med-oryx-ade
    cd med-oryx-ade
    
  2. Install dependencies with uv:

    uv pip install .
    
  3. Set your Anthropic API key as an environment variable:

    export ANTHROPIC_API_KEY=your_api_key_here
    
  4. Set the SQLAlchemy database URL for MCP-Alchemy:

    export DB_URL=postgresql://user:password@localhost/dbname
    

Usage

  1. Start the application:

    uv run streamlit run app.py
    
  2. Open your browser and navigate to the provided URL (typically http://localhost:8501)

  3. Enter your questions about adverse drug events in the chat interface

Example Questions

The agent can answer questions like:

  • What are the most common side effects of metformin?
  • Show me all cardiovascular adverse events associated with statins.
  • Which antidepressants have the fewest reported gastrointestinal side effects?
  • List all drugs that can cause severe liver toxicity.
  • Compare the adverse events of amoxicillin and azithromycin.
  • What pediatric-specific adverse events are reported for methylphenidate?
  • Show me drugs with black box warnings for QT prolongation.
  • Which antipsychotics have the highest risk of weight gain?

Quick Start

1

Clone the repository

git clone https://github.com/oryx1729/med-oryx-ade
2

Install dependencies

cd med-oryx-ade
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Owneroryx1729
Repomed-oryx-ade
LanguagePython
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation