MCP Healthcare Server MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/shinegami-2002/mcp-healthcare-server.git
cd mcp-healthcare-server
pip install -e .
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add mcp-healthcare-server -- python "<FULL_PATH_TO_MCP_HEALTHCARE_SERVER>/dist/index.js"

Replace <FULL_PATH_TO_MCP_HEALTHCARE_SERVER>/dist/index.js with the actual folder you prepared in step 1.

README.md

Real-time access to drug interactions, ICD-10 codes, and clinical guidelines.

MCP Healthcare Server

An MCP (Model Context Protocol) server that gives LLMs real-time access to healthcare data — drug interactions, ICD-10 codes, FDA adverse events, Medicare statistics, and clinical guidelines.


What is MCP?

Model Context Protocol (MCP) is an open standard by Anthropic for connecting LLMs to external data sources and tools. Instead of hardcoding data into prompts, MCP lets LLMs dynamically call tools to fetch real-time information.

This server exposes 6 healthcare tools that any MCP-compatible client (Claude Desktop, Cursor, etc.) can use.


Available Tools

Tool Description Data Source
drug_interaction Check interactions between two drugs openFDA API
icd10_lookup Look up ICD-10-CM diagnosis code descriptions NLM Clinical Tables API
icd10_search Search ICD-10-CM codes by keyword NLM Clinical Tables API
fda_adverse_events Get FDA adverse event reports for a drug openFDA API
medicare_drug_statistics Medicare Part D prescribing data CMS.gov API
clinical_guidelines Search PubMed for clinical guidelines NCBI/PubMed E-utilities

All APIs are free and require no API keys.


Quick Start

Use with Claude Desktop

  1. Install the server:
git clone https://github.com/shinegami-2002/mcp-healthcare-server.git
cd mcp-healthcare-server
pip install -e .
  1. Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
  "mcpServers": {
    "healthcare": {
      "command": "python",
      "args": ["/absolute/path/to/mcp-healthcare-server/src/server.py"]
    }
  }
}
  1. Restart Claude Desktop. You'll now see healthcare tools available in the tool picker.

Use with Docker

docker build -t mcp-healthcare .
docker run mcp-healthcare

Example Output

Drug Interaction Check

> drug_interaction("warfarin", "aspirin")

## Drug Interaction: Warfarin <-> Aspirin

**Coumadin** (warfarin):
Drugs may interact with warfarin sodium through pharmacodynamic or
pharmacokinetic mechanisms. Pharmacodynamic mechanisms for drug interactions
with warfarin sodium include synergism (impaired hemostasis, reduced
clotting factor synthesis), competitive antagonism...

ICD-10 Code Lookup

> icd10_lookup("E11")

Codes matching 'E11':
- **E11.00**: Type 2 diabetes mellitus with hyperosmolarity without NKHHC
- **E11.01**: Type 2 diabetes mellitus with hyperosmolarity with coma
- **E11.10**: Type 2 diabetes mellitus with ketoacidosis without coma
- **E11.21**: Type 2 diabetes mellitus with diabetic nephropathy
- **E11.9**: Type 2 diabetes mellitus without complications

FDA Adverse Events

> fda_adverse_events("ibuprofen", 3)

## FDA Adverse Events for Ibuprofen
*Source: openFDA (fda.gov)*

**Report 1** (Date: 2014-02-28)
- Serious: No
- Reactions: Dyspepsia, Renal impairment

**Report 2** (Date: 2014-03-12)
- Serious: No
- Reactions: Cholecystectomy, Nephrolithiasis, Biliary tract disorder

Medicare Part D Statistics

> medicare_drug_statistics("Lipitor")

## Medicare Part D Statistics: Lipitor
*Source: CMS.gov (2023 data)*

- **Lipitor** (Atorvastatin Calcium) — Overall
  Total Claims (2023): 28,226
  Total Spending (2023): $32,942,704.71
  Avg Cost/Claim: $1,167.10
  Beneficiaries: 7,792

Clinical Guidelines Search

> clinical_guidelines("diabetes", 3)

## Clinical Guidelines: Diabetes
*Source: PubMed (3 results)*

**Type 1 Diabetes Mellitus and Cognitive Impairments: A Systematic Review.**
- Authors: Li W et al.
- Journal: J Alzheimers Dis
- Published: 2017
- Link: https://pubmed.ncbi.nlm.nih.gov/28222533/

Architecture

┌──────────────────────────┐
│     MCP Client           │
│  (Claude Desktop, etc.)  │
└────────┬─────────────────┘
         │ MCP Protocol (stdio)
┌────────▼─────────────────┐
│   MCP Healthcare Server  │
│   Python + FastMCP       │
│                          │
│   ┌─ drug_interaction    │──→ openFDA API
│   ├─ icd10_lookup        │──→ NLM Clinical Tables API
│   ├─ icd10_search        │──→ NLM Clinical Tables API
│   ├─ fda_adverse_events  │──→ openFDA API
│   ├─ medicare_drug_stats │──→ CMS.gov API
│   └─ clinical_guidelines │──→ PubMed E-utilities
└──────────────────────────┘

Project Structure

mcp-healthcare-server/
├── src/
│   ├── server.py                  # FastMCP server + tool definitions
│   └── tools/
│

Tools (6)

drug_interactionCheck interactions between two drugs
icd10_lookupLook up ICD-10-CM diagnosis code descriptions
icd10_searchSearch ICD-10-CM codes by keyword
fda_adverse_eventsGet FDA adverse event reports for a drug
medicare_drug_statisticsMedicare Part D prescribing data
clinical_guidelinesSearch PubMed for clinical guidelines

Configuration

claude_desktop_config.json
{"mcpServers": {"healthcare": {"command": "python", "args": ["/absolute/path/to/mcp-healthcare-server/src/server.py"]}}}

Try it

Check if there are any known drug interactions between warfarin and aspirin.
What is the ICD-10 code description for E11?
Find the latest FDA adverse event reports for ibuprofen.
Show me the Medicare Part D prescribing statistics for Lipitor.
Search PubMed for the latest clinical guidelines regarding diabetes.

Frequently Asked Questions

What are the key features of MCP Healthcare Server?

Real-time drug interaction checking via openFDA API. ICD-10-CM diagnosis code lookup and keyword search. Access to FDA adverse event reports for specific medications. Retrieval of Medicare Part D prescribing statistics. Clinical guideline search integration with PubMed.

What can I use MCP Healthcare Server for?

Assisting medical professionals in verifying potential drug-drug interactions. Quickly looking up ICD-10 billing or diagnostic codes during clinical documentation. Researching FDA safety data for pharmaceutical analysis. Reviewing Medicare prescribing trends for specific medications. Retrieving evidence-based clinical guidelines for patient care planning.

How do I install MCP Healthcare Server?

Install MCP Healthcare Server by running: git clone https://github.com/shinegami-2002/mcp-healthcare-server.git && cd mcp-healthcare-server && pip install -e .

What MCP clients work with MCP Healthcare Server?

MCP Healthcare Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep MCP Healthcare Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare