Brasil Data (pay-per-call via x402)
Brazil CNPJ, CEP, Selic/IPCA/PTAX, holidays, banks/ISPB for agents. Pay per call in USDC (x402).
Should I use this
Quality & Safety
Findings (1)
- LOWin holidays
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"brasil-data": {
"url": "https://brasil-data-x402.wagner-proc.workers.dev/mcp"
}
}
}Remote endpoints
https://brasil-data-x402.wagner-proc.workers.dev/mcpstreamable-httpWhat it can do
Tool inventory
Tools (8)
⚪cnpj_lookup(cnpj)
Brazilian company (CNPJ) registry lookup from Receita Federal open data, normalized: legal/trade name, status, CNAE activities, address, Simples/MEI, partners (QSA). Supports alphanumeric CNPJ. Price: $0.01 USDC per call via x402; first call per tool per day is free. Example response: {"cnpj":"19131243000197","legal_name":"OPEN KNOWLEDGE BRASIL","trade_name":"REDE PELO CONHECIMENTO LIVRE","status":{"description":"ATIVA","since":"2013-10-03"},"opened_on":"2013-10-03","main_activity":{"cnae":"9430800","description":"Atividades de associações de defesa de direitos sociais"},"address":{"street":"AVENIDA PAULISTA 37","district":"BELA VISTA","city":"SAO PAULO","uf":"SP","cep":"01311902"},"simples_nacional":{"opted":null},"partners":[{"name":"LUIZ CARLOS PINHO GUEDES","role":"Diretor"}]}
Input Schema
{
"type": "object",
"properties": {
"cnpj": {
"type": "string",
"description": "CNPJ, 14 chars, with or without punctuation (alphanumeric supported)"
}
},
"required": [
"cnpj"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡selic_rate
Current Brazilian policy rate (Selic target set by Copom), effective daily Selic and CDI, annualized, from Banco Central do Brasil. Price: $0.005 USDC per call via x402; first call per tool per day is free. Example response: {"selic_target":{"value":13.75,"unit":"% a.a.","as_of":"2026-10-15"},"selic_daily_annualized":{"value":13.65,"unit":"% a.a."},"cdi_annualized":{"value":13.65,"unit":"% a.a."}}
Input Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪ipca_inflation(months)
Brazilian official inflation (IPCA, IBGE via BCB): latest monthly change, 12-month accumulated, and monthly history. Price: $0.005 USDC per call via x402; first call per tool per day is free. Example response: {"latest_month":{"reference":"2026-09","value":0.82,"unit":"% a.m."},"accumulated_12m":{"reference":"2026-09","value":4.58,"unit":"%"},"history":[{"reference":"2026-08","value":-0.32},{"reference":"2026-09","value":0.82}]}
Input Schema
{
"type": "object",
"properties": {
"months": {
"description": "Months of history (default 12)",
"type": "integer",
"minimum": 1,
"maximum": 60
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪ptax_exchange_rate(currency, date)
Official PTAX exchange rate (BRL per unit of foreign currency) published by Banco Central do Brasil for a given date; falls back to the last bulletin before a weekend/holiday. Price: $0.005 USDC per call via x402; first call per tool per day is free. Example response: {"currency":"USD","requested_date":"2026-10-14","quote_date":"2026-10-14","buy_brl":5.0435,"sell_brl":5.0441,"bulletin":"Fechamento PTAX"}
Input Schema
{
"type": "object",
"properties": {
"currency": {
"description": "ISO currency code (default USD)",
"type": "string",
"minLength": 3,
"maxLength": 3
},
"date": {
"description": "YYYY-MM-DD (default today, BRT)",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡business_days(from, to, date, add)
Brazilian business-day calculator (national + banking holidays): count business days between two dates (DU convention, (from, to]) or add N business days to a date. Price: $0.005 USDC per call via x402; first call per tool per day is free. Example response: {"mode":"count","from":"2026-10-01","to":"2026-10-31","business_days":20,"calendar":"BR national + banking holidays"}
Input Schema
{
"type": "object",
"properties": {
"from": {
"description": "Start date YYYY-MM-DD (count mode, exclusive)",
"type": "string"
},
"to": {
"description": "End date YYYY-MM-DD (count mode, inclusive)",
"type": "string"
},
"date": {
"description": "Base date YYYY-MM-DD (add/check mode)",
"type": "string"
},
"add": {
"description": "Business days to add (negative to subtract)",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢bank_lookup(query)
Brazilian bank / payment institution lookup by COMPE code, ISPB, CNPJ or name, merged from Banco Central's STR participant list and active Pix participant list. Price: $0.005 USDC per call via x402; first call per tool per day is free. Example response: {"query":"260","count":1,"results":[{"ispb":"18236120","compe_code":"260","short_name":"NU PAGAMENTOS - IP","cnpj":"18236120000158","pix":{"participant":true}}]}
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "COMPE code (e.g. 260), ISPB (8 digits), CNPJ, or name"
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪cep_lookup(cep)
Brazilian postal code (CEP) to address: street, district, city, UF, IBGE city code, DDD. Free. Example response: {"cep":"01001000","street":"Praça da Sé","district":"Sé","city":"São Paulo","uf":"SP","region":"Sudeste","city_ibge":"3550308","ddd":"11"}
Input Schema
{
"type": "object",
"properties": {
"cep": {
"type": "string",
"description": "CEP, 8 digits, e.g. 01001-000"
}
},
"required": [
"cep"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪holidays(year)
Brazilian national and banking holidays for a year (incl. Carnival, Good Friday, Corpus Christi, Nov 20). Free. Example response: {"year":2026,"holidays":[{"date":"2026-01-01","name":"Confraternização Universal","name_en":"New Year's Day","kind":"national"},{"date":"2026-02-16","name":"Carnaval (segunda-feira)","kind":"banking"}]}
Input Schema
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"minimum": 1990,
"maximum": 2100
}
},
"required": [
"year"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Evidence