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.