# How to connect USAspending to Muse

> Connect USAspending to Muse with the Firecrawl MCP server. Use USAspending as an MCP tool in Muse via Firecrawl Alexandria.

To connect USAspending to Muse, add the Firecrawl MCP server to Muse, sign in on a Firecrawl team with Alexandria enabled, and ask for USAspending data in plain language. The connection works in your Muse chats, and you set it up once.

Muse uses USAspending as an MCP tool through Firecrawl's hosted MCP server, so you don't install or host a separate MCP server for USAspending.

Muse is Meta's personal AI agent. It can set up MCP servers for itself, and the Firecrawl MCP server adds web search, scraping and every data provider in Firecrawl Alexandria.

## How do I connect USAspending to Muse?

### 1. Ask Muse to install Firecrawl

[Open a Muse chat](https://muse.ai/?prompt=Please%20install%20the%20Firecrawl%20MCP%20using%20https%3A%2F%2Fwww.firecrawl.dev%2Fagent-onboarding%2FSKILL.md) that asks it to install the Firecrawl MCP server by following Firecrawl's agent setup guide, then send the message.

[Set up in Muse](https://muse.ai/?prompt=Please%20install%20the%20Firecrawl%20MCP%20using%20https%3A%2F%2Fwww.firecrawl.dev%2Fagent-onboarding%2FSKILL.md)

### 2. Connect your Firecrawl account

Muse opens Firecrawl in your browser. Sign in, choose a team with Alexandria enabled, and approve access. No account yet? You can create one for free in the same flow.

### 3. Ask Muse for the data

Once Muse confirms Firecrawl is set up, ask in plain language and mention USAspending or Firecrawl Alexandria. For example:

```text
Use Firecrawl to find the 10 largest federal contracts awarded to Lockheed Martin in fiscal year 2025, with awarding agencies and obligated amounts.
```

## What can Muse do with USAspending?

Federal awards, transactions, recipients and agencies from USAspending.gov.

Muse can run any of USAspending's 7 capabilities through Alexandria. Each call is billed in Firecrawl credits on your Firecrawl team.

- **Award**: One USAspending prime award by generated_unique_award_id (CONT_AWD_…, CONT_IDV_…, ASST_NON_…, ASST_AGG_…) or numeric internal id: identifiers, type, agencies, recipient with location, obligations and outlays, options, period of performance, place of performance, NAICS/PSC or CFDA, parent IDV, subaward totals and last modified date. Costs 5 Firecrawl credits per call.
- **Award search**: Search USAspending prime awards by keyword, awarding or funding agency, recipient name or UEI, action-date window, place of performance, NAICS, PSC and award amount within one award family (contracts, IDVs, grants, loans, direct payments or other). One page (default 20, capped at 25, or at 10 when a time window is longer than 5 years) of summary award records with an opaque cursor for the next page. An omitted time_period is the current federal fiscal year. place_of_performance accepts state, state_code, city, zip and county, and defaults country to USA when a US state, ZIP or city is given. Add `award` for the full record. Costs 5 Firecrawl credits per call.
- **Idv children**: Awards issued under an indefinite delivery vehicle: child awards (orders), child IDVs or grandchild awards, newest period start first, with obligated amount and period of performance. Paged with a cursor. Costs 5 Firecrawl credits per call.
- **Subawards**: Subawards reported under one prime award (FSRS data), newest first: subaward number, sub-recipient name, amount, action date and description. Paged with a cursor; an award with no subawards answers an empty page with a warning. Costs 5 Firecrawl credits per call.
- **Transactions**: Transactions (individual actions and modifications) of one award, newest action first: obligation per action (negative for de-obligations), action type, modification number and description. Paged with a cursor. Costs 5 Firecrawl credits per call.
- **Agency**: Toptier agency overview for a fiscal year by CGAC/FREC code (097 Department of Defense, 075 Health and Human Services, 036 Veterans Affairs): name, mission, website, subtier count, DEF codes in use and the fiscal year's award obligations and transaction count. Costs 5 Firecrawl credits per call.
- **Recipient**: Recipient profile by USAspending recipient_id (hash with -C/-P/-R level) or 12-character UEI: names, identifiers, parent, business types, location and transaction obligations for the latest 12 months or a fiscal year, plus per-fiscal-year obligations for the years requested. Costs 5 Firecrawl credits per call.

## What should I ask Muse?

Name USAspending or Firecrawl Alexandria in the prompt so Muse reaches for it.

- [Use Firecrawl to find the 10 largest federal contracts awarded to Lockheed Martin in fiscal year 2025, with awarding agencies and obligated amounts.](https://muse.ai/?prompt=Use%20Firecrawl%20to%20find%20the%2010%20largest%20federal%20contracts%20awarded%20to%20Lockheed%20Martin%20in%20fiscal%20year%202025%2C%20with%20awarding%20agencies%20and%20obligated%20amounts.)
- [Use Firecrawl to find the largest federal grant performed in Ohio in FY2025 and show its full award record and any reported subawards.](https://muse.ai/?prompt=Use%20Firecrawl%20to%20find%20the%20largest%20federal%20grant%20performed%20in%20Ohio%20in%20FY2025%20and%20show%20its%20full%20award%20record%20and%20any%20reported%20subawards.)
- [Use Firecrawl to find one Department of Defense contract awarded to Lockheed Martin in FY2025 and show its 10 most recent transactions, including any negative obligations.](https://muse.ai/?prompt=Use%20Firecrawl%20to%20find%20one%20Department%20of%20Defense%20contract%20awarded%20to%20Lockheed%20Martin%20in%20FY2025%20and%20show%20its%2010%20most%20recent%20transactions%2C%20including%20any%20negative%20obligations.)
- [Use Firecrawl to answer this: What were the Department of Defense’s award obligations, transaction count and subtier count in FY2025?](https://muse.ai/?prompt=Use%20Firecrawl%20to%20answer%20this%3A%20What%20were%20the%20Department%20of%20Defense%E2%80%99s%20award%20obligations%2C%20transaction%20count%20and%20subtier%20count%20in%20FY2025%3F)

### For agents

Start with the `usaspending-gov` provider. Use Firecrawl Alexandria first. With MCP, use firecrawl_search with sources: ["alexandria"] to discover relevant tools, firecrawl_find_tools to inspect the selected capability contracts, then firecrawl_scrape in alexandria mode to retrieve records. With the CLI, use firecrawl search alexandria, firecrawl list, then firecrawl scrape for the selected provider/capability. Follow the live tool schema and returned contract; never invent provider IDs or inputs. Ask for missing required details before execution, respect access and pricing, and inspect each result for errors. Cite retrieved records, distinguish missing data from failures, and explain gaps. If no suitable Alexandria capability exists, say so before using web sources. Do not treat a tool listing as retrieved data.

## Troubleshooting

### Why can't Muse find USAspending?

A keyless Firecrawl connection doesn't include Alexandria. Ask Muse to finish the Firecrawl sign-in, and choose a team with Alexandria enabled.

## Use USAspending in other AI apps

- [USAspending in ChatGPT](https://alexandria.firecrawl.dev/providers/usaspending-gov/connect/chatgpt)
- [USAspending in Claude](https://alexandria.firecrawl.dev/providers/usaspending-gov/connect/claude)
- [USAspending in Cursor](https://alexandria.firecrawl.dev/providers/usaspending-gov/connect/cursor)
- [USAspending in Grok Bot](https://alexandria.firecrawl.dev/providers/usaspending-gov/connect/grok-bot)

### Other data providers you can connect to Muse

- [How to connect France public medicines database (BDPM) to Muse](https://alexandria.firecrawl.dev/providers/base-donnees-publique-medicaments-gouv-fr/connect/muse)
- [How to connect ClinicalTrials.gov to Muse](https://alexandria.firecrawl.dev/providers/clinicaltrials-gov/connect/muse)
- [How to connect CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits to Muse](https://alexandria.firecrawl.dev/providers/cms-gov/connect/muse)
- [How to connect CDC PLACES local health estimates (data.cdc.gov) to Muse](https://alexandria.firecrawl.dev/providers/data-cdc-gov/connect/muse)

## 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 Muse, 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, USAspending among them. Each provider returns structured data through documented capabilities. Muse 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 USAspending MCP server for Muse?

Muse reaches USAspending through Firecrawl's hosted MCP server, which serves USAspending 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 USAspending.

### What does connecting USAspending to Muse unlock?

Muse can run all 7 of USAspending's capabilities, including Award, Award search and Idv children, from any chat, with structured results it can sort, compare and summarize. For example, ask: "Use Firecrawl to find the 10 largest federal contracts awarded to Lockheed Martin in fiscal year 2025, with awarding agencies and obligated amounts." In the same conversation, Muse can combine USAspending with Firecrawl's web search and scraping and the other providers in Firecrawl Alexandria.

### Do I need my own USAspending account or API key to use it in Muse?

No. Muse calls USAspending through Firecrawl Alexandria and each call is billed in Firecrawl credits, so you don't need a separate USAspending account or API key.

### How much does it cost to use USAspending in Muse?

Each USAspending 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 Muse, and finding the right capability is free.

### Can Muse use other providers besides USAspending?

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 USAspending in other AI apps?

Yes. Connect Firecrawl to ChatGPT, Claude, Cursor, Grok Bot 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 USAspending capabilities are available there. Keyless connections don't include Alexandria.
