claudeers.
// DevOps & CI/CD

hf-claude

Launch Claude Code with Hugging Face Inference Providers

// DevOps & CI/CD[ cli ][ claude ]#claude#devops$open-sourceupdated about 2 months ago
Actively maintained
97/100
last commit 10 days ago
last release none
releases 0
open issues 1
// star history

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up hf-claude (git-clone project) into my current project.
Found on https://claudeers.com/hf-claude
Repo: https://github.com/huggingface/hf-claude
Homepage/docs: —
Detected install method: git-clone → git clone https://github.com/huggingface/hf-claude
Category: devops. Platforms: cli.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or clone
git clone https://github.com/huggingface/hf-claude

// compatibility

Platformscli
Operating systems
AI compatibilityclaude
License
Pricingopen-source
LanguageShell

hf-claude

extension for hf to launch Claude Code with Hugging Face Inference Providers

It lets you pick:

  • model (from https://router.huggingface.co/v1/models)
  • provider (auto or a concrete provider for the selected model)

Then it runs claude --model <model[:provider]> with the required env vars preconfigured.

Requirements

  • Claude Code CLI installed
  • curl, jq, bash
  • fzf (optional) — enables fuzzy model/provider search; without it the launcher falls back to an arrow-key menu (↑/↓ to move, Enter to select)
  • A Hugging Face token, via either:
curl -LsSf https://hf.co/cli/install.sh | bash
hf auth login        
# or
export HF_TOKEN='hf_...'

Install

hf extensions install hf-claude
# add --force to reinstall the extension

Run

hf claude
# or
hf extensions exec claude

Forward extra args to Claude Code:

hf claude --help
hf extensions exec claude -- --help

Billing to an organization

To bill inference usage to a Hugging Face organization instead of your personal account, pass --bill-to (you must have Write privileges in the org):

hf claude --bill-to your-org-name

This sets the router's X-HF-Bill-To header (via ANTHROPIC_CUSTOM_HEADERS) on every request. You can also set it via the HF_BILL_TO environment variable:

export HF_BILL_TO=your-org-name
hf claude

// faq

What is hf-claude?

Launch Claude Code with Hugging Face Inference Providers. It is open-source on GitHub.

Is hf-claude free to use?

hf-claude is open-source, so it is free to use.

What category does hf-claude belong to?

hf-claude is listed under devops in the Claudeers registry of Claude-compatible tools.

4 views
16 stars
unclaimed
updated about 2 months ago

// embed badge

hf-claude on Claudeers
[![Claudeers](https://claudeers.com/api/badge/hf-claude.svg)](https://claudeers.com/hf-claude)

// retro hit counter

hf-claude hit counter
[![Hits](https://claudeers.com/api/counter/hf-claude.svg)](https://claudeers.com/hf-claude)

// reviews

// guestbook

0/500

// related in DevOps & CI/CD

🔓

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI…

// devopssansan0/Python61,486GPL-3.0[ claude ]
🔓

Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic.

// devopsmusistudio/TypeScript36,683MIT[ claude ]
🔓

Professional Antigravity Account Manager & Switcher. One-click seamless account switching for Antigravity Tools. Built with Tauri v2 + React (Rust).专业的 Antig…

// devopslbjlaq/Rust30,371NOASSERTION[ claude ]
→ see how hf-claude connects across the ecosystem