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

opencode · Public Records

How to Use PennBid opportunity lookup in opencode

Returns one PennBid listing record, including its title, closing time, agency reference, status codes, and public-award flag. Use it to check a known project without searching a list; it does not return the full bid documents.

Prompts to try with PennBid opportunity lookup in opencode

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

Use PennBid opportunity lookup for project 252422 and add its returned listing record as a labeled example in our procurement documentation.

PennBid opportunity lookupopencode
Try asking
  • Use PennBid opportunity lookup to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from PennBid opportunity lookup and tell me what changed since last week.

  • Check PennBid opportunity lookup and summarize what you find in three bullet points.

  • Pull the newest data from PennBid opportunity lookup and give me the result as a table.

How to set up PennBid opportunity lookup 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 PennBid opportunity 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": "pennbid-bonfirehub-com/public-tenders/get_opportunity",
        "input": {
          "project_id": "<project_id>"
        }
      }'

Then paste one of the prompts above: opencode finds PennBid opportunity lookup on Spiral, shows the price and runs it.

PennBid opportunity lookup providers and prices

Spiral runs PennBid opportunity lookup through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
PennBid (Bonfire) public procurement portal · Get opportunity
pennbid-bonfirehub-com/public-tenders/get_opportunity

What can you do with PennBid opportunity lookup in opencode?

Build a procurement view that combines PennBid project names, agency references, closing times, and public-award flags. A coding agent can add open-bid searches, past-bid research, and individual listing checks to the project's existing interface.

Prepare an agency procurement brief

Combine an agency's open solicitations with its past listings, then check selected projects individually. Give the team a dated list of current work and previous procurement activity.

Research recurring purchases

Compare current and previous listings for work such as paving, sewer replacement, or treatment chemicals. Check individual records before describing similar titles as repeat purchases.

Investigate possible rebids

Compare open project names with closed solicitations from the same agency. Review the corresponding listing records to build a shortlist of possible rebids for a procurement analyst.

Map a contractor's local market

Build a county-level view of current and past public solicitations in a contractor's trade. Use agency references, project names, closing dates, and individual listing checks to organize the research.

Prioritize upcoming deadlines

Find open solicitations relevant to an estimating team and order them by closing time. Check shortlisted records before assigning staff to review the source documents.

Build a public-award review queue

Collect closed listings with public-award flags and check selected records. Produce links for researchers to review the award notices on PennBid.

Questions about PennBid opportunity lookup in opencode

Can opencode use PennBid opportunity lookup?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run PennBid opportunity lookup like any built-in tool.

How much does PennBid opportunity 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 PennBid opportunity lookup in opencode?

No. Spiral runs PennBid opportunity 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 PennBid opportunity lookup in opencode?

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

Does opencode wait while PennBid opportunity lookup runs?

PennBid opportunity lookup runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Does PennBid cover only Pennsylvania?

PennBid's current service-area page lists Delaware, Maryland, New York, Ohio, and Pennsylvania. These tools cover public listings on PennBid's Bonfire portal, without establishing complete procurement coverage for those states.

Do these records include the full bid documents?

The data provider reads listing records and explicitly excludes the opportunity detail page. PennBid places supporting documents and requested submission information on that separate details screen.

When does an opportunity become closed?

PennBid automatically closes the bidding period when the project's due date and time pass. Closing ends the period in which bidders can submit or alter their submissions.

How soon after closing are bid results public?

PennBid leaves the timing and content of public bid results to the agency manager. There is no single publication schedule that applies to every closed solicitation.

Does a missing public award mean the project was never awarded?

PennBid's awarding guide tells agencies to select Post Award Statement Publicly to publish an award statement. A listing without a public award therefore does not prove that the agency made no award.

Get started

Start using PennBid opportunity lookup 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