Brazil Central Bank & Finance Calculators (x402)
io.github.brunopompeo1/br-fin-calculators-x402
MCP server OK 3 tools
BCB SGS inflation (IPCA/IGPM/SELIC/CDI), official PTAX FX & Price/SAC loans via x402 Base USDC.
Technical sheet
- Author
- brunopompeo1 (registry namespace)
- Repository
- github.com/brunopompeo1/brazil-ai-fiscal-apis-x402
- Site
- github.com/brunopompeo1/brazil-ai-fiscal-apis-x402
- Version
- 2.7.1
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://br-fin-calculators-x402.architect-x402.workers.dev/mcp Streamable HTTP
- Tools
- 3
- Categories
- Finance and payments, Commerce and marketing
- Last updated
- 26 Nov 2026
- Published
- 26 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.brunopompeo1/br-fin-calculators-x402)<a href="https://latlas.dev/en/mcp/io.github.brunopompeo1/br-fin-calculators-x402"><img src="https://latlas.dev/badge/statut/mcp/io.github.brunopompeo1/br-fin-calculators-x402.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.brunopompeo1/br-fin-calculators-x402)<a href="https://latlas.dev/en/mcp/io.github.brunopompeo1/br-fin-calculators-x402"><img src="https://latlas.dev/badge/fiche/io.github.brunopompeo1/br-fin-calculators-x402.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://br-fin-calculators-x402.architect-x402.workers.dev/mcp
- Last result
- OK 28 Nov 2026, 09:00
- Response time
- 204 ms (initialize + tools/list)
- Protocol version
- 2025-06-18
- Announced name
- br-fin-calculators-x402 2.7.1
- Tools
- 3
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 09:00 | OK | 204 ms | 3 |
Exposed tools (3, from tools/list, 28 Nov 2026)
br_correct_monetary_value
Brazil monetary correction (official BCB SGS indices)
Restates a BRL amount between two dates with the official Central Bank of Brazil SGS series (IPCA, IGPM, INPC, SELIC or CDI) and returns the corrected amount, accumulated percentage, compounding factor, SGS series id and month count. Use it for contract and rent readjustment, judicial arrears, inflation-adjusted pricing and receivable updates. Do not use it to convert between currencies (use br_convert_ptax_fx) or to build installment plans (use br_simulate_loan_amortization). Read-only and idempotent: it writes nothing and the same window plus index always returns the same figure, so a retry is safe and never double-charges beyond the per-call price. It fetches live BCB data, so months BCB has not published yet are simply skipped and monthsCount reveals how many observations were applied. Costs 0.005 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header and a BCB outage or malformed input returns a JSON body with success:false plus an error code, never an exception, so an agent loop never breaks.
| Parameter | Type | Required | Description |
|---|---|---|---|
| amountBRL | number | yes | Nominal amount in BRL to restate, as a plain number (10000 means R$ 10.000,00). Must be greater than zero. |
| index | enum: "IPCA" | "IGPM" | "INPC" | "SELIC" | "CDI" | yes | Official BCB SGS series to apply. IPCA is headline consumer inflation and the default choice for judicial and general contract correction; IGPM is the market standard for commercial rent; INPC tracks lower-income baskets and labour agreements; SELIC and CDI accumulate interest rather than inflation… |
| startDate | string | yes | Inclusive start of the correction window as YYYY-MM-DD. The BCB series is monthly, so any day inside a month selects that whole month. |
| endDate | string | yes | Inclusive end of the correction window as YYYY-MM-DD. Must be on or after startDate; if it falls in a month BCB has not published, that month is skipped instead of failing. |
| includeBreakdown | boolean | no | When true, also returns monthlyBreakdown with each month's rate and running factor. Enlarges the payload but costs nothing extra and adds no latency. |
| aiSummary | boolean | no | When true (the default), appends aiExecutiveBrief, a one-sentence Portuguese summary generated at the edge. Set false to cut roughly 80 ms of latency and the extra tokens. |
br_convert_ptax_fx
Brazil official PTAX currency conversion (BCB Olinda)
Converts an amount between BRL, USD, EUR and GBP at the official Central Bank of Brazil PTAX rate and returns the converted amount, the BRL equivalent and every PTAX bulletin used. Use it whenever a figure must stand up to Brazilian tax, accounting or audit scrutiny, including import and export invoices, transfer pricing and cross-border contracts. Do not use it for a tradable market or retail spread quote, nor for inflation restatement over time (use br_correct_monetary_value). Read-only and idempotent for a given date; omitting date returns the most recent published bulletin, so a later retry may legitimately pick up a newer rate. It prefers the official 'Fechamento PTAX' closing bulletin and falls back to the latest intraday bulletin, reporting which one it used in bulletinType. Costs 0.005 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; weekends, Brazilian holidays and dates with no published quote come back as ptaxConversion.ok:false with a Portuguese reason instead of an exception, and an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header.
| Parameter | Type | Required | Description |
|---|---|---|---|
| amount | number | yes | Amount to convert, expressed in the 'from' currency, as a plain number (1000 means 1.000,00). |
| from | enum: "BRL" | "USD" | "EUR" | "GBP" | yes | Source currency. PTAX is always quoted against BRL, so a non-BRL pair such as USD to EUR is routed through BRL using both bulletins. |
| to | enum: "BRL" | "USD" | "EUR" | "GBP" | yes | Target currency. Must differ from 'from' for the conversion to be meaningful. |
| date | string | no | Optional reference date as YYYY-MM-DD. Omit it for the latest published bulletin. The lookup scans the 10 days up to this date, so a weekend or holiday resolves to the previous business day; a future date has no quote and fails cleanly. |
| aiSummary | boolean | no | When true (the default), appends aiExecutiveBrief, a one-sentence Portuguese summary. Set false to cut roughly 80 ms of latency. |
br_simulate_loan_amortization
Price and SAC loan amortization simulator
Simulates a Brazilian loan or financing under the Price (constant installment) and SAC (constant principal) systems and returns installment values, total paid, total interest and, on request, the full month-by-month table. Use it to compare financing offers, size an installment plan, or expose interest cost before a credit decision. Do not use it to restate a past amount by an inflation index (use br_correct_monetary_value) or to convert currency (use br_convert_ptax_fx). Deterministic, read-only and fully computed at the edge with no external data source, so identical input always returns identical output and a retry is always safe. Costs 0.005 USDC per call via x402 v2 on Base (eip155:8453) or a B2B X-API-Key; out-of-range input is clamped rather than rejected (term is bounded to 1..420 months and negative principal or rate becomes zero), while an unpaid call returns HTTP 402 with a PAYMENT-REQUIRED header and malformed JSON returns HTTP 400 with success:false, never an exception.
| Parameter | Type | Required | Description |
|---|---|---|---|
| principal | number | yes | Financed amount in BRL, as a plain number (50000 means R$ 50.000,00). Negative values are clamped to zero. |
| monthlyInterestRatePct | number | yes | Nominal monthly interest rate in percent, not a decimal fraction: 1.49 means 1,49% per month, roughly 19,4% per year. Pass 0 for an interest-free plan, in which case Price splits the principal evenly. |
| months | integer | yes | Term in months. Values are floored and clamped to the 1..420 range (420 months is the 35-year ceiling of Brazilian mortgage practice). |
| system | enum: "PRICE" | "SAC" | "BOTH" | no | Amortization system to compute. PRICE keeps the installment constant and back-loads principal; SAC keeps principal constant so installments start higher and fall, with less total interest. BOTH (the default) returns the two side by side for comparison and costs the same single call. |
| includeSchedule | boolean | no | When true, each requested system also returns its full schedule array. With BOTH and a long term this can mean hundreds of rows, so leave it false when only totals matter. |
| aiSummary | boolean | no | When true (the default), appends aiExecutiveBrief, a one-sentence Portuguese summary. Set false to cut roughly 80 ms of latency. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://br-fin-calculators-x402.architect-x402.workers.dev/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http br-fin-calculators-x402 https://br-fin-calculators-x402.architect-x402.workers.dev/mcpCustomize > Connectors > + Add > Add custom connector ; Name : br-fin-calculators-x402 ; URL : https://br-fin-calculators-x402.architect-x402.workers.dev/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : br-fin-calculators-x402 ; Server URL : https://br-fin-calculators-x402.architect-x402.workers.dev/mcp ; Create as a plugin{
"mcpServers": {
"br-fin-calculators-x402": {
"url": "https://br-fin-calculators-x402.architect-x402.workers.dev/mcp"
}
}
}{
"mcpServers": {
"br-fin-calculators-x402": {
"type": "http",
"url": "https://br-fin-calculators-x402.architect-x402.workers.dev/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"br-fin-calculators-x402": {
"url": "https://br-fin-calculators-x402.architect-x402.workers.dev/mcp"
}
}
}{
"mcpServers": {
"br-fin-calculators-x402": {
"httpUrl": "https://br-fin-calculators-x402.architect-x402.workers.dev/mcp"
}
}
}[mcp_servers.br-fin-calculators-x402]
url = "https://br-fin-calculators-x402.architect-x402.workers.dev/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Brazil Central Bank & Finance Calculators (x402) · L’Atlas · Tested on
[Brazil Central Bank & Finance Calculators (x402) — L’Atlas](https://latlas.dev/en/mcp/io.github.brunopompeo1/br-fin-calculators-x402)Source : Registre officiel MCP · retrieved 3 Dec 2026. L’Atlas adds no data beyond this source and its own tests.