Pharma Guard Server

v1.0.0

A powerful MCP server built with NitroStack

Connection Setup

Add via Cursor Settings UI (Settings > Features > MCP > Add New MCP Server):

{
  "mcpServers": {
    // your other mcp servers
    "pharma-guard-server": {
      "url": "https://pharmaguard-6a651496-code-freaks-amrita-university-coimbatore.app.nitrocloud.ai/mcp"
    }
  }
}

Connect remote tools directly via Claude's Web UI:

Add custom connector BETA
Connect Claude to your data and tools. Learn more about connectors or get started with pre-built ones.
Advanced settings
Only use connectors from developers you trust. Anthropic does not control which tools developers make available and cannot verify that they will work as intended or that they won't change.

Configure custom tools directly via ChatGPT's Web UI:

New App
PNG only. Best results at 256 x 256 px or larger. Max file size: 10 KB
Custom MCP servers introduce risk. Learn more
OpenAI hasn't reviewed this MCP server. Attackers may attempt to steal your data or trick the model into taking unintended actions, including destroying data.

Add the following configuration block under mcpServers in your Antigravity configuration file (~/.gemini/config/mcp_config.json):

{
  "mcpServers": {
    // your other mcp servers
    "pharma-guard-server": {
      "serverUrl": "https://pharmaguard-6a651496-code-freaks-amrita-university-coimbatore.app.nitrocloud.ai/mcp"
    }
  }
}

Add the following configuration block to your Codex configuration file (~/.codex/config.toml):

[mcp_servers.pharma-guard-server]
url = "https://pharmaguard-6a651496-code-freaks-amrita-university-coimbatore.app.nitrocloud.ai/mcp"

Connect directly using the Server-Sent Events endpoint:

https://pharmaguard-6a651496-code-freaks-amrita-university-coimbatore.app.nitrocloud.ai/mcp
Available Tools
get_patient_profile

Retrieves full clinical profile for a patient: demographics, lab results, allergies, diagnoses, current medications, and herbal remedies

ingest_patient_record

Upload a patient record file (.txt, .csv, .pdf, .docx) or paste unstructured clinical text to extract a structured patient profile. The file is decoded, text is extracted, and Gemini LLM converts it into the same JSON format used by all PharmaGuard safety tools. The patient is stored in memory with an assigned ID for immediate use in safety checks. Supported formats: plain text, CSV, PDF (text-based), DOCX.

extract_clinical_entities

Uses LLM to parse a doctor's natural language prescription note into structured clinical entities (drug name, dosage, frequency, reason)

check_drug_drug_interaction

Checks for drug-drug interactions between the new prescription and all current medications. Uses OpenFDA API with hardcoded fallback for demo drugs.

check_drug_allergy_conflict

Checks if the new drug conflicts with any documented patient allergies via cross-reactivity lookup

check_disease_conflict

Checks if the new drug is contraindicated given the patient's diagnoses

check_age_appropriateness

Flags if drug dosing needs adjustment for pediatric (<18) or elderly (≥65) patients based on Beers Criteria guidelines

check_renal_dose_adjustment

Flags if the drug dose needs adjustment based on kidney function (creatinine clearance). Uses CKD staging thresholds.

check_pregnancy_safety

Checks the FDA pregnancy risk category for a drug. Categories: A (safe) → X (contraindicated).

check_duplicate_therapy

Checks if the new drug is in the same therapeutic class as any existing medication using RxNorm API.

find_and_rank_alternatives

Finds safer alternative medications using RxNorm and ranks them by how many safety checks they pass against the patient's profile

check_ayush_interaction

Checks for dangerous interactions between the proposed Allopathic (Western) drug and any Ayurvedic/herbal remedies the patient is currently taking. Uses a 3-tier approach: (1) Local clinical database, (2) Live PubMed research search, (3) Gemini LLM analysis of medical literature. This covers interactions that standard APIs like OpenFDA do NOT track — critical for Indian patients who frequently combine Allopathic and Ayurvedic treatments.

aggregate_risk_score

Combines all individual safety check results into one overall risk assessment with a clear verdict (safe / caution / high_risk)

generate_doctor_report

Generates a clear, concise clinical safety report for the doctor summarizing all findings, concerns, source citations, and the final recommendation. Renders a Risk Dashboard widget.