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

Gemini · Data

How to Use Firecrawl government documents in Gemini

Find ranked US statutes, regulations, codes, court opinions, and agency publications with titles, URLs, and matched excerpts. Use it to locate sources for a legal or regulatory question, then check the underlying document's status and version.

Prompts to try with Firecrawl government documents in Gemini

Copy an example into Gemini, or ask in your own words.

Use Firecrawl government documents to find US food allergen labeling sources. Give me the titles, links, and relevant excerpts.

Firecrawl government documentsGemini
Try asking
  • Use Firecrawl government documents to find California consumer privacy notice requirements as of November 2026. Separate statutes from agency guidance.

  • Use Firecrawl government documents to find Seattle code sources about accessory dwelling units. Give me a short reading list.

  • Use Firecrawl government documents to find federal appellate opinions citing 42 U.S.C. § 1983 about qualified immunity. List the matched opinions and links.

  • Use Firecrawl government documents to find EPA publications on greenhouse gas reporting. Explain what the returned excerpts establish.

How to set up Firecrawl government documents in Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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 government documents

    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/gov-search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Gemini finds Firecrawl government documents on Spiral, shows the price and runs it.

Firecrawl government documents providers and prices

Spiral runs Firecrawl government documents through Firecrawl. Open a card for today's price, with every fee included.

FirecrawlData
Firecrawl Government · Search
firecrawl/gov-search

Settings you can ask for

Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
K1 to 10010

Number of results to return.

Court typefederal-supreme, federal-appellate, federal-district, federal-bankruptcy, federal-special, military, state-supreme, state-appellate and 3 more

Keep only pages from one type of court: federal-supreme, federal-appellate, federal-district, federal-bankruptcy, federal-special, military, state-supreme, state-appellate, state-trial, state-special, state-attorney-general.

Every API field of Firecrawl Government · Search is on its tool page: open its card above.

What can you do with Firecrawl government documents in Gemini?

Get a reading list for a US legal or regulatory question with links to the matched documents. A chat app can explain what each excerpt supports and identify which source texts need closer reading.

Find the regulation behind a requirement

Locate US food-labeling regulations and agency publications for an allergen-labeling research brief.

Build a state-law source list

Collect California and Colorado privacy statutes into separate reading lists with titles, excerpts, and source links.

Discover opinions interpreting a statute

Find federal court opinions citing 42 U.S.C. § 1983 for a legal research bibliography.

Prepare a local-code reading list

Find Seattle code provisions relevant to accessory dwelling units and collect the returned document links for review.

Check sources behind a policy claim

Search for statutes, regulations, and agency guidance behind a claim about US emissions reporting, then inspect the underlying texts.

Maintain an agency-publication watchlist

Repeat focused EPA searches and flag newly appearing URLs for review without treating a ranking change as a legal change.

Questions about Firecrawl government documents in Gemini

Can Gemini use Firecrawl government documents?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Firecrawl government documents like any built-in tool.

How much does Firecrawl government documents cost in Gemini?

$0.013 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.

Do I need a Firecrawl account to use Firecrawl government documents in Gemini?

No. Spiral runs Firecrawl government documents 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 government documents in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Firecrawl government documents runs?

Firecrawl government documents runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

Which jurisdictions and documents does Firecrawl cover?

The Government Index focuses on US federal, state, and local material. It searches statutes, regulations, codes, court opinions, and other government publications.

Does a result contain the full legal document?

Results provide matched excerpts with a title, URL, description, and rank. Read the linked document when the excerpt does not establish the rule.

How many results can one search return?

Each search returns up to 100 ranked results, with 10 as the default. That result cap does not establish how many relevant documents exist.

Are all matches current, enacted law?

Matches can include bills, historical versions, agency guidance, and third-party reproductions. Verify the issuer, jurisdiction, effective status, and version before citing a match as current governing law.

Can a filtered search miss relevant documents?

Yes. Filters retain pages with matching index labels, so relevant unlabeled pages can disappear from the results; court labels are most complete for federal courts and case-law collections.

Get started

Start using Firecrawl government documents in Gemini

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

Paste this into Gemini:

Set up Gemini

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