PyTorch HUD MCP Server
Provides ClickHouse query integration for analytics of PyTorch CI/CD data
Provides access to PyTorch CI/CD data, job logs, and analytics
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PyTorch HUD MCP Servershow me recent failed jobs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PyTorch HUD API with MCP Support
A Python library and MCP server for interacting with the PyTorch HUD API, providing access to CI/CD data, job logs, and analytics.
Overview
This project provides tools for PyTorch CI/CD analytics including:
Data access for workflows, jobs, and test runs
Efficient log analysis for large CI logs
ClickHouse query integration for analytics
Resource utilization metrics
Related MCP server: Swarmia MCP Server
Usage (for humans)
claude mcp add hud -- $(which uvx) --from "git+https://github.com/izaitsevfb/claude-pytorch-treehugger.git" pytorch-hudDevelopment
# Install dependencies (if not installing with pip)
pip install -r requirements.txt
# Start MCP server
python -m pytorch_hudKey Features
Data Access
get_commit_summary: Basic commit info without jobsget_job_summary: Aggregated job status countsget_filtered_jobs: Jobs with filtering by status/workflow/nameget_failure_details: Failed jobs with detailed failure infoget_recent_commit_status: Status for recent commits with job statistics
Log Analysis
download_log_to_file: Download logs to local storageextract_log_patterns: Find errors, warnings, etc.extract_test_results: Parse test execution resultsfilter_log_sections: Extract specific log sectionssearch_logs: Search across multiple logs
Development
# Run tests
python -m unittest discover test
# Type checking
mypy -p pytorch_hud -p test
# Linting
ruff check pytorch_hud/ test/Documentation
CLAUDE.md: Detailed usage, code style, and implementation notes
mcp-guide.md: General MCP protocol information
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Analytics for MCP servers. Query your tool calls, first-call success, retries and schema cost.
Read-only analytics for Convex apps, queryable via MCP from Claude, Cursor, and other clients.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Blacksmith CI analytics to query workflow runs, jobs, test results, and usage metrics. It provides detailed access to CI/CD data including job logs and billing information directly through Claude.37106 npm5MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying Swarmia's Export API for engineering metrics including pull request analytics, DORA metrics, investment balance, and effort reporting through an MCP interface.8MIT
- FlicenseNot gradedqualityCmaintenanceExposes product analytics metrics from an internal data warehouse via MCP, enabling agents to query metrics, product summaries, and event breakdowns.-
- FlicenseNot gradedqualityBmaintenanceExposes Jenkins CI/CD capabilities as MCP tools, including job management, builds, pipelines, and Terraform/GCP log inspection.-