# Hugging Face MCP tools for AI agents

Source: https://corespeed.io/catalog/hugging-face

Connect Hugging Face to Claude Code, Codex, Cursor or any MCP agent through CoreSpeed. Search and inspect models, datasets and Spaces on the Hugging Face Hub; browse repo files, refs and commits; read and write repo discussions and pull-request threads; create and rename repos; and manage collections. Your agent works through your own Hugging Face account and gets 26 Hugging Face tools; CoreSpeed holds the credential, so the agent never sees the token. Calling it is free.

## Tools

- `hugging-face__whoami`: Fetch the connected Hugging Face account (username, full name, orgs) and what the token is allowed to do.
- `hugging-face__list_models`: Search the Hub's models. Private models appear only for the connected account's namespaces.
- `hugging-face__get_model`: Fetch one model repo: tags, pipeline, library, downloads, likes, files and config.
- `hugging-face__list_datasets`: Search the Hub's datasets.
- `hugging-face__get_dataset`: Fetch one dataset repo: tags, size, configs, splits, downloads and likes.
- `hugging-face__list_spaces`: Search the Hub's Spaces.
- `hugging-face__get_space`: Fetch one Space: its SDK, hardware, runtime stage and repo metadata.
- `hugging-face__list_repo_files`: List one page of files and folders in a repo at one revision. Returns {items, next_cursor}; pass next_cursor as cursor with the same repo, revision, path and filters to continue. A null next_cursor marks the last page. Pass path to descend into a folder.
- `hugging-face__list_repo_refs`: List a repo's branches, tags and (optionally) PR refs.
- `hugging-face__list_repo_commits`: List a repo's commits on one revision, newest first.
- `hugging-face__create_repo`: Create a model, dataset or Space repo. Omit organization to create it under the connected user. A Space also requires sdk.
- `hugging-face__move_repo`: Move or rename a repo. fromRepo and toRepo are full `namespace/name` ids.
- `hugging-face__update_repo_settings`: Change a repo's visibility, discussion availability or gating. Only the fields you pass change.
- `hugging-face__list_discussions`: List a repo's discussions and pull requests, filterable by status, author and type.
- `hugging-face__get_discussion`: Fetch one discussion or pull request with its full comment thread.
- `hugging-face__create_discussion`: Open a discussion on a repo, or a pull request when pullRequest is true.
- `hugging-face__comment_on_discussion`: Post a comment on a discussion or pull request.
- `hugging-face__change_discussion_status`: Open or close a discussion or pull request, optionally leaving a comment with the change.
- `hugging-face__change_discussion_title`: Rename a discussion or pull request.
- `hugging-face__list_collections`: List one page of collections, filterable by owner, by a contained item, or by a free-text query. Returns {items, next_cursor}; pass next_cursor as cursor with the same filters to continue. A null next_cursor marks the last page.
- `hugging-face__get_collection`: Fetch one collection and the items in it.
- `hugging-face__create_collection`: Create a collection under a user or organization namespace.
- `hugging-face__add_collection_item`: Add a model, dataset, Space, paper or collection to a collection.
- `hugging-face__get_user_overview`: Fetch a Hub user's public overview: counts of models, datasets, Spaces and discussions.
- `hugging-face__list_trending`: List what is currently trending on the Hub.
- `hugging-face__search_papers`: Hybrid semantic and full-text search over the papers indexed on the Hub.

## Questions

### Does Hugging Face need my own account?

Yes. Connect your own Hugging Face account once; CoreSpeed holds the credential, and your agents get tools, never the token.

### What does Hugging Face cost on CoreSpeed?

Calling it is free.

### Which agents can use Hugging Face?

Any MCP client, such as Claude Code, Codex, or Cursor. Give your agent the setup line, and the tools join its tool list. Set up an agent: https://corespeed.io/docs/mcp

## Related pages

- [Hugging Face for Claude Code, Codex, and Cursor](https://corespeed.io/integrations/hugging-face): Search Hugging Face models, datasets, Spaces and papers from your agent, and read a repo's files, commits and discussions.

## Links

- Catalog: https://corespeed.io/catalog
- Set up an agent: https://corespeed.io/SKILL.md
- Pricing: https://corespeed.io/pricing (Markdown: https://corespeed.io/pricing.md)
