Best PyTorch MCP Servers
PyTorch is an open source machine learning framework based on the Torch library, used for applications such as computer vision and natural language processing.
Why this server?
Allows cleaning of PyTorch model cache (torch hub).
AlicenseAqualityDmaintenanceMCP server for macOS disk cache management. Enables AI agents to free disk space on demand by scanning and clearing developer caches.131Sustainable Use v1.0Why this server?
Supports preparing and submitting PyTorch distributed training jobs (DDP, Accelerate, DeepSpeed) to ROMEO, handling rendezvous and GPU resource allocation.
Why this server?
Integrates with a local PyTorch interpreter to profile and optimize kernels: traces a script's top CUDA kernels by device time via torch.profiler, runs scripts repeatedly to collect their timing line (mean/std/min), and runs baseline vs. candidate interleaved to report speedup and a verdict (faster, slower, inconclusive, incorrect, invalid). Also scaffolds targets from arbitrary PyTorch functions, using their fp32 result as the correctness reference.
Why this server?
Uses PyTorch as the underlying framework for model operations, with optimizations for faster training and reduced memory usage.
AlicenseAqualityDmaintenanceProvides tools for optimizing, fine-tuning, and deploying large language models with Unsloth, enabling 2x faster training with 80% less memory through model loading, fine-tuning, text generation, and model export capabilities.68Apache 2.0Why this server?
Enables SHAP-based explainability for PyTorch neural networks using DeepExplainer, allowing SHAP values and visualizations to be computed for PyTorch models.
AlicenseAqualityCmaintenanceA lightweight, focused Model Context Protocol (MCP) server exposing SHAP model explainability as agent-callable tools with dual stdio/HTTP transports and a built-in Web GUI.6MITWhy this server?
Scans codebases for usage of PyTorch and generates EU AI Act compliance reports.
AlicenseAqualityDmaintenanceScans codebases for AI system usage and generates EU AI Act compliance reports.450 npmMITWhy this server?
Fetches official PyTorch documentation, including tensor operations and neural network modules.
AlicenseAqualityDmaintenanceEnables managing internal documentation with search and add capabilities, and fetching official documentation from 13+ popular libraries via MCP tools.69MITWhy this server?
Enables creation of distributed PyTorch training workflows with GPU resource management through Flyte's task execution capabilities.
Why this server?
Enables scanning of PyTorch checkpoint files (.pt, .pth) for malicious pickle members and other deserialization-based security threats.
AlicenseBqualityDmaintenanceModelSafetyMCP is an MCP server for scanning machine learning model artifacts for unsafe serialization, malicious model patterns, risky packaging, URL-based artifact scanning, and directory-level triage.61MIT