medical-mcp
About An MCP server that provides comprehensive medical information by querying multiple authoritative medical APIs including FDA, WHO, PubMed, Google Scholar, and RxNorm.
𩺠Medical MCP Server
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.
An MCP (Model Context Protocol) server that brings authoritative medical information into AI coding environments like Cursor and Claude Desktop.
Why Use Medical MCP?
- š 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-click install in Cursor or simple manual setup
- š¬ Comprehensive ā Drug info, health stats, medical literature, clinical guidelines, pediatric sources
Quick Start
Ready to bring medical intelligence into your AI workflow? Install in seconds:
Install in Cursor (Recommended):
Or install manually:
npm install -g medical-mcp
# Or from source:
git clone https://github.com/JamesANZ/medical-mcp.git
cd medical-mcp && npm install && npm run build
Features
š Drug Information
search-drugsā Search FDA database by brand or generic nameget-drug-detailsā Get comprehensive drug info by NDC codesearch-drug-nomenclatureā Standardized drug names via RxNorm
š Health Statistics
get-health-statisticsā WHO Global Health Observatory data (life expectancy, mortality, disease prevalence)
š¬ Medical Literature
search-medical-literatureā Search 30M+ PubMed articlesget-article-detailsā Detailed article info by PMIDsearch-google-scholarā Academic research with citationssearch-medical-databasesā Multi-database search (PubMed, Scholar, Cochrane, ClinicalTrials.gov)search-medical-journalsā Top journals (NEJM, JAMA, Lancet, BMJ, Nature Medicine)
š„ Clinical Tools
search-clinical-guidelinesā Practice recommendations from medical organizations
š¶ Pediatric Sources
search-pediatric-guidelinesā AAP guidelines and Bright Futures preventive caresearch-pediatric-literatureā Research from major pediatric journals (Pediatrics, JAMA Pediatrics, etc.)get-child-health-statisticsā Pediatric health indicators from WHO (mortality, immunization, nutrition)search-pediatric-drugsā Drugs with pediatric labeling and dosing informationsearch-aap-guidelinesā Comprehensive AAP guideline search (Bright Futures + Policy Statements)
š Cache Management
get-cache-statsā View cache statistics (hit rate, memory usage, entry count)
Installation
Cursor (One-Click)
Click the install link above or use:
cursor://anysphere.cursor-deeplink/mcp/install?name=medical-mcp&config=eyJtZWRpY2FsLW1jcCI6eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1lZGljYWwtbWNwIl19fQ==
Manual Installation
Requirements: Node.js 18+ and npm
# Clone and build
git clone https://github.com/JamesANZ/medical-mcp.git
cd medical-mcp
npm install
npm run build
# Run server
npm start
Claude Desktop
Add to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"medical-mcp": {
"command": "node",
"args": ["/absolute/path/to/medical-mcp/build/index.js"]
}
}
}
Restart Claude Desktop after configuration.
Usage Examples
Search for Drug Information
Ask about a medication's uses, dosage, and safety information:
{
"tool": "search-drugs",
"arguments": { "query": "Tylenol", "limit": 5 }
}
Get Health Statistics
Retrieve global health indicators like life expectancy or mortality rates:
{
"tool": "get-health-statistics",
"arguments": {
"indicator": "Life expectancy at birth (years)",
"country": "USA"
}
}
Search Medical Literature
Find peer-reviewed research articles on any medical topic:
{
"tool": "search-medical-literature",
"arguments": { "query": "COVID-19 treatment", "max_results": 10 }
}
Data Sources
| Source | Coverage | Update Frequency |
|---|---|---|
| FDA | All FDA-approved drugs (US) | Real-time |
| WHO | Global health stats (194 countries) | Annual |
| PubMed | 30M+ medical citations | Daily |
| RxNorm | Standardized drug nomenclature (US) | Weekly |
| Google Scholar | Academic papers across disciplines | Real-time |
| AAP | Bright Futures guidelines & policy statements | Periodic |
| Pediatric Journals | Major pediatric journals (Pediatrics, JAMA Pediatrics, etc.) | Daily |
Security & Privacy
- ā Localhost-only ā Server runs locally, no external access
- ā No data storage ā All queries are real-time, nothing saved
- ā Process isolation ā Medical data stays on your machine
- ā No API keys ā No credentials to manage or leak
Use Cases
- Medical Researchers ā Quick literature reviews without paywalls
- Healthcare Developers ā Build prototypes with real medical data
- Students ā Access drug information and research papers
- Clinicians ā Reference tool for drug details and health statistics
- Pediatricians ā AAP guidelines, Bright Futures, pediatric literature, and child health data
Caching
The server includes an in-memory caching layer to improve response times and reduce API calls:
- Automatic Caching: All API responses are cached with source-specific TTL policies
- TTL Policies:
- FDA data: 24 hours
- PubMed articles: 1 hour
- WHO statistics: 7 days
- RxNorm nomenclature: 30 days
- Clinical guidelines: 7 days
- Google Scholar: 1 hour
- Bright Futures: 30 days
- AAP Policy: 7 days
- Pediatric journals: 1 hour
- Child health indicators: 7 days
- Pediatric drugs: 24 hours
- Cache Management: Automatic cleanup of expired entries every 5 minutes
- LRU Eviction: Least recently used entries are evicted when cache exceeds 1000 entries
- Cache Statistics: Use
get-cache-statstool to view hit rates and memory usage
Configuration (via environment variables):
CACHE_ENABLED=true- Enable/disable caching (default: true)CACHE_MAX_SIZE=1000- Maximum cache entries (default: 1000)CACHE_TTL_FDA=86400- FDA TTL in seconds (default: 86400)CACHE_TTL_PUBMED=3600- PubMed TTL in seconds (default: 3600)CACHE_TTL_WHO=604800- WHO TTL in seconds (default: 604800)CACHE_TTL_RXNORM=2592000- RxNorm TTL in seconds (default: 2592000)CACHE_CLEANUP_INTERVAL=300000- Cleanup interval in milliseconds (default: 300000)
Performance: Cached responses typically return in <10ms vs 800-1500ms for API calls. Expected cache hit rate: 60%+ for common queries.
Technical Details
Built with: Node.js, TypeScript, MCP SDK
Dependencies: @modelcontextprotocol/sdk, superagent, puppeteer, zod
Platforms: macOS, Windows, Linux
Note: Google Scholar access uses web scraping with rate limiting. Other sources use official APIs.
Medical Disclaimer
ā ļø 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.
Contributing
ā If this project helps you, please star it on GitHub! ā
Contributions welcome! Please open an issue or submit a pull request.
License
MIT License ā see LICENSE.md for details.
Support
If you find this project useful, consider supporting it:
ā” Lightning Network
lnbc1pjhhsqepp5mjgwnvg0z53shm22hfe9us289lnaqkwv8rn2s0rtekg5vvj56xnqdqqcqzzsxqyz5vqsp5gu6vh9hyp94c7t3tkpqrp2r059t4vrw7ps78a4n0a2u52678c7yq9qyyssq7zcferywka50wcy75skjfrdrk930cuyx24rg55cwfuzxs49rc9c53mpz6zug5y2544pt8y9jflnq0ltlha26ed846jh0y7n4gm8jd3qqaautqa
āæ Bitcoin: bc1ptzvr93pn959xq4et6sqzpfnkk2args22ewv5u2th4ps7hshfaqrshe0xtp
Ī Ethereum/EVM: 0x42ea529282DDE0AA87B42d9E83316eb23FE62c3f
Server Terkait
Bright Data
sponsorDiscover, extract, and interact with the web - one interface powering automated access across the public internet.
Fetch
Fetch web content as HTML, JSON, plain text, or Markdown.
Airbnb MCP Server
Search for Airbnb listings and retrieve detailed information without an API key.
Markdown Downloader
Download webpages as markdown files using the r.jina.ai service, with configurable directories and persistent settings.
Chrome MCP Server
Exposes Chrome browser functionality to AI assistants for automation, content analysis, and semantic search via a Chrome extension.
ScrapeGraph AI
AI-powered web scraping using the ScrapeGraph AI API. Requires an API key.
Rapidproxy
Over 70M+ premium IPs via Rapidproxy - Enjoy easy data extraction, avoiding CAPTCHAs, IP blocks with 220+ locations targeting, non-expiring traffic.
anybrowse
Convert any URL to LLM-ready Markdown via real Chrome browsers. 3 tools: scrape, crawl, search. Free via MCP, pay-per-use via x402.
MCP LLMS.txt Explorer
Explore and analyze websites that have implemented the llms.txt standard.
Web Scout
An MCP server for web search and content extraction using DuckDuckGo.
MCP Deep Web Research Server
An advanced web research server with intelligent search queuing, enhanced content extraction, and deep research capabilities.