An MCP (Model Context Protocol) server that brings authoritative medical information into AI coding environments like Cursor and Claude Desktop. - 🔒 Your Data Never Leaves – Runs 100% locally; no tracking, no logs, no cloud - 🆓 No API Keys – Works out of the box, zero configuration - 🏥 Authoritative Sources – FDA, WHO, PubMed, RxNorm, Google Scholar, AAP, pediatric journals - ⚡ Easy Setup – One
Add this skill
npx mdskills install JamesANZ/medical-mcpComprehensive medical data access with 15+ tools covering FDA, WHO, PubMed, and pediatric sources
1# 🩺 Medical MCP Server23> **Bring trusted medical data directly into your AI workflow.** A local server for private, free access to FDA, WHO, PubMed, RxNorm, and Google Scholar. No API keys. No data leaks.45An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that brings authoritative medical information into AI coding environments like Cursor and Claude Desktop.67<a href="https://glama.ai/mcp/servers/@JamesANZ/medical-mcp">8 <img width="380" height="200" src="https://glama.ai/mcp/servers/@JamesANZ/medical-mcp/badge" alt="medical-mcp MCP server" />9</a>1011[](https://archestra.ai/mcp-catalog/jamesanz__medical-mcp)1213## Why Use Medical MCP?1415- 🔒 **Your Data Never Leaves** – Runs 100% locally; no tracking, no logs, no cloud16- 🆓 **No API Keys** – Works out of the box, zero configuration17- 🏥 **Authoritative Sources** – FDA, WHO, PubMed, RxNorm, Google Scholar, AAP, pediatric journals18- ⚡ **Easy Setup** – One-click install in [Cursor](https://cursor.sh) or simple manual setup19- 🔬 **Comprehensive** – Drug info, health stats, medical literature, clinical guidelines, pediatric sources2021## Quick Start2223Ready to bring medical intelligence into your AI workflow? Install in seconds:2425**Install in Cursor (Recommended):**2627[🔗 Install in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=medical-mcp&config=eyJtZWRpY2FsLW1jcCI6eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1lZGljYWwtbWNwIl19fQ==)2829**Or install manually:**3031```bash32npm install -g medical-mcp33# Or from source:34git clone https://github.com/JamesANZ/medical-mcp.git35cd medical-mcp && npm install && npm run build36```3738## Features3940### 💊 Drug Information4142- **`search-drugs`** – Search FDA database by brand or generic name43- **`get-drug-details`** – Get comprehensive drug info by NDC code44- **`search-drug-nomenclature`** – Standardized drug names via RxNorm4546### 📊 Health Statistics4748- **`get-health-statistics`** – WHO Global Health Observatory data (life expectancy, mortality, disease prevalence)4950### 🔬 Medical Literature5152- **`search-medical-literature`** – Search 30M+ PubMed articles53- **`get-article-details`** – Detailed article info by PMID54- **`search-google-scholar`** – Academic research with citations55- **`search-medical-databases`** – Multi-database search (PubMed, Scholar, Cochrane, ClinicalTrials.gov)56- **`search-medical-journals`** – Top journals (NEJM, JAMA, Lancet, BMJ, Nature Medicine)5758### 🏥 Clinical Tools5960- **`search-clinical-guidelines`** – Practice recommendations from medical organizations6162### 👶 Pediatric Sources6364- **`search-pediatric-guidelines`** – AAP guidelines and Bright Futures preventive care65- **`search-pediatric-literature`** – Research from major pediatric journals (Pediatrics, JAMA Pediatrics, etc.)66- **`get-child-health-statistics`** – Pediatric health indicators from WHO (mortality, immunization, nutrition)67- **`search-pediatric-drugs`** – Drugs with pediatric labeling and dosing information68- **`search-aap-guidelines`** – Comprehensive AAP guideline search (Bright Futures + Policy Statements)6970### 📊 Cache Management7172- **`get-cache-stats`** – View cache statistics (hit rate, memory usage, entry count)7374## Installation7576### Cursor (One-Click)7778Click the install link above or use:7980```81cursor://anysphere.cursor-deeplink/mcp/install?name=medical-mcp&config=eyJtZWRpY2FsLW1jcCI6eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1lZGljYWwtbWNwIl19fQ==82```8384### Manual Installation8586**Requirements:** Node.js 18+ and npm8788```bash89# Clone and build90git clone https://github.com/JamesANZ/medical-mcp.git91cd medical-mcp92npm install93npm run build9495# Run server96npm start97```9899### Claude Desktop100101Add to `claude_desktop_config.json`:102103**macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`104**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`105106```json107{108 "mcpServers": {109 "medical-mcp": {110 "command": "node",111 "args": ["/absolute/path/to/medical-mcp/build/index.js"]112 }113 }114}115```116117Restart Claude Desktop after configuration.118119## Usage Examples120121### Search for Drug Information122123Ask about a medication's uses, dosage, and safety information:124125```json126{127 "tool": "search-drugs",128 "arguments": { "query": "Tylenol", "limit": 5 }129}130```131132### Get Health Statistics133134Retrieve global health indicators like life expectancy or mortality rates:135136```json137{138 "tool": "get-health-statistics",139 "arguments": {140 "indicator": "Life expectancy at birth (years)",141 "country": "USA"142 }143}144```145146### Search Medical Literature147148Find peer-reviewed research articles on any medical topic:149150```json151{152 "tool": "search-medical-literature",153 "arguments": { "query": "COVID-19 treatment", "max_results": 10 }154}155```156157## Data Sources158159| Source | Coverage | Update Frequency |160| ---------------------- | ------------------------------------------------------------ | ---------------- |161| **FDA** | All FDA-approved drugs (US) | Real-time |162| **WHO** | Global health stats (194 countries) | Annual |163| **PubMed** | 30M+ medical citations | Daily |164| **RxNorm** | Standardized drug nomenclature (US) | Weekly |165| **Google Scholar** | Academic papers across disciplines | Real-time |166| **AAP** | Bright Futures guidelines & policy statements | Periodic |167| **Pediatric Journals** | Major pediatric journals (Pediatrics, JAMA Pediatrics, etc.) | Daily |168169## Security & Privacy170171- ✅ **Localhost-only** – Server runs locally, no external access172- ✅ **No data storage** – All queries are real-time, nothing saved173- ✅ **Process isolation** – Medical data stays on your machine174- ✅ **No API keys** – No credentials to manage or leak175176## Use Cases177178- **Medical Researchers** – Quick literature reviews without paywalls179- **Healthcare Developers** – Build prototypes with real medical data180- **Students** – Access drug information and research papers181- **Clinicians** – Reference tool for drug details and health statistics182- **Pediatricians** – AAP guidelines, Bright Futures, pediatric literature, and child health data183184## Caching185186The server includes an in-memory caching layer to improve response times and reduce API calls:187188- **Automatic Caching**: All API responses are cached with source-specific TTL policies189- **TTL Policies**:190 - FDA data: 24 hours191 - PubMed articles: 1 hour192 - WHO statistics: 7 days193 - RxNorm nomenclature: 30 days194 - Clinical guidelines: 7 days195 - Google Scholar: 1 hour196 - Bright Futures: 30 days197 - AAP Policy: 7 days198 - Pediatric journals: 1 hour199 - Child health indicators: 7 days200 - Pediatric drugs: 24 hours201- **Cache Management**: Automatic cleanup of expired entries every 5 minutes202- **LRU Eviction**: Least recently used entries are evicted when cache exceeds 1000 entries203- **Cache Statistics**: Use `get-cache-stats` tool to view hit rates and memory usage204205**Configuration** (via environment variables):206207- `CACHE_ENABLED=true` - Enable/disable caching (default: true)208- `CACHE_MAX_SIZE=1000` - Maximum cache entries (default: 1000)209- `CACHE_TTL_FDA=86400` - FDA TTL in seconds (default: 86400)210- `CACHE_TTL_PUBMED=3600` - PubMed TTL in seconds (default: 3600)211- `CACHE_TTL_WHO=604800` - WHO TTL in seconds (default: 604800)212- `CACHE_TTL_RXNORM=2592000` - RxNorm TTL in seconds (default: 2592000)213- `CACHE_CLEANUP_INTERVAL=300000` - Cleanup interval in milliseconds (default: 300000)214215**Performance**: Cached responses typically return in <10ms vs 800-1500ms for API calls. Expected cache hit rate: 60%+ for common queries.216217## Technical Details218219**Built with:** Node.js, TypeScript, MCP SDK220**Dependencies:** `@modelcontextprotocol/sdk`, `superagent`, `puppeteer`, `zod`221**Platforms:** macOS, Windows, Linux222223**Note:** Google Scholar access uses web scraping with rate limiting. Other sources use official APIs.224225## Medical Disclaimer226227⚠️ **Important**: This tool provides information from authoritative sources but should **not** replace professional medical advice, diagnosis, or treatment. Always consult qualified healthcare professionals for medical decisions.228229## Contributing230231⭐ **If this project helps you, please star it on GitHub!** ⭐232233Contributions welcome! Please open an issue or submit a pull request.234235## License236237MIT License – see [LICENSE.md](LICENSE.md) for details.238239## Support240241If you find this project useful, consider supporting it:242243**⚡ Lightning Network**244245```246lnbc1pjhhsqepp5mjgwnvg0z53shm22hfe9us289lnaqkwv8rn2s0rtekg5vvj56xnqdqqcqzzsxqyz5vqsp5gu6vh9hyp94c7t3tkpqrp2r059t4vrw7ps78a4n0a2u52678c7yq9qyyssq7zcferywka50wcy75skjfrdrk930cuyx24rg55cwfuzxs49rc9c53mpz6zug5y2544pt8y9jflnq0ltlha26ed846jh0y7n4gm8jd3qqaautqa247```248249**₿ Bitcoin**: [bc1ptzvr93pn959xq4et6sqzpfnkk2args22ewv5u2th4ps7hshfaqrshe0xtp](https://mempool.space/address/bc1ptzvr93pn959xq4et6sqzpfnkk2args22ewv5u2th4ps7hshfaqrshe0xtp)250251**Ξ Ethereum/EVM**: [0x42ea529282DDE0AA87B42d9E83316eb23FE62c3f](https://etherscan.io/address/0x42ea529282DDE0AA87B42d9E83316eb23FE62c3f)252
Full transparency — inspect the skill content before installing.