[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [PNCP tender details](https://spiral.ai/integrations/claude-code/pncp-tender-details)

# How to Use PNCP tender details in Claude Code

Get one Brazilian procurement’s buyer, estimated and awarded totals, proposal deadlines, line items, and published document links. Use it to assess a specific notice and inspect its requirements after finding an opportunity.

|  |  |
| --- | --- |
| Model | PNCP tender details |
| 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 details in Claude Code

- Use PNCP tender details for 46395000000139-1-000001/2024 and create a Markdown brief in this repository with the buyer, procurement object, proposal deadline, line items, and published file links.
- Use PNCP tender details for https://pncp.gov.br/app/editais/13635016000112/2025/309 and save its item descriptions, quantities, units, and document links as JSON in this project.
- Use PNCP tender details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from PNCP tender details and tell me what changed since last week.
- Check PNCP tender details and summarize what you find in three bullet points.

## How to set up PNCP tender details 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 PNCP tender details**: 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_detail",
    "input": {
      "pncp_control_number": "<pncp_control_number>"
    }
  }'
```

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

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

## PNCP tender details tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | Alternatively a PNCP notice page URL, e.g. https://pncp.gov.br/app/editais/46395000000139/2024/1. Pattern: ^https?://(www\.)?pncp\.gov\.br/app/editais/. |
| cnpj |  | — | Buyer CNPJ (14 digits, punctuation optional). Use together with year and sequence. |
| year | 2021 to 2100 | — | year |
| sequence | 1 to … | — | sequence |
| include_files |  | — | Fetch the published document list (notice, annexes). |
| include_items |  | — | Fetch up to 500 line items. |

## What can you do with PNCP tender details in Claude Code?

Build a procurement review table populated with PNCP buyers, procurement descriptions, and proposal deadlines. Use detailed records to add item quantities and document links to the notices your team selects.

### 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 Claude Code guides](https://spiral.ai/integrations/claude-code)

## PNCP tender details in other agents

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

## More Claude Code guides

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

## Questions about PNCP tender details in Claude Code

**Can Claude Code use PNCP tender details?**

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

**How much does PNCP tender details 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 PNCP tender details in Claude Code?**

No. Spiral runs PNCP tender details 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 details in Claude Code?**

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

**Does Claude Code wait while PNCP tender details runs?**

PNCP tender details runs in the background. Claude Code 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.

