Skip to content
Eden Engine

Brazil Public Tenders by Publication Date (PNCP)

pncp/search-tenders-by-publication-date

Public procurement notices (contratacoes) published on Brazil's Portal Nacional de Contratacoes Publicas (PNCP) between two dates, for one procurement modality code (for example 6 Pregao Eletronico, 8 Dispensa), 10 to 50 per page. Dates are yyyymmdd. Each notice carries the buying body, object, estimated and homologated values, status and dates. The response includes totalPaginas, so read it from page 1: a page past the last returns no body and fails as a provider error. A start date after the end date is refused. Passed through unmodified (the PNCP content is CC BY-ND) and served by Eden Engine; not an official PNCP product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

Portal Nacional de Contratacoes Publicas (PNCP)

Source: Portal Nacional de Contratacoes Publicas (PNCP), https://www.gov.br/pncp (CC BY-ND 3.0). Passed through unmodified. Served by Eden Engine; not an official PNCP product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "pncp/search-tenders-by-publication-date" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "pncp/search-tenders-by-publication-date" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "pncp/search-tenders-by-publication-date", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "pncp/search-tenders-by-publication-date", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 20, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "dataInicial",
    "dataFinal",
    "codigoModalidadeContratacao",
    "pagina"
  ],
  "properties": {
    "pagina": {
      "type": "integer",
      "maximum": 100000,
      "minimum": 1,
      "description": "Page number, starting at 1."
    },
    "dataFinal": {
      "type": "string",
      "pattern": "^20[0-9]{2}(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])$",
      "description": "Last publication date, yyyymmdd. Must not be before dataInicial."
    },
    "dataInicial": {
      "type": "string",
      "pattern": "^20[0-9]{2}(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])$",
      "description": "First publication date, yyyymmdd, for example 20260101."
    },
    "tamanhoPagina": {
      "type": "integer",
      "maximum": 50,
      "minimum": 10,
      "description": "Notices per page, 10 to 50. Default 10."
    },
    "codigoModalidadeContratacao": {
      "type": "integer",
      "maximum": 99,
      "minimum": 1,
      "description": "Procurement modality code, required by the PNCP: 6 is Pregao Eletronico, 8 is Dispensa."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "data",
    "totalRegistros",
    "totalPaginas",
    "numeroPagina"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "modalidadeId": {
            "type": "integer"
          },
          "objetoCompra": {
            "type": "string",
            "description": "Object of the procurement."
          },
          "orgaoEntidade": {
            "type": "object",
            "description": "The buying body.",
            "additionalProperties": true
          },
          "modalidadeNome": {
            "type": "string"
          },
          "dataPublicacaoPncp": {
            "type": "string"
          },
          "numeroControlePNCP": {
            "type": "string",
            "description": "PNCP control number of the notice."
          },
          "situacaoCompraNome": {
            "type": "string",
            "description": "Status of the procurement."
          },
          "valorTotalEstimado": {
            "type": [
              "number",
              "null"
            ]
          },
          "valorTotalHomologado": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": true
      },
      "description": "The notices on this page, exactly as the PNCP returns them."
    },
    "empty": {
      "type": "boolean"
    },
    "numeroPagina": {
      "type": "integer"
    },
    "totalPaginas": {
      "type": "integer"
    },
    "totalRegistros": {
      "type": "integer",
      "description": "Notices across all pages."
    },
    "paginasRestantes": {
      "type": "integer"
    }
  },
  "description": "One page of notices and the PNCP's paging counters.",
  "additionalProperties": true
}