Skip to main content
Glama
mastermils

query-ptax-bcb

by mastermils

query-ptax-bcb

MCP(Model Context Protocol)サーバーです。ブラジル中央銀行(BCB)のオープンデータAPIから直接取得して、公式のPTAXドルレートを提供します:https://olinda.bcb.gov.br/olinda/servico/PTAX/versao/v1/odata/

ツール

  • get_ptax_by_date(date) — 指定日(YYYY-MM-DD)のPTAX終値レートです。

  • get_ptax_by_period(startDate, endDate) — 2つの日付の間の終値レートの系列です。

  • get_ptax_latest(lookbackDays?) — 利用可能な最新の終値レートです(直近 lookbackDays 日を検索、既定値は7日)。

返されるレートはすべて、買い値・売り値・レート時刻(ブラジリア時間)を含む、公式の 終値(PTAX)レートです。

Related MCP server: Frankfurter MCP

ビルド

npm install
npm run build

MCP Inspector でテストする

npm run inspector

Claude Desktop / Claude Code で設定する

MCP設定ファイル(claude_desktop_config.json または同等のファイル)に追加します:

{
  "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