Brasil Data (pay-per-call via x402)
Brazil CNPJ, CEP, Selic/IPCA/PTAX, holidays, banks/ISPB for agents. Pay per call in USDC (x402).
我该使用它吗
质量与安全性
发现(1)
- LOW在 holidays 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"brasil-data": {
"url": "https://brasil-data-x402.wagner-proc.workers.dev/mcp"
}
}
}远程端点
https://brasil-data-x402.wagner-proc.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"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.
输入模式
{
"type": "object",
"properties": {
"year": {
"type": "integer",
"minimum": 1990,
"maximum": 2100
}
},
"required": [
"year"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据