npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/ezhou89-medical-research-mcp-suite

v1.0.0

Published

AI-Enhanced Medical Research API unifying ClinicalTrials.gov, PubMed, and FDA databases with intelligent cross-database analysis and MCP server support

Downloads

76

Readme

🏥 Medical Research MCP Suite

AI-Enhanced Medical Research API unifying ClinicalTrials.gov, PubMed, and FDA databases with intelligent cross-database analysis.

License: MIT Node.js Version TypeScript MCP Compatible

🌟 Features

Multi-API Integration

  • 🔬 ClinicalTrials.gov - 400,000+ clinical studies with real-time data
  • 📚 PubMed - 35M+ research papers and literature analysis
  • 💊 FDA Database - 80,000+ drug products and safety data

🔥 AI-Enhanced Capabilities

  • Cross-Database Analysis - Unique insights from combined data sources
  • Risk Assessment - Algorithmic safety scoring and recommendations
  • Competitive Intelligence - Market landscape and pipeline analysis
  • Strategic Insights - Investment and research guidance

🏢 Enterprise Architecture

  • Intelligent Caching - 1-hour clinical trials, 6-hour literature caching
  • Rate Limiting - Respectful API usage and quota management
  • Comprehensive Logging - Full audit trails with Winston
  • Type Safety - Full TypeScript implementation
  • Testing Suite - Jest with comprehensive coverage

🚀 Quick Start

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

git clone https://github.com/eugenezhou/medical-research-mcp-suite.git
cd medical-research-mcp-suite
npm install
cp .env.example .env
npm run build

Usage Options

1. MCP Server (Claude Desktop Integration)

npm run dev

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "medical-research": {
      "command": "node",
      "args": ["/path/to/medical-research-mcp-suite/dist/index.js"]
    }
  }
}

2. Web API Server

npm run web
# Visit http://localhost:3000

3. Test the System

npm test
./test-mcp.sh

📊 API Examples

Comprehensive Drug Analysis (🔥 The Magic!)

// Cross-database analysis combining trials + literature + FDA data
const analysis = await comprehensiveAnalysis({
  drugName: "pembrolizumab",
  condition: "lung cancer", 
  analysisDepth: "comprehensive"
});

// Returns:
// - Risk assessment scoring
// - Market opportunity analysis  
// - Competitive landscape
// - Strategic recommendations

Clinical Trials Search

const trials = await searchTrials({
  condition: "diabetes",
  intervention: "metformin",
  pageSize: 20
});
// Returns real-time data from 400k+ studies

FDA Drug Safety Analysis

const safety = await drugSafetyProfile({
  drugName: "metformin",
  includeTrials: true,
  includeFDA: true
});
// Returns comprehensive safety analysis

🛠 Available Tools

Single API Tools

  • ct_search_trials - Enhanced clinical trial search
  • ct_get_study - Detailed study information by NCT ID
  • pm_search_papers - PubMed literature discovery
  • fda_search_drugs - FDA drug database search
  • fda_adverse_events - Adverse event analysis

Cross-API Intelligence Tools (🔥 Unique Value)

  • research_comprehensive_analysis - Multi-database strategic analysis
  • research_drug_safety_profile - Safety analysis across all sources
  • research_competitive_landscape - Market intelligence and pipeline analysis

🏢 Enterprise Value Proposition

What would take medical researchers HOURS → completed in SECONDS:

| Traditional Approach | With MCP Suite | |---------------------|----------------| | ⏰ 4+ hours manual research | ⚡ 30 seconds automated | | 📊 Single database queries | 🔄 Cross-database correlation | | 📝 Manual data compilation | 🤖 AI-enhanced insights | | 💭 Subjective risk assessment | 📈 Algorithmic scoring | | 🔍 Limited competitive view | 🌐 Complete market landscape |

ROI Calculation: Save 20+ research hours per analysis = $2,000+ in consultant time

🔧 Configuration

Environment Setup


# Performance tuning
CACHE_TTL=3600000
MAX_CONCURRENT_REQUESTS=10

Claude Desktop Integration

{
  "mcpServers": {
    "medical-research": {
      "command": "node",
      "args": ["/Users/eugenezhou/Code/medical-research-mcp-suite/dist/index.js"],
      "env": {
        "PUBMED_API_KEY": "your_key_here",
        "FDA_API_KEY": "your_key_here"
      }
    }
  }
}

📈 Performance & Reliability

  • ⚡ Sub-second responses with intelligent caching
  • 🔄 99.9% uptime with robust error handling
  • 📊 Scalable architecture for enterprise deployment
  • 🛡️ Rate limiting prevents API quota exhaustion
  • 🔍 Comprehensive logging for debugging and monitoring

🧪 Testing

# Run full test suite
npm test

# Test individual components
npm run test:clinical-trials
npm run test:pubmed  
npm run test:fda

# Integration testing
npm run test:integration

# Quick MCP test
./test-mcp.sh

🚀 Deployment

Railway (Recommended)

npm install -g @railway/cli
railway login
railway init
railway up

Docker

docker build -t medical-research-api .
docker run -p 3000:3000 medical-research-api

Manual Deployment

Works on any Node.js hosting platform:

  • Render
  • DigitalOcean App Platform
  • AWS ECS/Fargate
  • Google Cloud Run

📚 Documentation

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🛣️ Roadmap

Near Term (1-3 months)

  • [ ] WHO International Clinical Trials Registry integration
  • [ ] European Medicines Agency (EMA) database support
  • [ ] Advanced NLP for literature analysis
  • [ ] Real-time safety signal detection

Medium Term (3-6 months)

  • [ ] Machine learning models for trial success prediction
  • [ ] Integration with electronic health records
  • [ ] Patient recruitment optimization tools
  • [ ] Regulatory timeline prediction

Long Term (6+ months)

  • [ ] Global regulatory database integration
  • [ ] AI-powered drug discovery insights
  • [ ] Personalized medicine recommendations
  • [ ] Integration with pharmaceutical R&D workflows