Skip to content
Eden Engine

Brazil SICONFI Entities: Municipalities and States by State Code

tesourosiconfi/entities

Lists the Brazilian federative entities (municipalities and the state itself) that report to SICONFI, the National Treasury's fiscal reporting system, for one state: IBGE code, name, region, state, sphere (M municipality, E state), capital flag, population and CNPJ. Takes a two-letter state code in capitals (SP, RJ, MG) and a page size, with an optional offset to page through states with hundreds of municipalities. The IBGE code returned is the id_ente the other SICONFI tools need. A state code that matches nothing returns an empty list. Brazilian National Treasury data as served by Eden Engine; not an official Tesouro Nacional 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

Secretaria do Tesouro Nacional (SICONFI)

Data from the Secretaria do Tesouro Nacional (Tesouro Nacional), SICONFI. No attribution is required; credited as a courtesy. Served by Eden Engine; not an official Tesouro Nacional 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: "tesourosiconfi/entities" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "tesourosiconfi/entities" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "tesourosiconfi/entities", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "tesourosiconfi/entities", 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": [
    "uf",
    "limit"
  ],
  "properties": {
    "uf": {
      "type": "string",
      "pattern": "^[A-Z]{2}$",
      "description": "Two-letter Brazilian state code in capitals, for example SP, RJ or MG."
    },
    "limit": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1,
      "description": "Rows per page, 1 to 200. Required: the service itself returns thousands of rows when no limit is sent."
    },
    "offset": {
      "type": "integer",
      "maximum": 100000,
      "minimum": 0,
      "description": "Rows to skip, for paging. A page with fewer rows than the limit is the last. Defaults to 0."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "uf": {
            "type": "string",
            "description": "State code."
          },
          "cnpj": {
            "type": "string",
            "description": "CNPJ of the entity."
          },
          "ente": {
            "type": "string",
            "description": "Name of the municipality or state."
          },
          "esfera": {
            "type": "string",
            "description": "Sphere: M municipality, E state, U union."
          },
          "regiao": {
            "type": "string",
            "description": "Region code, for example SE."
          },
          "capital": {
            "type": "string",
            "description": "Capital flag as a padded string: 1 for a state capital, 0 otherwise."
          },
          "cod_ibge": {
            "type": "integer",
            "description": "IBGE code, the id_ente of the other SICONFI tools."
          },
          "exercicio": {
            "type": "integer",
            "description": "Reference year of the record."
          },
          "populacao": {
            "type": "integer",
            "description": "Population."
          }
        },
        "additionalProperties": true
      },
      "description": "One entry per row, in the order SICONFI sends them. Empty when the filters match nothing."
    }
  },
  "description": "The entities of one state that report to SICONFI.",
  "additionalProperties": true
}