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

opencode · Public Records

How to Use COMMBUYS open bids in opencode

Returns the current open-bid list with solicitation numbers, organizations, descriptions, and opening dates. Use it for a broad opportunity scan, working through the 25-row pages.

Prompts to try with COMMBUYS open bids in opencode

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

Use COMMBUYS open bids to populate a procurement table in this project with current Massachusetts solicitation numbers, organizations, descriptions, and opening dates; work through all available pages.

COMMBUYS open bidsopencode
Try asking
  • Use COMMBUYS open bids to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from COMMBUYS open bids and tell me what changed since last week.

  • Check COMMBUYS open bids and summarize what you find in three bullet points.

  • Pull the newest data from COMMBUYS open bids and give me the result as a table.

How to set up COMMBUYS open bids in opencode

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

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 COMMBUYS open bids

    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": "commbuys-com/public-tenders/list_open_bids",
        "input": {
          "cursor": "<cursor>"
        }
      }'

Then paste one of the prompts above: opencode finds COMMBUYS open bids on Spiral, shows the price and runs it.

COMMBUYS open bids providers and prices

Spiral runs COMMBUYS open bids through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
COMMBUYS · List open bids
commbuys-com/public-tenders/list_open_bids

What can you do with COMMBUYS open bids in opencode?

Build a Massachusetts procurement tracker that connects opportunity summaries with solicitation details and contract records. A coding agent can map the returned identifiers, dates, and document links into your project's database and review screens.

Build a Massachusetts procurement database

Collect open opportunities, add targeted search results, and store solicitation details alongside existing contract summaries. Keep solicitation numbers and purchase order numbers as separate identifiers.

Prepare a sector opportunity brief

Scan open bids for construction, software, or facilities work, investigate relevant solicitations, and compare their descriptions with known contracts in the same sector.

Research an agency's purchasing needs

Combine an agency’s open opportunities and search results with detailed requirements and known contract records. Produce a brief organized by purchasing need and deadline.

Publish a procurement research digest

Select relevant open opportunities, verify their descriptions and documents, and add context from identified contract records. Link each item to its public COMMBUYS source.

Create a bid review shortlist

Find relevant opportunities and compare opening dates, item descriptions, and available attachments before deciding which solicitations deserve a full response review.

Questions about COMMBUYS open bids in opencode

Can opencode use COMMBUYS open bids?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run COMMBUYS open bids like any built-in tool.

How much does COMMBUYS open bids 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 COMMBUYS open bids in opencode?

No. Spiral runs COMMBUYS open bids on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up COMMBUYS open bids in opencode?

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

Does opencode wait while COMMBUYS open bids runs?

COMMBUYS open bids runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

What geographic market does COMMBUYS cover?

COMMBUYS is Massachusetts’ procurement platform. Use these records to research Commonwealth purchasing rather than as a nationwide tender database.

How many opportunities appear on one results page?

The provider documents fixed 25-row pagination for bid searches and the open-bid list. A first page can therefore represent only part of the matching opportunities.

Can the public data show submitted quotes or bid holder lists?

These endpoints exclude submitted quotes, bidding actions, and bid holder lists. Their coverage is the public procurement record.

Can procurement documents change after they are posted?

Yes. The Massachusetts Convention Center Authority solicitation BD-27-1208-1208C-1208L-134002 records an amended RFR and an added addendum, showing why an earlier document list may become outdated.

What does a COMMBUYS search result tell me?

The results table has columns for solicitation number, organization, description, opening date, status, awarded vendors, and blanket references. Those summaries help identify records worth reading in detail.

Get started

Start using COMMBUYS open bids in opencode

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

Paste this into opencode:

Set up opencode

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