GN

gscfwid/nccn_guidelines_mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

14 stars 9 forks Качество 61 Тренд 20MIT

A Model Context Protocol (MCP) server that provides access to NCCN (National Comprehensive Cancer Network) clinical guidelines

Обзор

A Model Context Protocol (MCP) server that provides access to NCCN (National Comprehensive Cancer Network) clinical guidelines. This project follows a systematic approach to provide accurate medical guidance: 1. : Understands the clinical question or scenario 2. : Searches the NCCN index for relevant guidelines 3. : Downloads and extracts specific pages from guidelines 4. : Provides answers based on the extracted content : This system does not use RAG (Retrieval-Augmented Generation) to ensure accuracy. Instead, it reads guidelines directly, which may result in longer response times during index initialization and PDF downloading/reading, but provides more reliable and precise medical guidance.

README

Показан фрагмент оригинального README. Открыть оригинал.

🏥 NCCN Guidelines MCP Server

A Model Context Protocol (MCP) server that provides access to NCCN (National Comprehensive Cancer Network) clinical guidelines.

🔬 How It Works

This project follows a systematic approach to provide accurate medical guidance:

  1. 🧠 Problem Analysis: Understands the clinical question or scenario
  2. 📋 Guidelines Retrieval: Searches the NCCN index for relevant guidelines
  3. 📄 Page-by-Page Reading: Downloads and extracts specific pages from guidelines
  4. 🎯 Evidence-Based Response: Provides answers based on the extracted content

💡 Note: This system does not use RAG (Retrieval-Augmented Generation) to ensure accuracy. Instead, it reads guidelines directly, which may result in longer response times during index initialization and PDF downloading/reading, but provides more reliable and precise medical guidance.

✨ Features

  • 📚 Guidelines Index: Automatically fetches and maintains an up-to-date index of NCCN guidelines
  • ⬇️ PDF Download: Downloads NCCN guideline PDFs with authentication support
  • 📝 Content Extraction: Extracts specific pages from PDF documents with layout preservation
  • 🚀 Smart Caching: Index is cached for 7 days to minimize server load

🛠️ Installation

  1. Clone the repository:
git clone https://github.com/gscfwid/NCCN_guidelines_MCP
cd NCCN_guidelines_MCP
  1. Install dependencies using uv:
uv sync

⚙️ Configuration

🔧 Configure Client (Note: Supports only agents, such as Cursor, Cline, Claude desktop, etc.)

⚠️ Important: Claude desktop may warn about insufficient context length when running this MCP.

Add this to your Client configuration:

Configuration with Environment Variables

{
  "mcpServers": {
    "nccn-guidelines": {
      "command": "uv",
      "args": ["--directory", "", "run", "server.py"],
      "env": {
        "NCCN_USERNAME": "",
        "NCCN_PASSWORD": ""
      }
    }
  }
}

⚠️ Important Notes

  • 👤 NCCN Account Registration: Please note that the NCCN username and password mentioned above must be registered on the official NCCN website.
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "nccn-guidelines": { "command": "uv", "args": ["--directory", "<abslute_direction_of_NCCN_guidelines_MCP>", "run", "server.py"], "env": { "NCCN_USERNAME": "<your_nccn_username>", "NCCN_PASSWORD": "<your_nccn_password>" } } } }