How to Use PNCP tender search in Grok
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.
Prompts to try with PNCP tender search in Grok
Copy an example into Grok, or ask in your own words.
Use PNCP tender search to find school-meal notices in São Paulo using “merenda escolar,” limited to notices receiving proposals. Show the buyer, procurement description, deadline, and source link.
Use PNCP tender search to find notebook notices in Minas Gerais, showing the newest first. Compare the returned procurement descriptions and proposal deadlines.
Use PNCP tender search to find price-registration minutes mentioning “material de escritório” in Paraná. Summarize the returned buyers and procurement descriptions with source links.
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 Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok 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 search
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_search", "input": { "query": "<query>" } }'
Then paste one of the prompts above: Grok finds PNCP tender search on Spiral, shows the price and runs it.
PNCP tender search providers and prices
Spiral runs PNCP tender search through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | 1 to 500 | 1 | page |
| Sort | newest, oldest, or relevance | newest | sort |
| Status | receiving_proposals, under_evaluation, closed, or 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 |
| Document type | edital, ata, or contrato | edital | edital = tender notice, ata = price-registration minutes, contrato = signed contract. |
| Government level | federal, state, or municipal | government_level |
Every API field of PNCP (Portal Nacional de Contratações Públicas) · Procurement search is on its tool page: open its card above.
What can you do with PNCP tender search in Grok?
Turn PNCP procurement records into a bid review brief with the buyer, requested goods or services, and proposal deadline. Compare published descriptions and item details to explain which opportunities deserve closer review.
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 search and Grok
Overview
PNCP tender search in other agents
Questions about PNCP tender search in Grok
Can Grok use PNCP tender search?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run PNCP tender search like any built-in tool.
How much does PNCP tender search cost in Grok?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need an Alexandria account to use PNCP tender search in Grok?
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 Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while PNCP tender search runs?
PNCP tender search runs in the background. Grok 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 search in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


