[Integrations](https://spiral.ai/integrations) › [Perplexity](https://spiral.ai/integrations/perplexity) › [USAspending agency profile](https://spiral.ai/integrations/perplexity/usaspending-agency-profile)

# How to Use USAspending agency profile in Perplexity

Returns a federal agency's mission, website, subagency count, and emergency funding codes with legislative references. Use it to prepare an agency brief or identify relevant funding laws before researching individual awards.

|  |  |
| --- | --- |
| Model | USAspending agency profile |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with USAspending agency profile in Perplexity

- Use USAspending agency profile for NASA for fiscal year 2025 and give me a short briefing with its mission, official website, and subagency count.
- Use USAspending agency profile for the Department of Veterans Affairs for fiscal year 2025 and show its mission and any returned agency data notes.
- Use USAspending agency profile for the Department of Health and Human Services for fiscal year 2021 and list the returned emergency funding codes with their law titles and legislative links.
- Use USAspending agency profile for the Department of the Treasury for fiscal year 2025 and show its official website and congressional budget justification link.
- Use USAspending agency profile for the Department of Agriculture for fiscal years 2021 and 2025 and compare the emergency funding codes returned for each year.

## How to set up USAspending agency profile in Perplexity

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

### Use the Perplexity connector

1. **Add a remote connector**: In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Perplexity 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run USAspending agency profile**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "usaspending-gov/agencies/agency",
    "input": {
      "toptier_code": "<toptier_code>"
    }
  }'
```

Then paste one of the prompts above: Perplexity finds USAspending agency profile on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/perplexity

## USAspending agency profile tools and prices

- [USAspending · Agency](https://spiral.ai/tools/alexandria/usaspending-gov/agencies/agency) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| fiscal_year | 2008 to 2035 | — | Omitted = the current fiscal year. |

## What can you do with USAspending agency profile in Perplexity?

Prepare a federal agency briefing with its mission, website, and reported subagency count. A chat app can explain the returned emergency funding references and present their legislative links beside the agency summary.

### Prepare an agency research brief

Turn an agency's returned mission, website, and subagency count into a short briefing before a public sector market review.

### Enrich an agency directory

Add official names, abbreviations, mission statements, and website links to records for federal agencies.

### Find budget justification references

Collect the returned congressional budget justification links for agencies under review so researchers can continue into their budget documents.

### Identify emergency funding authorities

List the emergency funding codes reported for an agency and fiscal year, alongside the returned public law titles and legislative links.

### Compare reported funding codes across years

Request an agency's overview for separate fiscal years and identify which emergency funding codes appear in each response.

### Review agency data disclosures

Bring returned agency data notes into a research brief so analysts see source-specific disclosures beside the agency profile.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Perplexity guides](https://spiral.ai/integrations/perplexity)

## USAspending agency profile in other agents

- [Amp](https://spiral.ai/integrations/amp/usaspending-agency-profile)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/usaspending-agency-profile)
- [Claude](https://spiral.ai/integrations/claude-desktop/usaspending-agency-profile)
- [Claude Code](https://spiral.ai/integrations/claude-code/usaspending-agency-profile)
- [Cline](https://spiral.ai/integrations/cline/usaspending-agency-profile)
- [Codex](https://spiral.ai/integrations/codex/usaspending-agency-profile)
- [Cursor](https://spiral.ai/integrations/cursor/usaspending-agency-profile)
- [Devin](https://spiral.ai/integrations/devin/usaspending-agency-profile)
- [dots](https://spiral.ai/integrations/dots/usaspending-agency-profile)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/usaspending-agency-profile)
- [Gemini](https://spiral.ai/integrations/gemini/usaspending-agency-profile)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/usaspending-agency-profile)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/usaspending-agency-profile)
- [goose](https://spiral.ai/integrations/goose/usaspending-agency-profile)
- [Grok](https://spiral.ai/integrations/grok/usaspending-agency-profile)
- [Grok Build](https://spiral.ai/integrations/grok-build/usaspending-agency-profile)
- [Hermes](https://spiral.ai/integrations/hermes/usaspending-agency-profile)
- [Instinct](https://spiral.ai/integrations/instinct/usaspending-agency-profile)
- [Manus](https://spiral.ai/integrations/manus/usaspending-agency-profile)
- [Muse](https://spiral.ai/integrations/muse/usaspending-agency-profile)
- [Muse Code](https://spiral.ai/integrations/muse-code/usaspending-agency-profile)
- [n8n](https://spiral.ai/integrations/n8n/usaspending-agency-profile)
- [Notion](https://spiral.ai/integrations/notion/usaspending-agency-profile)
- [OpenClaw](https://spiral.ai/integrations/openclaw/usaspending-agency-profile)
- [opencode](https://spiral.ai/integrations/opencode/usaspending-agency-profile)
- [Raycast](https://spiral.ai/integrations/raycast/usaspending-agency-profile)
- [VS Code](https://spiral.ai/integrations/vscode/usaspending-agency-profile)
- [Windsurf](https://spiral.ai/integrations/windsurf/usaspending-agency-profile)
- [Zapier](https://spiral.ai/integrations/zapier/usaspending-agency-profile)

## More Perplexity guides

- [US Senate financial disclosure search](https://spiral.ai/integrations/perplexity/us-senate-financial-disclosure-search)
- [USAspending award details](https://spiral.ai/integrations/perplexity/usaspending-award-details)
- [US Senate financial disclosure report](https://spiral.ai/integrations/perplexity/us-senate-financial-disclosure-report)
- [USAspending award search](https://spiral.ai/integrations/perplexity/usaspending-award-search)
- [UNGM tender search](https://spiral.ai/integrations/perplexity/ungm-tender-search)
- [USAspending award transactions](https://spiral.ai/integrations/perplexity/usaspending-award-transactions)

## Questions about USAspending agency profile in Perplexity

**Can Perplexity use USAspending agency profile?**

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run USAspending agency profile like any built-in tool.

**How much does USAspending agency profile cost in Perplexity?**

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

**Do I need an Alexandria account to use USAspending agency profile in Perplexity?**

No. Spiral runs USAspending agency profile on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up USAspending agency profile in Perplexity?**

About two minutes: add a remote connector, then sign in to Spiral and approve.

**Does Perplexity wait while USAspending agency profile runs?**

USAspending agency profile runs in the background. Perplexity starts the run, checks on it and gives you the json when it's ready.

**Does an agency profile include individual awards or spending totals?**

The official overview returns one agency profile with its mission, website, subagency count, and emergency funding references. Its response does not include individual award records, award obligation totals, or transaction counts.

**How fresh is USAspending data?**

USAspending refreshes published data after a nightly processing run, but agency account files arrive monthly. A daily refresh does not mean the underlying agency financial information was reported that day.

**Does USAspending cover every part of the federal government?**

No. Its list of non-reporting entities includes the legislative branch and most of the judicial branch, with the Court of Appeals of Veterans Claims identified as an exception.

**Are published agency records guaranteed to be accurate?**

No. GAO documented agency submissions with missing or inaccurate information, including values that disagreed with agency records. USAspending is a reported-data source, not a guarantee of completeness.

**What do the emergency funding references tell me?**

They identify Disaster Emergency Fund Codes and can provide the associated public law, law title, and official legislative links. These references identify funding authorities; the agency overview does not provide spending amounts for each code.

