bcb-brazil-ptax-fx-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bcb-brazil-ptax-fx-mcp convert 250000 BRL to USD at today's PTAX sell rate"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
bcb-brazil-ptax-fx-mcp
Central Bank of Brazil (BCB) official PTAX FX buy and sell settlement rates, USD and multi-currency BRL conversion, and PTAX spread analysis over Model Context Protocol (MCP). LATAM treasury desks, cross-border payment engineers, and finance teams can query olinda.bcb.gov.br/olinda/servico/PTAX/versao/v1/odata/ with zero API keys and zero sign-up. It connects right away.
Hosted endpoint
Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.
https://bcb-brazil-ptax-fx-mcp.lipmichal.workers.dev/mcpRelated MCP server: @cyanheads/exchange-rates-mcp-server
Available tools
Tool | Purpose |
| List all official foreign currencies published by the BCB PTAX OData service |
| Fetch official USD/BRL PTAX closing buy, sell, midpoint, and spread (bps) settlement rates |
| Fetch official BCB PTAX BRL buy/sell rates and USD parity for EUR, GBP, JPY, CHF, CAD, and more |
| Convert amounts between BRL and PTAX currencies using buy, sell, or midpoint closing settlement rates |
| Analyze multi-day PTAX closing rate trends, period percent change, and average bid-ask spread in bps |
Client configuration
Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.
{
"mcpServers": {
"bcb-brazil-ptax-fx": {
"url": "https://bcb-brazil-ptax-fx-mcp.lipmichal.workers.dev/mcp"
}
}
}Run locally over stdio
You can also run the server locally on Node 20 or newer over stdio.
npm install
npm run build
npm startCompliance and reliability
Every upstream request queries olinda.bcb.gov.br/olinda/servico/PTAX/versao/v1/odata/ with a polite User-Agent header (mcpstamp-bcb-brazil-ptax-fx/1.0 (hello@mcpstamp.com)), a hard 12-second timeout, and automatic retry on transient 5xx or 429 responses. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates newer MCP protocol headers cleanly.
More MCP servers and readiness check
This server belongs to the public MCP directory maintained by MCPStamp and Zovo.
Free live-data MCP directory with hosted keyless endpoints and client setup guides.
Free MCP readiness checker to score any MCP server for Claude, ChatGPT, and registry submission.
MCP Readiness Audit ($490) for teams shipping a production server who want a hands-on security, schema, and store review.
Zovo Pro MCP Bundle ($39 one-time) with hosted commercial servers and priority endpoints.
Available Tools
5 toolsconvert_brl_ptaxConvert currency using BCB PTAXBRead-onlyIdempotentInspect
Convert an amount between BRL and USD or any BCB PTAX currency using official buy, sell, or midpoint closing rates.
Inputs: to (required), from (required), amount (required), rate_type.
get_bcb_currency_ptaxGet BCB currency PTAX ratesBRead-onlyIdempotentInspect
Fetch official BCB PTAX BRL buy/sell rates and USD parity for any PTAX currency with bulletin filtering.
Inputs: currency (required), bulletin, end_date, days_back, +1 more.
get_bcb_ptax_spread_analysisAnalyze BCB PTAX trend and spreadBRead-onlyIdempotentInspect
Analyze closing BCB PTAX rate trends, min/max, percent change, and average bid-ask spread in bps over a lookback window.
Inputs: currency, days_back.
get_bcb_usd_ptaxGet BCB USD/BRL PTAX ratesARead-onlyIdempotentInspect
Fetch latest or historical official BCB USD/BRL PTAX closing buy, sell, midpoint, and spread (bps) settlement rates.
Inputs: end_date, days_back, start_date.
list_bcb_ptax_currenciesList BCB PTAX currenciesARead-onlyIdempotentInspect
List all official foreign currencies published by the Central Bank of Brazil PTAX OData service.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Most tools target distinct operations (listing currencies, spread analysis, conversion), but get_bcb_usd_ptax overlaps heavily with get_bcb_currency_ptax since USD is one of the PTAX currencies covered by the generic tool. Descriptions add some separation (USD-specific includes midpoint/spread, generic adds bulletin filtering), but an agent could still misselect between them.
All names share a bcb_ptax / brl_ptax domain marker and follow a verb_noun structure (list_..., get_..., convert_...). The only minor inconsistency is convert_brl_ptax placing the domain noun before the verb target, but the pattern remains readable.
Five tools is well-scoped for a focused FX rate domain, covering listing, retrieval, analysis, and conversion without redundancy or filler. Each tool clearly earns its place.
The surface covers the core lifecycle: discovering currencies, fetching USD or arbitrary currency rates with historical support, analyzing spreads, and converting amounts. Minor gaps exist (e.g., no bulk date-range retrieval or explicit cross-currency rate tool), but core workflows are covered.
Maintenance
Related MCP Connectors
Exchange rates from central banks over REST and MCP, with the source and publish time on every rate.
ExchangeRate MCP — wraps open.er-api.com (free, no auth)
Unofficial Exchange MCP — wraps the Frankfurter currency exchange API (free, no auth)
Brazil PTAX, CNPJ/KYB, CEIS-CNEP sanctions, PIX and boleto. Paid x402 MCP API (USDC on Base).
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables fetching Brazilian stock, crypto, and ETF quotes, as well as inflation and prime rate data via MCP tools.68 npmMIT
- AlicenseNot gradedqualityBmaintenanceConvert currencies, get FX rates, and query historical ECB exchange rate data via MCP.420 npm1Apache 2.0
- AlicenseAqualityCmaintenanceEnables querying official Brazilian Central Bank PTAX dollar closing exchange rates by specific date, date range, or most recent available quotation.313 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables querying official Brazilian Central Bank currency exchange rates and quotes through a read-only MCP tool, with pay-per-use prepaid credits.MIT