cnb
Official ČNB exchange rates — daily & historical CZK vs EUR, USD, 30+ currencies. For accounting.
使うべきか
品質と安全性
検出事項(1)
- LOWget_rate 内
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"cnb": {
"command": "npx",
"args": [
"@czagents/cnb"
]
}
}
}実行可能なパッケージ
0.1.5stdioリモートエンドポイント
https://cnb.cz-agents.dev/mcpstreamable-httpできること
ツール一覧
ツール(3)
🟢get_rates(date)
Get official CZK exchange rates published by ČNB. Returns all currencies from the daily sheet (~31 majors). Optional `date` parameter (YYYY-MM-DD) for historical rates; otherwise returns latest.
入力スキーマ
{
"type": "object",
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Optional ISO date (YYYY-MM-DD) for historical rates. Omit for latest."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢convert(amount, from, to, date)
Convert an amount between two currencies using official ČNB rates. E.g., convert 100 EUR to CZK, or 50 USD to GBP (goes via CZK cross-rate). Optional `date` for historical conversion.
入力スキーマ
{
"type": "object",
"properties": {
"amount": {
"type": "number",
"description": "Amount to convert."
},
"from": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "Source currency ISO 4217 code (e.g., \"EUR\", \"USD\", \"CZK\")."
},
"to": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "Target currency ISO 4217 code."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Optional ISO date for historical rates. Omit for latest."
}
},
"required": [
"amount",
"from",
"to"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_rate(code, date)
Quick single-currency lookup. Returns just the CZK rate for one currency (or all rates if no code given).
入力スキーマ
{
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "ISO 4217 currency code (e.g., \"EUR\", \"USD\", \"GBP\")."
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Optional ISO date for historical rate."
}
},
"required": [
"code"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}コミュニティ
エビデンス