askcpg-mcp-server
v0.1.3
Published
A simple MCP server for Qmed askcpg API.
Downloads
32
Maintainers
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-serverNote: Please visit the AskCPG website to obtain your
ASKCPG_API_KEYvalues.
💬 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 keyASKCPG_BACKEND(optional): Backend server URL (defaults toqmed.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 startDevelopment 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-ai • clinical-guidelines • healthcare • mcp-server • medical-literature • evidence-based-medicine • clinical-decision-support • typescript • nodejs
📄 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
