How to Use Firecrawl web search in Factory Droid
Firecrawl web search returns ranked web, news, or image results, including titles and source links. Use it to discover relevant pages for research, news briefs, or documentation questions when you do not already know the URL.
Prompts to try with Firecrawl web search in Factory Droid
Copy an example into Factory Droid, or ask in your own words.
Use Firecrawl web search to find official Next.js caching documentation relevant to the version in package.json. Return five source links and compare the returned passages with our caching code.
Use Firecrawl web search to find official React documentation about useEffect cleanup. Compare the returned passages with effects in this project and propose fixes supported by those sources.
Use Firecrawl web search to find PostgreSQL documentation about JSONB indexes. Read our migration files and produce a source-linked investigation plan for the JSON queries we use.
Use Firecrawl web search to find Stripe documentation on webhook retries and duplicate events. Compare the returned guidance with our webhook handler and list the gaps to investigate.
Use Firecrawl web search to find Playwright documentation on flaky test retries and auto-waiting. Compare the returned references with our test configuration and recommend specific changes.
How to set up Firecrawl web search in Factory Droid
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.
droid mcp add spiral https://api.spiral.ai/mcp --type http
- Sign in
Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.
- Check it
Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.
droid mcp list
Use the Spiral skill
- Send Factory Droid this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Firecrawl web search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "firecrawl", "model": "firecrawl/search", "input": { "query": "<query>" } }'
Then paste one of the prompts above: Factory Droid finds Firecrawl web search on Spiral, shows the price and runs it.
Firecrawl web search providers and prices
Spiral runs Firecrawl web search through Firecrawl. Open a card for today's price, with every fee included.
$0.00349 per 10 results. Scraping each result: $0.00175 ($0.00873 with JSON output). Each parsed PDF page: $0.00175.
Settings you can ask for
Firecrawl web search works from your query. Ask Factory Droid for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Safe | on or off | When | |
| Limit | 1 to 100 | 10 | Maximum number of results to return (per source type when using multiple sources) |
| Timeout | a whole number | 60000 | Timeout in milliseconds |
| Highlights | on or off | on | Generate query-relevant highlights for search results. Set to false to return provider descriptions or snippets without highlighting. |
| Tool detail | compact, summary, or full | compact | How much of each tool contract to return in |
| Domain tools | on or off | Include tool contracts whose provider matches the domains of the returned web results. Defaults to on when | |
| Ignore invalid URLs | on or off | off | Excludes URLs from the search results that are invalid for other Firecrawl endpoints. This helps reduce errors if you are piping data from search into other Firecrawl API endpoints. |
Every API field of Firecrawl Search · Web Search is on its tool page: open its card above.
What can you do with Firecrawl web search in Factory Droid?
Build a source-linked fix plan by finding documentation relevant to the code in your project. Firecrawl returns titles, URLs, and descriptions that help the agent select references for a migration or bug investigation.
Find documentation for a coding task
Search for Next.js caching documentation and return relevant page titles, links, and passages to compare with the project's implementation.
Prepare a company news brief
Find coverage of NVIDIA announcements, then organize the returned titles, links, and descriptions into a reading list.
Watch for product announcements
Repeat searches for Shopify product announcements and flag source URLs that were absent from earlier results.
Build a research reading list
Find pages about sodium-ion batteries and group the returned sources into research, manufacturing, and deployment topics.
Collect sources for a customer answer
Find official Stripe documentation relevant to a webhook question and prepare an answer with supporting links.
Compare public product documentation
Search the public documentation of PostgreSQL and MySQL for JSON indexing, then assemble a source list for a technical comparison.
Discover images for editorial research
Find image results for NASA's Artemis program and compile their titles and source links for review before selecting material.
Firecrawl web search success rate and speed on Spiral
Success and speed over the last 24 hours, across every run of these tools on Spiral.
| Tool | Success | Median time | Runs |
|---|---|---|---|
| Firecrawl Search · Web Search | 99.9% | 12.0s | 1,418 |
More on Firecrawl web search and Factory Droid
Firecrawl web search in other agents
Questions about Firecrawl web search in Factory Droid
Can Factory Droid use Firecrawl web search?
Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Firecrawl web search like any built-in tool.
How much does Firecrawl web search cost in Factory Droid?
$0.00349 per 10 results. Scraping each result: $0.00175 ($0.00873 with JSON output). Each parsed PDF page: $0.00175. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.
Do I need a Firecrawl account to use Firecrawl web search in Factory Droid?
No. Spiral runs Firecrawl web search on its own Firecrawl account. You sign in to Spiral once and never paste a key.
How long does it take to set up Firecrawl web search in Factory Droid?
About two minutes: add the server, then sign in, then check it.
Does Factory Droid wait while Firecrawl web search runs?
Firecrawl web search runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.
What does a Firecrawl search result contain?
Basic results include a title, URL, and description. Descriptions can contain query-relevant passages from the page when highlights are available.
How many results can one search return?
The maximum is 100 results per source type. Requesting 10 web results and 10 news results can return up to 20 results altogether.
Can I restrict results to recent coverage?
The Search feature documentation says date filtering applies to web results and does not filter news or images. For a dated news brief, use web results targeted to the news publications you want.
Does Firecrawl find every relevant page?
No. Firecrawl explicitly warns that search may miss sources or return unexpected results, so a result list cannot establish complete coverage of a topic.
Does Firecrawl verify the accuracy of returned content?
Firecrawl's terms disclaim responsibility for third-party content's accuracy and timeliness. Search results provide sources to assess, rather than a factual accuracy guarantee.
Start using Firecrawl web search in Factory Droid
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Factory Droid:
set up https://spiral.ai/SKILL.md


