How to Use SAM.gov business exclusion lookup in opencode
Returns a public exclusion record matching an exclusion identifier, UEI, or CAGE code. Use it to check a known business during supplier review.
Prompts to try with SAM.gov business exclusion lookup in opencode
Copy an example into opencode, or ask in your own words.
Use SAM.gov business exclusion lookup to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from SAM.gov business exclusion lookup and tell me what changed since last week.
Check SAM.gov business exclusion lookup and summarize what you find in three bullet points.
Pull the newest data from SAM.gov business exclusion lookup and give me the result as a table.
Check SAM.gov business exclusion lookup every morning and tell me only when something changed.
How to set up SAM.gov business exclusion lookup in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run SAM.gov business exclusion lookup
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": "alexandria", "model": "sam-gov/opportunities/exclusions_get", "input": { "uei_sam": "<uei_sam>" } }'
Then paste one of the prompts above: opencode finds SAM.gov business exclusion lookup on Spiral, shows the price and runs it.
SAM.gov business exclusion lookup providers and prices
Spiral runs SAM.gov business exclusion lookup through Alexandria. Open a card for today's price, with every fee included.
What can you do with SAM.gov business exclusion lookup in opencode?
Build a procurement dashboard that combines federal notices, public business registrations, and business exclusion checks. Use the project's saved records to compare notice revisions, apply registration updates, and manage extract refreshes.
Prepare a bid qualification brief
Find relevant federal notices, read their requirements and deadlines, resolve potential suppliers, and check known businesses for exclusion records before a bid review.
Review a daily bid watch
Find notices worth reviewing, inspect their details, and collect registration updates affecting the supplier roster. Check exclusions publication status before refreshing individual business checks.
Assemble procurement review evidence
Collect notice descriptions, attachment links, known supplier registrations, and business exclusion records for a procurement review. Include registration updates and extract publication metadata to explain the evidence available.
Reconcile supplier data imports
Compare imported business records with registration searches, identifier lookups, and subsequent changes. Check which extract publications underlie the import, then investigate firm exclusion matches individually.
More on SAM.gov business exclusion lookup and opencode
Overview
SAM.gov business exclusion lookup in other agents
Questions about SAM.gov business exclusion lookup in opencode
Can opencode use SAM.gov business exclusion lookup?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run SAM.gov business exclusion lookup like any built-in tool.
How much does SAM.gov business exclusion lookup cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use SAM.gov business exclusion lookup in opencode?
No. Spiral runs SAM.gov business exclusion lookup on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up SAM.gov business exclusion lookup in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while SAM.gov business exclusion lookup runs?
SAM.gov business exclusion lookup runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What does SAM.gov cover?
SAM.gov publishes federal procurement notices, entity registrations, and exclusions. Its contract notices include presolicitations, solicitations, award notices, and sole-source notices; it directs grant searches to Grants.gov.
What information is public in entity registrations?
Public registration data includes business names, UEIs, registration details, addresses, business types, and industry classifications such as NAICS. These are registration records for entities doing business with the federal government.
Can an entity search return every matching registration?
The Entity Management API returns ten records per page and stops at the first 10,000 matches. For a broad business search, narrow the geography or industry before collecting additional pages.
When does the monthly entity extract change?
GSA processes monthly entity extracts on the first Sunday of each month. A monthly publication is a baseline for that publication date, rather than a continuous stream of registration changes.
Does the exclusions extract include past exclusions?
The extract contains currently open exclusions. It is suitable for reviewing the published active list, but it does not provide a complete history of terminated exclusions.
Start using SAM.gov business exclusion lookup in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


