[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [PNCP tender details](https://spiral.ai/integrations/n8n/pncp-tender-details)

# How to Use PNCP tender details in n8n

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, with a Spiral API key |

## Prompts to try with PNCP tender details in n8n

- Once a week, use PNCP tender details for 46395000000139-1-000001/2024. Report any changes from the previous observation in status, item descriptions, quantities, or published document links.
- Every Friday, use PNCP tender details for https://pncp.gov.br/app/editais/13635016000112/2025/309. Compare its published status, totals, and document links with the previous report and report only changes.
- Every Monday at 9am: use PNCP tender details to look this up and give me the result as a table.
- 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 n8n

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

### Use the Spiral skill

1. **Send n8n 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. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run PNCP tender details in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds PNCP tender details, prices it and runs it each time the step fires.

### 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: n8n finds PNCP tender details on Spiral, shows the price and runs it.

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

## 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 n8n?

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 n8n guides](https://spiral.ai/integrations/n8n)

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

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

## Questions about PNCP tender details in n8n

**Can n8n use PNCP tender details?**

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

**How much does PNCP tender details cost in n8n?**

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

**Do I need an Alexandria account to use PNCP tender details in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs PNCP tender details on its own Alexandria account.

**How long does it take to set up PNCP tender details in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while PNCP tender details runs?**

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

