Skip to main content
Glama
mastermils

query-ptax-bcb

by mastermils

query-ptax-bcb

Servidor MCP (Model Context Protocol) que expone la cotización oficial del Dólar PTAX consultando directamente la API de datos abiertos del Banco Central de Brasil (BCB): https://olinda.bcb.gov.br/olinda/servico/PTAX/versao/v1/odata/

Tools

  • get_ptax_by_date(date) — cotización de cierre PTAX para una fecha específica (YYYY-MM-DD).

  • get_ptax_by_period(startDate, endDate) — serie de cotizaciones de cierre entre dos fechas.

  • get_ptax_latest(lookbackDays?) — cotización de cierre más reciente disponible (consulta en los últimos lookbackDays días, por defecto 7).

Todas las cotizaciones devueltas son el boletín de cierre (PTAX oficial), con compra, venta y hora de la cotización (hora de Brasília).

Related MCP server: Frankfurter MCP

Compilación

npm install
npm run build

Probar con el MCP Inspector

npm run inspector

Configurar en Claude Desktop / Claude Code

Añada al archivo de configuración MCP (claude_desktop_config.json o equivalente):

{
  "mcpServers": {
    "query-ptax-bcb": {
      "command": "node",
      "args": ["D:/GitHub/master-mils/query-ptax-bcb/dist/index.js"]
    }
  }
}
Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    D
    maintenance
    Enables 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.
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides 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.
    5
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides 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.
  • F
    license
    Not graded
    quality
    B
    maintenance
    Provides tools to query Brazilian Central Bank public data, including SGS time series and PTAX exchange rates.

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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