Analytics
spendquery.com
Provides a queryable catalog and execution engine for government contract and assistance spending data, enabling metric/dimension analysis, code lookups, and recipient searches.
ENDPOINT 1
https://api.spendquery.com/mcp
MCP server metadata
- Name
- SpendQuery
- Version
- 0.4.0
SpendQuery answers questions about US federal spending (USAspending.gov prime awards: contracts, grants, loans, direct payments). Amounts are obligations (money committed), not outlays. How to answer a question: 1. Call get_catalog once: it lists metrics, dimensions, analyses, the QueryPlan JSON schema, planning rules and worked examples for federal questions (section="states" for state, county and city checkbooks). 2. Write a QueryPlan in business terms (e.g. filters [{"dimension": "agency", "values": ["DoD"]}]). Put names as the user said them; the server resolves them. Use search_codes / search_recipients when you need to check a name, code or company first, and browse_codes to explore products/services (PSC) or industries (NAICS) with their spend. 3. Call run_plan. If status is "clarify", ask the user the returned question. 4. Report the answer with its caveats; mention that amounts are obligations. Things that trip planners up: - A company's total comes from run_plan with a company filter (it rolls up subsidiaries). search_recipients' obligations are one registration's own money: a parent UEI often has little or none of its own (it can even be negative), because the money sits on its units. - Give fiscal_years. Without them a plan sums every loaded year, including the year in progress (see coverage in run_plan's reply; Defense publishes about 90 days late). - award_category is singular: "contract" or "assistance". Growth is analysis "compare" with baseline_years. "Businesses only" is a filter (business_type / recipient_type), not a field. - Company and recipient rankings leave out payments with no recipient ID (aggregate payments to individuals); the answer says how much was left out. - For one contract notice's brief (the contract it follows, the incumbent, who else wins this work at the agency, the contracting office, what similar work was awarded for, GSA rates), call opportunity_brief with its id (or an expiring contract's award key); for its decision card, the timeline of the buy and what changed in its files, get_notice. For small-business size, size_standard; to find a company's NAICS codes, naics_finder; for which GWACs or IDIQs carry an industry's money, vehicle_match. - Where a state, county or city posts its own bids (portal, platform, vendor registration): find_bid_portals ("Simi Valley, CA"); its bids themselves, where SpendQuery loads them: search_local_bids. - Within a distance of a place ("40 miles of Los Angeles", "near 93065"): search_notices with near + miles for open notices (each with its miles); for money, run_plan with a filter {"dimension": "near", "values": ["40 miles of Los Angeles, CA"]} (the counties in the circle). - State, county and city bids and contracts (not federal awards): search_local_bids. SBIR and STTR awards and who received them (SBA's SBIR.gov records since 1983): sbir_awards. The FAR and DFARS: search_far, then get_far_section. Federal grant opportunities open on Grants.gov (or forecast), by topic and who may apply: grant_opportunities. Who does a kind of work as prime and as subcontractor, and prime -> subcontractor pairs (teaming leads): primes_and_subcontractors. - One-step tools that need no QueryPlan: search_notices (open SAM.gov notices by words, NAICS, place, set-aside, agency), company_profile (one company's federal profile), competitor_watch (what's new with a company: new awards, contracts ending, notices in its lines), recompetes (contracts ending soon, with the incumbent) and award_prices (typical award sizes and GSA labor rates, for pricing). Prefer them to run_plan for those questions. - recompetes also says, per contract: open_seat (why the incumbent could not win it again as it was bought, from its SAM.gov registration), health (options left, money against the ceiling) and expected_notice (the window in which its office usually posts the follow-on). These are leads to check, not findings: say so. - "Can this be set aside?" / "are there two small businesses for this?": rule_of_two (it counts the record; the contracting officer decides). Federal leases ending near a place: federal_leases. New federal grants to a state's cities, counties and agencies, with each government's bid portal ("who near me just won federal money for X"): follow_the_grant; a grant is a sign of local bids to come, not a solicitation. size_standard rows also carry SBA's August 2026 proposed standard: it is not in force. - After writing a brief, a report or an e-mail from these tools, run check_claims on the figures, deadlines, incumbents, certifications and quoted rules it relies on; fix or drop what differs and say what could not be checked. run_plan's `page` is a link to cite. - For a bid / no-bid memo on a notice, the open work a company qualifies for, market research for a requirement, or a sources-sought reply, the prompts bid_no_bid, qualified_work, market_research and sources_sought_reply give the steps. - Each API key has a daily call limit; replies over HTTP carry X-Quota-Limit, X-Quota-Remaining and X-Quota-Reset (seconds to 00:00 UTC).
Known tools 26
get_catalogWhat SpendQuery can answer: data coverage, metrics, dimensions (with examples and whether they apply to contracts or assistance), analyses, the QueryPlan JSON schema, planning rules and example question -> plan pairs.
Inferred read-onlysearch_recipientsFind award recipients (companies, universities, governments) by name or UEI.
Inferred read-onlynaics_finderDescribe the work in plain words -> the NAICS codes buyers actually use for it (codes on SAM.
Inferred read-onlyvehicle_matchFor 6-digit NAICS codes (and an optional agency): the shared contract vehicles (GWACs, multiple-award IDIQs, GSA Schedule, BPAs) carrying last complete year's contract money in those codes, the share through each and who each is reserved for (read from its name).
Inferred read-onlycheck_claimsCheck the facts of a draft (a capture brief, a market report, an e-mail) against the records before it goes out.
Inferred read-onlyfollow_the_grantNew federal project grants and cooperative agreements to state and local governments (USAspending assistance awards), largest first: the government, the program, the purpose, the dollars obligated, and where that government posts its bids (its entry in SpendQuery's bid-portal directory: portal, open-bids list, vendor registration) when the name matches a listed state, county or city.
Inferred read-onlyfederal_leasesBuildings and spaces GSA leases for federal agencies whose leases end soon (GSA's Inventory of Owned and Leased Properties, weekly, public domain): address, city, state, rentable square feet, the lease's start and end dates and days left, soonest first, with the count by state and by year.
Inferred read-onlysearch_farSearch the FAR and the DFARS (48 CFR chapters 1 and 2, as codified in the eCFR): sections whose title or text has every word, or a section number (e.
Inferred read-onlyget_far_sectionOne FAR or DFARS section's full text (paragraphs), its part and subpart, the sections it refers to and the ones referring to it, and Federal Register rules changing its part.
Inferred read-onlysearch_local_bidsState, county and city government bids and contracts (not federal awards), from the governments that publish them as open data: Los Angeles (the City, LA County, LADWP, LAUSD, airports, port, Metro), New York City, San Francisco, Washington DC, Chicago, Cook County, Austin, Detroit, Richmond, Sacramento, Baton Rouge, Montgomery County MD, Delaware, Texas DOT, California state departments (Cal eProcure), SUNY construction, E-Rate and others.
Potential side effectsfind_bid_portalsWhere to bid in a place: the state's, county's or city's own bid / procurement portal, the platform it runs on (Bonfire, OpenGov, DemandStar, PlanetBids, BidNet Direct.
Inferred read-onlyprimes_and_subcontractorsWho does a kind of work, for the last complete fiscal year: the primes (with their certifications), the subcontractors primes reported paying (FSRS subawards), and prime -> subcontractor pairs, the teaming and subcontracting leads.
Inferred read-onlycompany_profileOne company in one call: federal money by year (all its registrations rolled up), top agencies, industries, places and largest awards, SAM.
Inferred read-onlyrecompetesThe recompete pipeline: contracts ending in the next months with the incumbent, value, how they were bought (offers received, set-aside, vehicle) and the likeliest follow-on SAM.
Inferred read-onlyopportunity_briefOne notice (or expiring contract) as its SpendQuery brief, no AI: the notice's facts and deadline, the contract it likely follows and how sure the match is, the incumbent and its money at the agency, other contracts it may follow, who else wins this work at the agency (with set-aside eligibility from their own SAM.
Inferred read-onlycompetitor_watchWhat is new with one company (a competitor, a teaming partner, a prime), from the records, no AI: its new awards (base awards to it or a subsidiary in the last 45 days of loaded data, largest first; Defense publishes about 90 days late), its contracts ending within 12 months as incumbent (with the follow-on SAM.
Inferred read-onlyaward_pricesFor pricing a bid: what contracts in an industry (and state) are typically worth over the last three complete fiscal years (percentiles of award values by kind: definitive contracts, purchase orders, orders under vehicles; by set-aside and competition), and GSA schedule ceiling hourly rates (CALC+) for a labor category.
Potential side effectsCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.spendquery]
url = "https://api.spendquery.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"spendquery": {
"type": "http",
"url": "https://api.spendquery.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: spendquery
Remote MCP URL: https://api.spendquery.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"spendquery": {
"url": "https://api.spendquery.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"spendquery": {
"type": "http",
"url": "https://api.spendquery.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "spendquery",
"transport": "streamable-http",
"url": "https://api.spendquery.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.