
claude pytorch treehugger
MCP harness for PyTorch HUD API https://hud.pytorch.org/
Repository Info
About This Server
MCP harness for PyTorch HUD API https://hud.pytorch.org/
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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
Usage (for humans)
# Install from GitHub repository
pip install git+https://github.com/izaitsevfb/claude-pytorch-treehugger.git
claude mcp add hud pytorch-hud
Development
# Install dependencies (if not installing with pip)
pip install -r requirements.txt
# Start MCP server
python -m pytorch_hud
Key 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
Quick Start
Clone the repository
git clone https://github.com/izaitsevfb/claude-pytorch-treehuggerInstall dependencies
cd claude-pytorch-treehugger
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.