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

askcpg-mcp-server

v0.1.3

Published

A simple MCP server for Qmed askcpg API.

Downloads

32

Readme

AskCPG MCP Server

AskCPG MCP Server is a Model Context Protocol (MCP) server that provides seamless access to medical clinical practice guideline books through AI-powered clients. It enables healthcare professionals and developers to query and retrieve contextual information from comprehensive medical literature databases.

🔧 Installation

Install the package via npm:

npm install askcpg-mcp-server

Note: Please visit the AskCPG website to obtain your ASKCPG_API_KEY values.

💬 Example Usage

Once the server is running, you can query medical clinical practice guidelines through AI clients like Claude Desktop or other MCP-compatible applications.

Claude Desktop Configuration

Add to your Claude Desktop configuration file:

{
  "mcpServers": {
    "askcpg": {
      "command": "npx",
      "args": ["askcpg-mcp-server"],
      "env": {
        "ASKCPG_API_KEY": "<YOUR_API_TOKEN>"
      }
    }
  }
}

Direct Usage

# Set your API key
export ASKCPG_API_KEY="your_api_key_here"

# Run the server
npx askcpg-mcp-server

🛠️ Available Tools

get_cpg_context

Get context from medical clinical practice guideline books based on user query.

Parameters:

  • input_queries (string, required): User query to get the context from the medical books

Example:

// Query for diabetes management guidelines
await get_cpg_context("What are the latest guidelines for Type 2 diabetes management?")

// Query for hypertension treatment protocols
await get_cpg_context("Blood pressure targets for elderly patients with hypertension")

🚀 Features

  • Comprehensive Medical Database: Access to extensive clinical practice guideline collections
  • AI-Powered Context Retrieval: Intelligent matching of queries to relevant medical literature
  • Real-time Access: Up-to-date medical guidelines and protocols
  • Healthcare Professional Focus: Designed specifically for medical practitioners and researchers
  • Seamless Integration: Easy integration with AI clients and applications

🔑 Environment Variables

  • ASKCPG_API_KEY (required): Your AskCPG API authentication key
  • ASKCPG_BACKEND (optional): Backend server URL (defaults to qmed.askcpg.com)

📋 Development

Prerequisites

  • Node.js 18+
  • TypeScript
  • Valid AskCPG API key

Building from Source

# Clone the repository
git clone https://github.com/qmed-asia/qmed-askcpg-mcp-nodejs.git
cd qmed-askcpg-mcp-nodejs

# Install dependencies
npm install

# Build the project
npm run build

# Run the server
npm start

Development Scripts

npm run build      # Build TypeScript to JavaScript
npm run watch      # Watch mode for development
npm run inspector  # Debug with MCP inspector
npm test          # Run basic tests

🏥 Use Cases

  • Clinical Decision Support: Access evidence-based guidelines during patient care
  • Medical Research: Query comprehensive medical literature databases
  • Healthcare Education: Teaching and training with up-to-date medical protocols
  • AI-Powered Medical Apps: Integrate medical knowledge into healthcare applications
  • Telemedicine Platforms: Provide guideline-based recommendations during consultations

📚 References

AskCPG is designed to enhance healthcare delivery by providing instant access to clinical practice guidelines and medical literature through AI-powered interfaces.

For more information about the Model Context Protocol, visit: https://modelcontextprotocol.io

📩 Contact

For access credentials, API documentation, or collaboration inquiries, please contact the Qmed Asia team.

🏢 About Qmed Asia

Qmed Asia is focused on building modern healthcare technology solutions for medical professionals and institutions. Our goal is to make medical knowledge accessible, actionable, and ready for AI-powered healthcare delivery.

🏷️ Tags

medical-aiclinical-guidelineshealthcaremcp-servermedical-literatureevidence-based-medicineclinical-decision-supporttypescriptnodejs

📄 License

ISC License - see LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

🔄 Version History

  • 0.1.1 - Initial release with CPG context retrieval functionality