[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [PennBid opportunity lookup](https://spiral.ai/integrations/claude-code/pennbid-opportunity-lookup)

# How to Use PennBid opportunity lookup in Claude Code

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.

|  |  |
| --- | --- |
| Model | PennBid opportunity lookup |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with PennBid opportunity lookup in Claude Code

- Use PennBid opportunity lookup for project 252422 and add its returned listing record as a labeled example in our procurement documentation.
- 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 Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude 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.

```bash
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.

```bash
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: Claude Code finds PennBid opportunity lookup on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## PennBid opportunity lookup tools and prices

- [PennBid (Bonfire) public procurement portal · Get opportunity](https://spiral.ai/tools/alexandria/pennbid-bonfirehub-com/public-tenders/get_opportunity) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Detail URL: https://pennbid.bonfirehub.com/opportunities/{ProjectID} or https://pennbid.bonfirehub.com/opportunities/private/{PrivateProjectID}. |
| project_id |  | — | Bonfire ProjectID, as in the listings. Exactly one of `project_id` and `url`. Pattern: ^[0-9]{1,12}$. |

## What can you do with PennBid opportunity lookup in Claude Code?

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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## PennBid opportunity lookup in other agents

- [Amp](https://spiral.ai/integrations/amp/pennbid-opportunity-lookup)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/pennbid-opportunity-lookup)
- [Claude](https://spiral.ai/integrations/claude-desktop/pennbid-opportunity-lookup)
- [Cline](https://spiral.ai/integrations/cline/pennbid-opportunity-lookup)
- [Codex](https://spiral.ai/integrations/codex/pennbid-opportunity-lookup)
- [Cursor](https://spiral.ai/integrations/cursor/pennbid-opportunity-lookup)
- [Devin](https://spiral.ai/integrations/devin/pennbid-opportunity-lookup)
- [dots](https://spiral.ai/integrations/dots/pennbid-opportunity-lookup)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/pennbid-opportunity-lookup)
- [Gemini](https://spiral.ai/integrations/gemini/pennbid-opportunity-lookup)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/pennbid-opportunity-lookup)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/pennbid-opportunity-lookup)
- [goose](https://spiral.ai/integrations/goose/pennbid-opportunity-lookup)
- [Grok](https://spiral.ai/integrations/grok/pennbid-opportunity-lookup)
- [Grok Build](https://spiral.ai/integrations/grok-build/pennbid-opportunity-lookup)
- [Hermes](https://spiral.ai/integrations/hermes/pennbid-opportunity-lookup)
- [Instinct](https://spiral.ai/integrations/instinct/pennbid-opportunity-lookup)
- [Manus](https://spiral.ai/integrations/manus/pennbid-opportunity-lookup)
- [Muse](https://spiral.ai/integrations/muse/pennbid-opportunity-lookup)
- [Muse Code](https://spiral.ai/integrations/muse-code/pennbid-opportunity-lookup)
- [n8n](https://spiral.ai/integrations/n8n/pennbid-opportunity-lookup)
- [Notion](https://spiral.ai/integrations/notion/pennbid-opportunity-lookup)
- [OpenClaw](https://spiral.ai/integrations/openclaw/pennbid-opportunity-lookup)
- [opencode](https://spiral.ai/integrations/opencode/pennbid-opportunity-lookup)
- [Perplexity](https://spiral.ai/integrations/perplexity/pennbid-opportunity-lookup)
- [Raycast](https://spiral.ai/integrations/raycast/pennbid-opportunity-lookup)
- [VS Code](https://spiral.ai/integrations/vscode/pennbid-opportunity-lookup)
- [Windsurf](https://spiral.ai/integrations/windsurf/pennbid-opportunity-lookup)
- [Zapier](https://spiral.ai/integrations/zapier/pennbid-opportunity-lookup)

## More Claude Code guides

- [PennBid open bids](https://spiral.ai/integrations/claude-code/pennbid-open-bids)
- [PennBid past bids](https://spiral.ai/integrations/claude-code/pennbid-past-bids)
- [PNCP tender search](https://spiral.ai/integrations/claude-code/pncp-tender-search)
- [Public Purchase agency directory](https://spiral.ai/integrations/claude-code/public-purchase-agency-directory)
- [PNCP tender details](https://spiral.ai/integrations/claude-code/pncp-tender-details)
- [Public Purchase agency open bids](https://spiral.ai/integrations/claude-code/public-purchase-agency-open-bids)

## Questions about PennBid opportunity lookup in Claude Code

**Can Claude Code use PennBid opportunity lookup?**

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

**How much does PennBid opportunity lookup cost in Claude 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 Claude Code plan is separate.

**Do I need an Alexandria account to use PennBid opportunity lookup in Claude Code?**

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 Claude Code?**

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

**Does Claude Code wait while PennBid opportunity lookup runs?**

PennBid opportunity lookup runs in the background. Claude Code 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.

