MedVision MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MedVision MCP
Medical Vision AI Tools via Model Context Protocol (MCP)
Overview
MedVision MCP provides AI-powered medical image analysis tools accessible through the Model Context Protocol. It enables LLM agents (like Claude, GitHub Copilot) to analyze chest X-rays using Visual RAG (RAD-DINO + FAISS + DenseNet).
Related MCP server: medical-mcp-agent
Features
✅ DenseNet Classification: 18 pathology detection (Lung Opacity, Pneumonia, etc.)
✅ RAD-DINO Embeddings: 768-dim visual embeddings for similarity search
✅ FAISS Index: Fast similarity search for similar historical cases
✅ DICOM Support: Native DICOM file reading
✅ Gradio Canvas: Interactive ROI drawing/annotation interface
✅ ROI Analysis: Analyze specific regions drawn on X-rays
🔜 Medical SAM: SAM-based region segmentation
Quick Start
# Clone
git clone https://github.com/u9401066/medvision-mcp.git
cd medvision-mcp
# Install with uv
uv sync
# Test classification
uv run python -c "
import asyncio
from src.medvision_mcp.server import classify_xray
async def main():
result = await classify_xray('path/to/xray.dcm')
print(result)
asyncio.run(main())
"MCP Tools
Tool | Description |
| Full Visual RAG analysis (classification + similarity) |
| Quick DenseNet-121 classification (18 pathologies) |
| RAG similarity search |
| Build FAISS index from image directory |
| Load pre-built index |
| Check model loading status |
Gradio UI
Launch the interactive web UI:
# Start Gradio server
uv run python -m src.medvision_mcp.ui.app
# Open http://localhost:7860UI Tabs:
Tab | Description |
📊 Analysis | Full image analysis (classification + RAG) |
⚡ Quick Classify | Fast 18-pathology classification |
🎨 Canvas ROI | Draw ROIs and analyze specific regions |
🔧 Build Index | Create FAISS index from images |
📂 Load Index | Load pre-built index |
ℹ️ Status | Check model loading status |
Claude Desktop Configuration
Add to ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"medvision": {
"command": "uv",
"args": ["run", "--directory", "/path/to/medvision-mcp", "python", "-m", "src.medvision_mcp.server"]
}
}
}Architecture
┌─────────────────────────────────────────────────────────┐
│ MCP Client (Claude, Copilot) │
└─────────────────────────┬───────────────────────────────┘
│ stdio
┌─────────────────────────▼───────────────────────────────┐
│ MedVision MCP Server │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────────┐ │
│ │ classify │ │ search │ │ analyze │ │
│ │ _xray │ │ _similar │ │ _xray │ │
│ └─────────────┘ └─────────────┘ └─────────────────┘ │
│ │ │
│ ┌───────────────────────▼────────────────────────────┐ │
│ │ Visual RAG Engine │ │
│ │ RAD-DINO │ FAISS │ DenseNet-121 │ │
│ └────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────┘Development
# Install dev dependencies
uv sync --dev
# Run tests
uv run pytest
# Check types
uv run pyrightLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Physician-reviewed medical opinions and prescriptions for AI agents.
Image & PDF tools for AI agents: compress, convert, resize, PDF, AI vision, pipeline.
Telehealth support for Claude, Codex and Cursor: investigate cases and connect your tools.
Vision for agents: run YOLO, depth, segmentation and detection models locally or via hosted API.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceExposes DICOM operations as tools for AI agents to interact with medical imaging systems and PACS. It enables searching for studies and series, querying instance metadata, and retrieving pixel data from DICOM entities.-
- FlicenseNot gradedqualityDmaintenanceProvides medical symptom extraction, differential diagnosis generation, PubMed literature search, and abstract summarization tools for LLM agents.-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to turn detection images and health questionnaires into structured health assessments, care analysis reports, and staged rehabilitation guides through a single callable toolset.MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to perform end-to-end medical image analysis locally, from inspecting CT/MRI/X-ray studies and running containerized segmentation models like MedSAM2, TotalSegmentator, and HD-BET to refining masks, measuring volumes, and writing reports. It pairs preset or custom guideline protocols with a code-customizable viewer that renders images back to agents as annotated PNGs and to humans as interactive HTML.2Apache 2.0