Spiral gives your agent every tool with one account. Browse the tools →

Grok Build · Web

How to Use Firecrawl web search in Grok Build

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 Grok Build

Copy an example into Grok Build, 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.

Firecrawl web searchGrok Build
Try asking
  • 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 Grok Build

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. 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: Grok Build 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.

FirecrawlWeb

Settings you can ask for

Firecrawl web search works from your query. Ask Grok Build for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Safeon or off

When true, filters explicit content from search results (SafeSearch). Omit to keep the default behavior, which does not apply the filter.

Limit1 to 10010

Maximum number of results to return (per source type when using multiple sources)

Timeouta whole number60000

Timeout in milliseconds

Highlightson or offon

Generate query-relevant highlights for search results. Set to false to return provider descriptions or snippets without highlighting.

Tool detailcompact, summary, or fullcompact

How much of each tool contract to return in data.tools. compact returns only provider, capability, and description. summary returns the full tool entry without options and response. full also returns options, response, and examples.

Domain toolson or off

Include tool contracts whose provider matches the domains of the returned web results. Defaults to on when alexandria is among the sources; set false to disable, or true alone to add domain-matched tools beside ordinary web results. Free.

Ignore invalid URLson or offoff

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 Grok Build?

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.

Success rate
99.9%
Fastest median run time
12.0s
Runs, last 24 hours
1,429
ToolSuccessMedian timeRuns
Firecrawl Search · Web Search99.9%12.0s1,429

Questions about Firecrawl web search in Grok Build

Can Grok Build use Firecrawl web search?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run Firecrawl web search like any built-in tool.

How much does Firecrawl web search cost in Grok Build?

$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 Grok Build plan is separate.

Do I need a Firecrawl account to use Firecrawl web search in Grok Build?

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 Grok Build?

About two minutes: add the server, then sign in, then check it.

Does Grok Build wait while Firecrawl web search runs?

Firecrawl web search runs in the background. Grok Build 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.

Get started

Start using Firecrawl web search in Grok Build

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok Build:

Set up Grok Build

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options