Medical Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Medical Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that provides medical information tools powered by Grok AI. Works with Claude Desktop, Claude Code, and any other MCP-compatible client.
Disclaimer: This server is for EDUCATIONAL PURPOSES ONLY. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare professional for medical concerns.
┌──────────────────────────────────────────────────────┐
│ User / MCP Client │
│ (Claude Desktop · CLI · etc.) │
└───────────────────────┬──────────────────────────────┘
│ stdio
▼
┌──────────────────────────────────────────────────────┐
│ MCP Server (index.js) │
│ │
│ ┌─────────────────────┐ ┌──────────────────────┐ │
│ │ Local Knowledge DB │ │ Grok AI API │ │
│ │ (medications, │──▶│ (fallback for │ │
│ │ interactions, │ │ unknown queries) │ │
│ │ terminology) │ └──────────────────────┘ │
│ └─────────────────────┘ │
│ │
│ Tools: get_medication_info · check_drug_interaction │
│ define_medical_term · ask_medical_question │
└──────────────────────────────────────────────────────┘| Requirement | Version |
|---|---|
| Node.js | v18 or higher |
| Grok API Key | Free tier available |
# 1. Clone the repository
git clone https://github.com/your-username/medical-mcp-server.git
cd medical-mcp-server
# 2. Install dependencies
npm install.env filecp .env.example .envOpen .env and fill in:
GROK_API_KEY=your_grok_api_key_here
GROK_API_BASE_URL=https://api.x.ai/v1 # optional, this is the defaultGetting a Grok API key:
Run the interactive terminal client — no MCP client needed:
npm run cliExample session:
You: What is aspirin used for?
Assistant: Aspirin (Acetylsalicylic acid) is used for pain relief, fever reduction,
and as a blood thinner... [Medical Disclaimer: ...]
You: Check interactions between aspirin and ibuprofen
Assistant: ⚠️ Interaction found: Concurrent use may increase the risk of gastrointestinal
bleeding...
You: /help ← type /help to see available commands
You: /exit ← exits the clientAdd the server to your Claude Desktop config file:
Windows → %APPDATA%\Claude\claude_desktop_config.json
macOS/Linux → ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"medical": {
"command": "node",
"args": ["/absolute/path/to/medical-mcp-server/index.js"]
}
}
}Replace /absolute/path/to/medical-mcp-server/index.js with the actual path on your machine.After saving:
| Tool | Description |
|---|---|
get_medication_info | Detailed medication info — uses, dosage, side effects, warnings |
check_drug_interaction | Checks for interactions between two medications |
define_medical_term | Plain-English definitions of medical terminology |
ask_medical_question | General medical Q&A via Grok AI |
Can you get information about metformin?
Check if there are any interactions between aspirin and warfarin.
What does tachycardia mean?
What are the common symptoms of dehydration?| URI | Description |
|---|---|
medical://medications/list | Lists all medications in the built-in knowledge base |
medical://disclaimer | Full medical disclaimer text |
The server ships with pre-loaded data so common queries are answered instantly without an API call:
Medications: Aspirin · Ibuprofen · Metformin
Drug Interactions: Aspirin–Ibuprofen · Aspirin–Warfarin · Metformin–Alcohol
Medical Terms: Hypertension · Diabetes · Tachycardia · Hypotension
All other queries fall back to Grok AI automatically.
medical-mcp-server/
├── index.js # MCP server — tools, resources, Grok integration
├── cli.js # Interactive CLI client
├── package.json # Dependencies and npm scripts
├── .env.example # Environment variable template
├── .gitignore # Ignores node_modules, .env, logs
├── QUICKSTART.md # 5-minute setup guide
└── README.md # This fileAll extension points are in index.js:
Add a new medication to the knowledge base:
MEDICAL_DATA.medications["drug-name"] = {
name: "Drug Name",
generic_name: "...",
uses: [...],
dosage: "...",
side_effects: [...],
warnings: [...],
};Add a new tool:
ListToolsRequestSchema handlerCallToolRequestSchema handlerAdd a new resource:
ListResourcesRequestSchemaReadResourceRequestSchema| Problem | Solution |
|---|---|
GROK_API_KEY is not set | Check that .env exists and contains a valid key with no extra spaces or quotes |
| Server not showing in Claude Desktop | Verify the path in config is absolute and correct, then restart Claude Desktop |
| API rate limit errors | Grok API limits depend on your plan — consider caching frequent queries |
| CLI won't start | Ensure Node.js v18+ is installed (node --version) |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.