Skip to main content
Glama

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.

66 open-source servers · 0 connectors · pytorch.org ↗

Connectors

Hosted endpoints you add to Claude, ChatGPT or any other MCP client by URL – nothing to install.

No PyTorch connector yet. Self-host one of the servers below, or submit one.

Open-source servers

Code you run yourself, locally or on your own infrastructure.

Built for PyTorch (9)

  • Why this server?

    Enables SHAP-based explainability for PyTorch neural networks using DeepExplainer, allowing SHAP values and visualizations to be computed for PyTorch models.

    A
    license
    A
    quality
    C
    maintenance
    A 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.
    6
    MIT
  • Why this server?

    Provides tools for estimating runtime, peak memory, and OOM risk for PyTorch models and training steps by parsing nn.Module objects and running micro-pilot probes.

    A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to estimate wall-clock runtime, peak memory footprint, OOM risk, and optimal batching before launching ML training or inference jobs, and to log completed runs for continuous calibration. It exposes just two ultra-compact tools so estimation fits in under 200 tokens of agent context.
    Apache 2.0
  • Why this server?

    Allows to visualize PyTorch neural network architectures by generating architecture diagrams using VisualTorch, supporting various styles like graph, flow, and lenet, with customizable rendering options.

  • Why this server?

    Allows monitoring and tuning PyTorch neural network training loops, providing tools to observe metrics, detect anomalies, and adjust hyperparameters with guardrails.

  • Why this server?

    Provides tools for comparing PyTorch Dynamo compiler runs and inspecting the compiler evidence behind differences, including completed compilations, recompilations, failures, graph breaks, limits, and unmatched functions.

    A
    license
    Not graded
    quality
    B
    maintenance
    Enables comparing two recorded PyTorch Dynamo runs and inspecting compiler evidence behind differences via CLI, MCP tools, and a VS Code extension.
    MIT
  • Why this server?

    Provides tools for inspecting, localizing, editing, and evaluating PyTorch model weights without training, including activation patching, circuit discovery, weight-editing operations, and gated evaluation of proposed edits.

    A
    license
    Not graded
    quality
    C
    maintenance
    Enables an LLM overseer or script to inspect, localize, edit, and judge a PyTorch model's weights in place without training, exposing sliced weight reads, activation and edge patching, circuit discovery, and a range of head/MLP/matrix editing ops. Free screening plus a charged propose-and-verdict loop, backed by a hash-chained ledger and optional mid-training hooks, keeps edits gated by automated acceptance criteria.
    MIT
  • Why this server?

    Provides tools for searching PyTorch documentation, extracting code examples, troubleshooting issues, generating training code templates, inspecting runtime environment, and analyzing stack traces, enabling AI agents to assist with PyTorch development.

  • Why this server?

    Provides analysis of performance data collected by the Ascend PyTorch Profiler, enabling identification of bottlenecks, operator-level timing, communication overhead, and trace queries for PyTorch workloads on Ascend NPUs.

    F
    license
    Not graded
    quality
    C
    maintenance
    MCP server for analyzing Ascend PyTorch Profiler performance data. Enables users to identify performance bottlenecks, analyze operator time, view communication overhead, and query trace data via natural language.
    -
  • Why this server?

    Provides a RAG knowledge retrieval and question answering system over PyTorch official documentation, enabling semantic search for API topics and generating cited answers.

Multi-platform servers that include PyTorch (57)

  • cacheout-mcpcacheout-app · integrates 22 services

    Allows cleaning of PyTorch model cache (torch hub).

  • RunPod MCP Serverrunpod · integrates 6 services

    Enables deployment of pods with PyTorch images, allowing users to specify PyTorch-based container environments.

  • Ingeroingero-io · integrates 5 services

    Provides diagnostic capabilities specifically for PyTorch workloads, identifying bottlenecks in the forward pass, data movement, and the caching allocator.

  • Novita MCP Servernovitalabs · integrates 5 services

    Supports deployment of GPU instances using PyTorch/CUDA images as part of the Novita AI platform resource management capabilities.

  • CHECK-MODULE MCP Servermuhammedehab35 · integrates 12 services

    Fetches official PyTorch documentation, including tensor operations and neural network modules.

  • Unsloth MCP ServerOtotaO · integrates 7 services

    Uses PyTorch as the underlying framework for model operations, with optimizations for faster training and reduced memory usage.

  • DevDocs MCP Serverelblanco2 · integrates 34 services

    Provides access to PyTorch documentation through DevDocs.io, enabling search and retrieval of PyTorch library documentation content.

  • Homelab MCP Serverwashyu · integrates 26 services

    Supports PyTorch model format for Hailo-8 AI accelerator inference workloads.

  • Model Safety MCPitsalissonsilva · integrates 4 services

    Enables scanning of PyTorch checkpoint files (.pt, .pth) for malicious pickle members and other deserialization-based security threats.

  • ROMEO MCPGotman08 · integrates 3 services

    Supports preparing and submitting PyTorch distributed training jobs (DDP, Accelerate, DeepSpeed) to ROMEO, handling rendezvous and GPU resource allocation.

  • flyte-mcpatoolz · integrates 2 services

    Enables creation of distributed PyTorch training workflows with GPU resource management through Flyte's task execution capabilities.

  • gridwork-aiactthegridwork · integrates 6 services

    Scans codebases for usage of PyTorch and generates EU AI Act compliance reports.

  • hotkernelxinhuagu · integrates 2 services

    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.

  • flamavortico · integrates 6 services

    Supports packaging PyTorch models into portable .flm artifacts and serving them through Flama's HTTP API and MCP tooling.

  • flameoxmorluto · integrates 3 services

    Enables agents to analyze PyTorch profiler traces, including operator-level CPU/GPU time and memory usage.

  • AWS Deep Learning Containers MCP Serveraws-samples · integrates 2 services

    Supports discovering PyTorch Deep Learning Containers images, provides framework-specific best practices and optimization tips for training and inference.

  • RunPod MCP Serverantonioevans · integrates 2 services

    Enables management of RunPod cloud infrastructure including GPU pods (with PyTorch container support), serverless endpoints, templates, network volumes, and container registry authentications through the RunPod REST API.

  • neurarch-mcpneurarch-ai · integrates 2 services

    Analyzes PyTorch neural network designs from self-contained .py files or traced graphs, extracting layers, hyperparameters, shapes, parameters, and MACs, and runs validation, linting, cost checks, and design ranking before training.

  • RunPod MCP ServerNiel-RunPod · integrates 5 services

    Enables deployment and management of PyTorch environments through RunPod, supporting container images like runpod/pytorch for AI/ML workloads.

  • jlab-mcpkdkyum · integrates 4 services

    Supports GPU-accelerated computing workloads by facilitating the use of PyTorch on compute nodes allocated via job schedulers.

  • Archearche-project · integrates 22 services

    Includes PyTorch (CPU) in the catalog for training and running models locally without internet.