brazil_search_contracts

Pack: brazil-pncp · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/brazil_search_contracts for the schema, then POST the same URL with its arguments for the data.

Search signed Brazilian government contracts (contratos) from the official PNCP portal (Portal Nacional de Contratações Públicas). Covers federal, state, and municipal agencies under Lei 14.133/2021. Returns each contract with its PNCP control id, object (Portuguese), global value in BRL, supplier name and tax id (CNPJ/CPF), contracting agency, state/municipality, and signing/validity dates. Dates are YYYYMMDD and filter by PNCP publication date; omit them to get roughly the last 30 days.

Parameters

NameTypeRequiredDescription
date_fromstringnoStart date (PNCP publication) as YYYYMMDD, e.g. “20260501”. Defaults to ~30 days ago.
date_tostringnoEnd date (PNCP publication) as YYYYMMDD, e.g. “20260601”. Defaults to today.
pagenumber,stringnoPage number (1-based). Default 1.

Example call

Arguments

{
  "date_from": "20260401",
  "date_to": "20260501"
}

curl

curl -X POST https://gateway.pipeworx.io/brazil-pncp/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"brazil_search_contracts","arguments":{"date_from":"20260401","date_to":"20260501"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('brazil_search_contracts', {
  "date_from": "20260401",
  "date_to": "20260501"
});

More examples

{
  "page": 2
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the brazil-pncp pack
{
  "mcpServers": {
    "brazil-pncp": {
      "url": "https://gateway.pipeworx.io/brazil-pncp/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 30, 2026