Hugging Face MCP Server
Connects agents to the Hugging Face Hub to search models, datasets, papers and Spaces and to call Gradio apps.
Claude Code
claude mcp add hf-mcp-server -t http https://huggingface.co/mcp?login
Gemini CLI
gemini mcp add -t http huggingface https://huggingface.co/mcp?login
Cursor
"huggingface": {"url":"https://huggingface.co/mcp","headers":{"Authorization":"Bearer <YOUR_HF_TOKEN>"}}
Copilot (VS Code)
"huggingface": {"url":"https://huggingface.co/mcp","headers":{"Authorization":"Bearer <YOUR_HF_TOKEN>"}}
Commands and configuration as given in the server’s documentation (Documentation). Replace placeholders such as API keys with your own values.
Hugging Face MCP Server is Hugging Face’s official server at huggingface.co/mcp.
The Hugging Face MCP server connects agents to the Hugging Face Hub to search models, datasets, papers and Spaces and to call Gradio apps. Hugging Face hosts it over remote HTTP at huggingface.co/mcp, with sign-in through OAuth (the ?login URL) or a bearer HF token. The open-source code is MIT-licensed and can be self-hosted. The steps below cover Claude Code, Gemini CLI, Cursor and Copilot in VS Code.
Built-in tools search models, datasets, Spaces and papers and query the Hub documentation, and you can add Gradio Spaces as extra tools from your HF MCP settings page.
Questions
What can the Hugging Face MCP server search?
How do I sign in to the Hugging Face MCP server?
Can I add Gradio apps as tools?
Can I self-host the Hugging Face MCP server?
Sources
Checked October 2, 2026.
Dev & code hosting
View all- GitHub MCP ServerLets agents read repos and manage issues, pull requests, Actions and security alerts on GitHub.Official
- Next DevTools MCPConnects agents to a running Next.js 16+ dev server for live errors, routes, logs and Server Actions.Official
- Postman MCP ServerConnects agents to Postman workspaces, collections, specs and environments, and generates API client code.Official
- Svelte MCPGives agents the current Svelte docs plus a static-analysis autofixer for generated Svelte code.Official
