[Integrations](https://spiral.ai/integrations) › [OpenClaw](https://spiral.ai/integrations/openclaw) › [PNCP tender search](https://spiral.ai/integrations/openclaw/pncp-tender-search)

# How to Use PNCP tender search in OpenClaw

Find Brazilian tender notices, price-registration minutes, and contracts published on PNCP. Use the results to shortlist relevant procurement records before investigating an individual tender’s items and documents.

|  |  |
| --- | --- |
| Model | PNCP tender search |
| 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 PNCP tender search in OpenClaw

- Every weekday, use PNCP tender search to find notices for “merenda escolar” in São Paulo that are receiving proposals. Report newly observed notices with their buyers, deadlines, and source links.
- Each morning, use PNCP tender search to find the newest notebook notices in Minas Gerais. Compare them with the previous report and list newly observed procurement records.
- Every Monday, use PNCP tender search to find cleaning-service contracts in Paraná using “limpeza.” Summarize newly observed records by buyer and procurement description.
- Every Monday at 9am: use PNCP tender search to look this up and give me the result as a table.
- Pull the latest numbers from PNCP tender search and tell me what changed since last week.

## How to set up PNCP tender search in OpenClaw

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

### Use the Spiral skill

1. **Send OpenClaw 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 Spiral's MCP server

1. **Add the server**: On the machine that runs OpenClaw's Gateway:

```bash
openclaw mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --transport streamable-http \
  --auth oauth
```

2. **Sign in**: In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

```bash
openclaw mcp login spiral
```

3. **Reload and check**: A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

```bash
openclaw mcp reload
openclaw mcp doctor spiral --probe
```

### 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 PNCP tender search**: 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": "pncp-gov-br/procurement/procurement_search",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: OpenClaw finds PNCP tender search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/openclaw

## PNCP tender search tools and prices

- [PNCP (Portal Nacional de Contratações Públicas) · Procurement search](https://spiral.ai/tools/alexandria/pncp-gov-br/procurement/procurement_search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 500 | 1 | page |
| sort | newest, oldest, relevance | newest | sort |
| state |  | — | Two-letter UF code of the buyer, e.g. SP, RJ, MG. Pattern: ^[A-Za-z]{2}$. |
| status | receiving_proposals, under_evaluation, closed, all | all | Notice phase filter (editais only). |
| modality | 1 to 14 | — | PNCP modality code: 1 Leilão eletrônico, 2 Diálogo competitivo, 3 Concurso, 4 Concorrência eletrônica, 5 Concorrência presencial, 6 Pregão eletrônico, 7 Pregão presencial, 8 Dispensa, 9 Inexigibilidade, 10 Manifestação de interesse, 11 Pré-qualificação, 12 Credenciamento, 13 Leilão presencial, 14 Inaplicabilidade. |
| page_size | 1 to 100 | 20 | page_size |

## What can you do with PNCP tender search in OpenClaw?

Maintain a daily shortlist of relevant PNCP notices and their published proposal deadlines. Recheck selected procurement records to flag changes in status, deadlines, or requested items between observations.

### Shortlist school-meal opportunities

Find notices about school meals in São Paulo using Portuguese terms such as “merenda escolar.” Inspect selected notices’ line items and published documents to assess whether the requested supplies fit your business.

### Prepare a bid review brief

Find relevant equipment tenders, then turn selected procurement records into a brief containing the buyer, procurement object, proposal deadline, item quantities, and document links.

### Compare published purchasing requirements

Find notebook procurement notices across Minas Gerais and inspect their item descriptions and quantities. Compare what the agencies requested before deciding which opportunities warrant technical review.

### Maintain a proposal deadline watch

Find relevant notices receiving proposals and revisit selected procurement records for their published deadlines and status. Build a review calendar using Brasília time.

### Research public-sector demand

Find notices for cleaning services in Paraná and inspect selected procurements’ scope and line items. Summarize the services and quantities requested in the records reviewed.

### Assemble a procurement evidence packet

Locate notices relevant to a public-spending investigation, then collect the selected procurements’ buyer information, estimated and awarded totals, and published file links for review.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All OpenClaw guides](https://spiral.ai/integrations/openclaw)

## PNCP tender search in other agents

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

## More OpenClaw guides

- [PNCP tender details](https://spiral.ai/integrations/openclaw/pncp-tender-details)
- [PennBid open bids](https://spiral.ai/integrations/openclaw/pennbid-open-bids)
- [OregonBuys open bids](https://spiral.ai/integrations/openclaw/oregonbuys-open-bids)
- [PennBid opportunity lookup](https://spiral.ai/integrations/openclaw/pennbid-opportunity-lookup)
- [OregonBuys bid search](https://spiral.ai/integrations/openclaw/oregonbuys-bid-search)
- [PennBid past bids](https://spiral.ai/integrations/openclaw/pennbid-past-bids)

## Questions about PNCP tender search in OpenClaw

**Can OpenClaw use PNCP tender search?**

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run PNCP tender search like any built-in tool.

**How much does PNCP tender search cost in OpenClaw?**

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

**Do I need an Alexandria account to use PNCP tender search in OpenClaw?**

No. Spiral runs PNCP tender search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up PNCP tender search in OpenClaw?**

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

**Does OpenClaw wait while PNCP tender search runs?**

PNCP tender search runs in the background. OpenClaw starts the run, checks on it and gives you the json when it's ready.

**Does PNCP cover municipal procurement as well as federal procurement?**

Yes. PNCP covers published procurement from Brazil’s federal, state, and municipal administrations.

**Does PNCP contain contracts or only tender notices?**

PNCP publishes tender notices, contracts, and price-registration minutes. Choose the record type that matches your research: an opportunity notice, a registration record, or a contract.

**Who keeps PNCP records up to date?**

Each contracting agency is responsible for updating and correcting the records it publishes. The age of a PNCP record therefore depends on that agency’s updates.

**Who is responsible if a notice or attachment contains an error?**

PNCP assigns responsibility for the accuracy of procurement information and files to the contracting agency. Publication on PNCP does not transfer that responsibility to the portal.

**Are all procurement estimates visible?**

PNCP supports confidential item budgets. Its documentation says estimated values can return as zero when the budget is confidential and the item has no result, so zero alone does not establish the item’s value.

