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

VS Code · Public Records

How to Use SAM.gov entity registration lookup in VS Code

Returns registration records for businesses identified by UEI or CAGE code. Use it to verify known suppliers without sorting through business-name search matches.

Prompts to try with SAM.gov entity registration lookup in VS Code

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

Use SAM.gov entity registration lookup to look this up and give me the result as a table. Save the result in ./assets.

SAM.gov entity registration lookupVS Code
Try asking
  • Pull the latest numbers from SAM.gov entity registration lookup and tell me what changed since last week.

  • Check SAM.gov entity registration lookup and summarize what you find in three bullet points.

  • Pull the newest data from SAM.gov entity registration lookup and give me the result as a table.

  • Check SAM.gov entity registration lookup every morning and tell me only when something changed.

How to set up SAM.gov entity registration lookup in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code 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 SAM.gov entity registration 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/entities_get",
        "input": {
          "uei_sam": [
            "<uei_sam>"
          ]
        }
      }'

Then paste one of the prompts above: VS Code finds SAM.gov entity registration lookup on Spiral, shows the price and runs it.

SAM.gov entity registration lookup providers and prices

Spiral runs SAM.gov entity registration lookup through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
SAM.gov · Entities get
sam-gov/opportunities/entities_get

What can you do with SAM.gov entity registration lookup in VS Code?

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.

Build a teaming shortlist

Compare a notice's scope with registered businesses in the relevant industry. Retrieve candidate registrations by identifier and compare the business shortlist against active firm exclusions.

Maintain a supplier directory

Check for a new monthly registration baseline, collect subsequent registration changes, and resolve business records through searches and identifier lookups. Refresh business exclusion matches when a new exclusions snapshot appears.

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.

Populate an internal procurement research portal

Present federal opportunity shortlists beside searchable public business registrations. Use extract publication checks to manage baseline refreshes and display active firm exclusion matches for supplier review.

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.

Questions about SAM.gov entity registration lookup in VS Code

Can VS Code use SAM.gov entity registration lookup?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run SAM.gov entity registration lookup like any built-in tool.

How much does SAM.gov entity registration lookup cost in VS Code?

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

Do I need an Alexandria account to use SAM.gov entity registration lookup in VS Code?

No. Spiral runs SAM.gov entity registration 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 entity registration lookup in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while SAM.gov entity registration lookup runs?

SAM.gov entity registration lookup runs in the background. VS Code 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.

Get started

Start using SAM.gov entity registration lookup in VS Code

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

Paste this into VS Code:

Set up VS Code

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