How to connect Hugging Face to Cursor
Add the Firecrawl MCP server to Cursor once and it can call the Hugging Face API and every other provider in Firecrawl Alexandria, with no Hugging Face integration code.
To connect Hugging Face to Cursor, add the Firecrawl MCP server to Cursor, sign in on a Firecrawl team with Alexandria enabled, and ask for Hugging Face data in plain language. The connection works in Cursor's agent and chat, and you set it up once.
Cursor uses Hugging Face as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for Hugging Face.
Cursor is an AI code editor. Its agent uses MCP servers for outside tools, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.
How do I connect Hugging Face to Cursor?
Install the Firecrawl MCP server
Open the install dialog in Cursor, check that the URL is Firecrawl's hosted server, then select Install.

Connect your Firecrawl account
Use the server's sign-in option in Cursor's MCP settings. Firecrawl opens in your browser: sign in, choose a team with Alexandria enabled, and approve access. A green dot next to Firecrawl means it's connected.

Ask Cursor's agent for the data
In the agent chat, ask in plain language and mention Hugging Face or Firecrawl Alexandria. The agent finds the Hugging Face capability that fits and runs it. For example:
Use Firecrawl to answer this: What license is meta-llama/Llama-3.1-8B-Instruct under, how many downloads does it have, and is it gated?
What can Cursor do with Hugging Face?
Search Hugging Face models and datasets, inspect repository metadata, and read public model and dataset cards.
Cursor can run any of Hugging Face's 5 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.
- Card: The README model or dataset card of one repository at a revision: raw YAML front matter, markdown body, section headings, word count and the Hub's parsed card data, plus license and gating. Works for gated repositories; `has_card` is false when the repository has no README. Costs 5 Firecrawl credits per call.
- Dataset: One dataset repository: canonical id, author, license(s), task categories, languages, size categories, 30-day and all-time downloads, likes, gating, tags, description, citation, file list, configs, dataset_info (features and splits) and the parsed dataset-card front matter. Costs 5 Firecrawl credits per call.
- Datasets: Search and list datasets by free text, author, task category, language, license, size category and tags, sorted by downloads, likes, trending, last modified or created; up to 100 per page with an opaque cursor. Each result carries license, downloads, likes, task categories, size and gating. Costs 5 Firecrawl credits per call.
- Model: One model repository: canonical id, author, license(s), pipeline tag, library, 30-day and all-time downloads, likes, trending score, gating, tags, languages, base models, training datasets, file list, safetensors parameter counts, config architecture, inference providers and the parsed model-card front matter. Costs 5 Firecrawl credits per call.
- Models: Search and list models by free text, author, task (pipeline tag), library, language, license and tags, sorted by downloads, likes, trending, last modified or created; up to 100 per page with an opaque cursor for the next page. Each result carries license, downloads, likes, gating and tags. Costs 5 Firecrawl credits per call.
What should I ask Cursor?
Name Hugging Face or Firecrawl Alexandria in the prompt so Cursor reaches for it. Each example opens in Cursor with the prompt filled in.
- Use Firecrawl to answer this: What license is meta-llama/Llama-3.1-8B-Instruct under, how many downloads does it have, and is it gated?
- Use Firecrawl to list the 10 most-downloaded question-answering datasets on Hugging Face, including their licenses and size categories.
- Use Firecrawl to list the five most-liked MIT-licensed French transformers models and read the model card of the top result.
- Use Firecrawl to read the Hugging Face dataset card for stanfordnlp/imdb and report its task categories, language, license and documented splits.
Troubleshooting
Why can't Cursor find Hugging Face?
If Firecrawl's tools in Cursor stop at search, scrape and parse, the connection is keyless and doesn't include Alexandria. Finish the sign-in from Cursor's MCP settings, or add an API key from a team with Alexandria enabled.
Firecrawl shows a red dot in Cursor. What should I do?
Open Cursor's MCP settings, sign in to Firecrawl again, and restart the agent chat so it loads the tools.
Use Hugging Face in other AI apps
The same Firecrawl account reaches Hugging Face from other AI apps. Pick one for its setup steps:
Other data providers you can connect to Cursor
Frequently Asked Questions
What is Firecrawl?
Firecrawl is the web data API to search, scrape and interact with the web at scale. It turns websites into clean, LLM-ready data for AI agents and apps. The Firecrawl MCP server brings those tools into Cursor, along with every data provider in Firecrawl Alexandria.
What is Firecrawl Alexandria?
Firecrawl Alexandria is Firecrawl's library of 550+ data providers for AI agents, Hugging Face among them. Each provider returns structured data through documented capabilities. Cursor finds the capability that fits your question and calls it through the Firecrawl MCP server, so you don't write any integration code. Alexandria needs a Firecrawl account signed in on a team with Alexandria enabled, or an API key from such a team; keyless connections don't include it.
Is there a Hugging Face MCP server for Cursor?
Cursor reaches Hugging Face through Firecrawl's hosted MCP server, which serves Hugging Face and every other Alexandria provider as tools. Add the Firecrawl MCP server once and you don't install or host a separate MCP server for Hugging Face.
What does connecting Hugging Face to Cursor unlock?
Cursor can run all 5 of Hugging Face's capabilities, including Card, Dataset and Datasets, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to answer this: What license is meta-llama/Llama-3.1-8B-Instruct under, how many downloads does it have, and is it gated?" In the same conversation, Cursor can combine Hugging Face with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.
Do I need my own Hugging Face account or API key to use it in Cursor?
No. Cursor calls Hugging Face through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate Hugging Face account or API key.
How much does it cost to use Hugging Face in Cursor?
Each Hugging Face call costs 5 Firecrawl credits. The capability list on this page shows each price and its unit. The credits come from the Firecrawl team you connect to Cursor, and finding the right capability is free.
Can Cursor use other providers besides Hugging Face?
Yes. The same Firecrawl MCP server reaches every provider in Firecrawl Alexandria, along with Firecrawl's web search and scraping, so you connect once.
Can I use Hugging Face in other AI apps?
Yes. Connect Firecrawl to ChatGPT, Claude, Grok Bot, Muse signed in on a Firecrawl team with Alexandria enabled, or use the Firecrawl MCP server, CLI or API with an API key from that team, and the same Hugging Face capabilities are available there. Keyless connections don't include Alexandria.