How to Use PNCP tender details in VS 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.
Prompts to try with PNCP tender details in VS Code
Copy an example into VS Code, or ask in your own words.
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 VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run PNCP tender details
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": "pncp-gov-br/procurement/procurement_detail", "input": { "pncp_control_number": "<pncp_control_number>" } }'
Then paste one of the prompts above: VS Code finds PNCP tender details on Spiral, shows the price and runs it.
PNCP tender details providers and prices
Spiral runs PNCP tender details through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Year | 2021 to 2100 | year | |
| Sequence | a number from 1 | sequence | |
| Include files | on or off | Fetch the published document list (notice, annexes). | |
| Include items | on or off | Fetch up to 500 line items. |
Every API field of PNCP (Portal Nacional de Contratações Públicas) · Procurement detail is on its tool page: open its card above.
What can you do with PNCP tender details in VS 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.
More on PNCP tender details and VS Code
Overview
PNCP tender details in other agents
Questions about PNCP tender details in VS Code
Can VS Code use PNCP tender details?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run PNCP tender details like any built-in tool.
How much does PNCP tender details cost in VS 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 VS Code plan is separate.
Do I need an Alexandria account to use PNCP tender details in VS 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 VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while PNCP tender details runs?
PNCP tender details runs in the background. VS 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.
Start using PNCP tender details in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


