Hoff1610/ml-intern
๐ค HF ML Intern MCP Server
Your personal ML intern for Claude Code โ a complete suite of ML engineering tools that replicates the Hugging Face Agent's functionality.
What This Is
This is an MCP (Model Context Protocol) server deployed as a Hugging Face Space. When connected to Claude Code, it gives your agent the ability to:
- ๐ Research: Search ML papers, Hugging Face docs, and GitHub examples
- ๐ Audit Datasets: Inspect schemas, splits, and sample rows before training
- ๐ Discover: Search models, datasets, and spaces on the Hugging Face Hub
- ๐๏ธ Train: Launch fine-tuning jobs (SFT, DPO, GRPO) on HF infrastructure
- ๐ Manage Repos: List files, read configs, create branches, manage repos
- ๐ Plan: Track multi-step ML task progress
How to Connect to Claude Code
Step 1: Add the MCP Server
Edit your Claude Code MCP configuration (typically ~/.claude/mcp.json or via claude config):
{
"mcpServers": {
"hf-ml-intern": {
"url": "https://hoff1610-ml-intern.hf.space/mcp"
}
}
}Or use the Space MCP badge at huggingface.co/spaces/Hoff1610/ml-intern to auto-generate the config.
Step 2: Ensure HF_TOKEN is set
Your HF_TOKEN needs these permissions:
inference.serverless.write(for Inference Providers)- Read access to repos you want to inspect
export HF_TOKEN="hf_xxxxx"Step 3: Restart Claude Code
claudeClaude Code will auto-discover all tools from the MCP endpoint.
Tools Available
Architecture
Claude Code โ MCP Protocol โ HF ML Intern Space โ HF APIs/Hub
โ
hf_jobs (training)
datasets (audit)
Hub API (search/manage)
GitHub API (examples)Inspired By
This replicates the tooling available to the Hugging Face Agent, giving you the same research-first, data-audit-first, example-first approach to ML engineering in your personal Claude Code setup.
License
MIT โ feel free to fork and extend.
