$ timeahead.in
/ servers/pypi/env-doctor
pypi

env-doctor

Diagnose and Fix CUDA / GPU environments compatibility issues locally, in Docker, and CI/CD. CLI + MCP server available.

159 stars56/wkupdated 5d agogithub ↗
84good
▣ Overview

What it does

This server diagnoses CUDA compatibility issues — the root cause of most GPU initialization failures in PyTorch, TensorFlow, JAX, and other frameworks. It scans your driver version, CUDA toolkit, cuDNN library, and installed Python packages, then identifies mismatches (e.g., driver supports CUDA 11.8 but you have 12.4 wheels installed). It can also validate Docker GPU configurations, check compute capability for specific GPU architectures, detect Python version conflicts with AI libraries, and generate safe pip install commands. The MCP integration exposes 11 tools including full environment diagnostics, component-specific checks, CUDA installation steps, and AI model memory validation.

Who it's for

Data scientists and ML engineers troubleshooting GPU initialization errors locally or in CI/CD pipelines, and platform engineers validating GPU configurations across Docker containers and distributed training setups.

Common use cases

  • Run a full CUDA/driver/cuDNN compatibility scan in seconds before attempting a fresh PyTorch installation
  • Check if a pre-trained model fits on your GPU's available memory before downloading
  • Validate Dockerfile GPU configurations for CUDA version mismatches before building
  • Generate safe pip install commands for extension libraries (flash-attn, xformers) matching your specific driver
  • Diagnose why torch.cuda.is_available() returns False on a new GPU architecture (e.g., Blackwell)

Setup pitfalls

  • Requires filesystem and network write permissions to query driver info and optionally install CUDA — consider sandboxing or restricting to trusted contexts
  • CUDA installation via --run flag requires administrative privileges; CI/CD integration needs environment-specific handling (GitHub Actions, GitLab CI, etc.)
  • Some CUDA diagnostics rely on nvidia-smi and driver-level introspection; virtualized or WSL2 environments may report incomplete GPU state
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
43
8.6
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
83.6
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "env-doctor": {
      "command": "uvx",
      "args": [
        "env-doctor"
      ]
    }
  }
}
📈 Score historylast 27 snapshots
5/10/20266/6/2026 · 27 snapshots
⚙ Maintenance health
56/ 100 · is this project alive?
contributors (1y)4
top contributor share87%
releases (1y)19
last release23d ago
ci⚠ failing
⛁ Raw data
weekly downloads56
github stars159
forks9
open issues8
license✓ present
readme length28136 chars
last publish1d ago
last commit5d ago
last updated9h ago
install verified✓ pass · 19d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points
env-doctor — MCP Score: 84/100 | MCPScore | Timeahead