query-ptax-bcb
Click on "Install 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., "@query-ptax-bcbWhat was the PTAX dollar closing rate on 2025-03-10?"
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.
query-ptax-bcb
MCP (Model Context Protocol) server that exposes the official PTAX dollar exchange rate by directly querying the open data API of the Central Bank of Brazil (BCB): https://olinda.bcb.gov.br/olinda/servico/PTAX/versao/v1/odata/
Tools
get_ptax_by_date(date)— official PTAX closing rate for a specific date (YYYY-MM-DD).get_ptax_by_period(startDate, endDate)— series of closing rates between two dates.get_ptax_latest(lookbackDays?)— most recent available closing rate (searches the lastlookbackDaysdays, default 7).
All returned rates are the closing (official PTAX) bulletin, with buy, sell, and quote time (Brasília time).
Related MCP server: Frankfurter MCP
Build
npm install
npm run buildTesting with the MCP Inspector
npm run inspectorConfigure in Claude Desktop / Claude Code
Add to the MCP configuration file (claude_desktop_config.json or equivalent):
{
"mcpServers": {
"query-ptax-bcb": {
"command": "node",
"args": ["D:/GitHub/master-mils/query-ptax-bcb/dist/index.js"]
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables access to Bank of Mexico (Banxico) economic data including real-time and historical USD/MXN exchange rates, inflation data, interest rates, and other financial indicators. Supports querying current rates, historical data with date ranges, and economic metadata through natural language.9MIT
- AlicenseAqualityDmaintenanceProvides access to currency exchange rates and conversion tools using the Frankfurter API, including latest rates, historical data, and time series from sources like the European Central Bank.5MIT
- FlicenseNot gradedqualityDmaintenanceProvides real-time and historical foreign exchange rates for 31+ currencies, enabling currency conversion, historical rate lookups, and time series analysis using data from the Frankfurter API.
- FlicenseNot gradedqualityBmaintenanceProvides tools to query Brazilian Central Bank public data, including SGS time series and PTAX exchange rates.
Related MCP Connectors
Convert currencies, get FX rates, and query historical ECB exchange rate data.
Fetch latest and historical currency exchange rates from Frankfurter. Convert amounts between curr…
Live & historical FX rates for AI agents, from European Central Bank data. No API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mastermils/query-ptax-bcb'
If you have feedback or need assistance with the MCP directory API, please join our Discord server