Enhanced Medication Information MCP Server

by zesty-genius128

Not rated
GitHub

About

Provides real-time access to FDA drug data, including shortages, labeling, and recalls, via the openFDA API.

Details

Author
zesty-genius128
Categories
Database, Other, API

JavaScript Version Setup (JS_version/)

Set your OpenFDA API key (optional, improves rate limits):

export OPENFDA_API_KEY="your_api_key_here"

Get a free API key at:https://open.fda.gov/apis/authentication/

{ "mcpServers": { "enhanced-medication-info": { "command": "node", "args": ["/full/path/to/JS_version/enhanced-mcp-server.js"], "env": { "OPENFDA_API_KEY": "your_openfda_api_key_here" } } } }

- Comprehensive Drug Profiles: FDA labeling, shortage status, manufacturer, and more
- Real-Time Shortage Search: Live shortage data from openFDA (1,900+ records)
- Recall Information: Current and historical drug recalls from FDA enforcement database
- Label-Only Lookup: Retrieve only FDA-approved drug labeling
- Shortage Search Guidance: Tips and strategies for finding shortage data
- Market Trend Analysis: Analyze shortage patterns and risk for a drug
- Batch Analysis: Assess shortages, recalls, and risk for up to 25 drugs at once

med_info_mcp_project/ ├── JS_version/ # JavaScript/Node.js implementation │ ├── enhanced-mcp-server.js │ ├── openfda-client.js │ ├── package.json │ ├── test-client.js │ └── ... ├── PY_version/ # Python implementation │ ├── enhanced_mcp_server.py │ ├── drug_server.py │ ├── drug_features.py │ ├── ... ├── data/ # Data files (e.g., images for testing) ├── requirements.txt # Python dependencies ├── README.md # This file └── ...

All endpoints are exposed as MCP tools and callable via Claude Desktop or programmatically. Below is a summary of each endpoint for both Python and JavaScript versions:

- openFDA Drug Label API(docs)
Endpoint:
https://api.fda.gov/drug/label.json
- openFDA Drug Shortages API(
docs)
Endpoint:
https://api.fda.gov/drug/shortages.json
- openFDA Drug Enforcement/Recalls API(
docs)
Endpoint:
https://api.fda.gov/drug/enforcement.json
- openFDA FAERS (Adverse Events) API(
docs)
Endpoint:
https://api.fda.gov/drug/event.json
- RxNorm API(
docs)
Endpoint:
https://rxnav.nlm.nih.gov/REST

- MCP not working in Claude Desktop?
- Double-check your config file paths and commands
- Ensure dependencies are installed (pip install -r requirements.txtornpm install)
- Restart Claude Desktop

- Python:Seerequirements.txt
- JavaScript:SeeJS_version/package.json

This project provides access to public FDA data through openFDA APIs. Always consult healthcare providers for medical decisions.

Contributions are welcome! Please open issues or pull requests for improvements or bug fixes.

NIH clinical trials and FDA adverse event reports. 4 MCP tools for health research.

A nutrition analysis platform integrating Canada's Food Guide recipes with Health Canada's official nutrition databases.

Access charity and nonprofit organization data from the IRS database via CharityAPI.org.

Interact with DROMA drug-omics association analysis databases using natural language.

Search and query patient Electronic Health Record (EHR) data using SMART on FHIR.

Access medical knowledge-bases and drug information from eka.care. Requires API credentials.

FDA-only compliance data MCP (recalls, warning letters, inspections, 483s, approvals, CFR parts).

A read-only MCP server for FHIR, enabling LLMs to query live FHIR data. Requires the CData JDBC Driver for FHIR.

Source-provenanced US federal healthcare provider data over MCP. Resolve any NPI or CCN across NPPES, OIG LEIE, SAM.gov, state Medicaid exclusions, CMS PECOS, Care Compare, and Open Payments — every field carries a 14-field provenance contract, and an "excluded or compromised anywhere" check runs on every lookup.

Access the USDA's FoodData Central database for comprehensive food and nutrient information.

Enhanced Medication Information MCP Server

Provides real-time access to FDA drug data, including shortages, labeling, and recalls, via the openFDA API.

A production-ready Model Context Protocol (MCP) server for real-time, authoritative medical and medication information. Certus integrates with Claude Desktop and provides live access to FDA drug data, including shortages, recalls, and labeling, via openFDA APIs.

This project supports bothPythonandJavaScriptimplementations of the MCP servers. You can use either version depending on your environment and preferences.

- Python version:inPY_version/(feature-complete)
- JavaScript version:inJS_version/(Node.js, feature parity for enhanced medication info)

# Clone and enter the project directory $ git clone <your_repository_url> $ cd med_info_mcp_project
cd PY_version pip install -r ../requirements.txt touch __init__.py

Create a.envfile for your OpenFDA API key (optional, improves rate limits):

Get a free API key at:https://open.fda.gov/apis/authentication/

{ "mcpServers": { "enhanced-medication-info": { "command": "python3", "args": ["/full/path/to/PY_version/enhanced_mcp_server.py"] }, "drug-features": { "command": "python3", "args": ["/full/path/to/PY_version/drug_server.py"] } } }

JavaScript Version Setup (JS_version/)

Set your OpenFDA API key (optional, improves rate limits):

export OPENFDA_API_KEY="your_api_key_here"

Get a free API key at:https://open.fda.gov/apis/authentication/

{ "mcpServers": { "enhanced-medication-info": { "command": "node", "args": ["/full/path/to/JS_version/enhanced-mcp-server.js"], "env": { "OPENFDA_API_KEY": "your_openfda_api_key_here" } } } }

- Comprehensive Drug Profiles: FDA labeling, shortage status, manufacturer, and more
- Real-Time Shortage Search: Live shortage data from openFDA (1,900+ records)
- Recall Information: Current and historical drug recalls from FDA enforcement database
- Label-Only Lookup: Retrieve only FDA-approved drug labeling
- Shortage Search Guidance: Tips and strategies for finding shortage data
- Market Trend Analysis: Analyze shortage patterns and risk for a drug
- Batch Analysis: Assess shortages, recalls, and risk for up to 25 drugs at once

med_info_mcp_project/ ├── JS_version/ # JavaScript/Node.js implementation │ ├── enhanced-mcp-server.js │ ├── openfda-client.js │ ├── package.json │ ├── test-client.js │ └── ... ├── PY_version/ # Python implementation │ ├── enhanced_mcp_server.py │ ├── drug_server.py │ ├── drug_features.py │ ├── ... ├── data/ # Data files (e.g., images for testing) ├── requirements.txt # Python dependencies ├── README.md # This file └── ...

All endpoints are exposed as MCP tools and callable via Claude Desktop or programmatically. Below is a summary of each endpoint for both Python and JavaScript versions:

- openFDA Drug Label API(docs)
Endpoint:
https://api.fda.gov/drug/label.json
- openFDA Drug Shortages API(
docs)
Endpoint:
https://api.fda.gov/drug/shortages.json
- openFDA Drug Enforcement/Recalls API(
docs)
Endpoint:
https://api.fda.gov/drug/enforcement.json
- openFDA FAERS (Adverse Events) API(
docs)
Endpoint:
https://api.fda.gov/drug/event.json
- RxNorm API(
docs)
Endpoint:
https://rxnav.nlm.nih.gov/REST

- MCP not working in Claude Desktop?
- Double-check your config file paths and commands
- Ensure dependencies are installed (pip install -r requirements.txtornpm install)
- Restart Claude Desktop

- Python:Seerequirements.txt
- JavaScript:SeeJS_version/package.json

This project provides access to public FDA data through openFDA APIs. Always consult healthcare providers for medical decisions.

Contributions are welcome! Please open issues or pull requests for improvements or bug fixes.

NIH clinical trials and FDA adverse event reports. 4 MCP tools for health research.

A nutrition analysis platform integrating Canada's Food Guide recipes with Health Canada's official nutrition databases.

Access charity and nonprofit organization data from the IRS database via CharityAPI.org.

Interact with DROMA drug-omics association analysis databases using natural language.

Search and query patient Electronic Health Record (EHR) data using SMART on FHIR.

Access medical knowledge-bases and drug information from eka.care. Requires API credentials.

FDA-only compliance data MCP (recalls, warning letters, inspections, 483s, approvals, CFR parts).

A read-only MCP server for FHIR, enabling LLMs to query live FHIR data. Requires the CData JDBC Driver for FHIR.

Source-provenanced US federal healthcare provider data over MCP. Resolve any NPI or CCN across NPPES, OIG LEIE, SAM.gov, state Medicaid exclusions, CMS PECOS, Care Compare, and Open Payments — every field carries a 14-field provenance contract, and an "excluded or compromised anywhere" check runs on every lookup.

Access the USDA's FoodData Central database for comprehensive food and nutrient information.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.