cnb
Official ČNB exchange rates — daily & historical CZK vs EUR, USD, 30+ currencies. For accounting.
我該用這個嗎
品質與安全性
A
發現項目(1)
- LOW在 get_rate 中
根據工具定義與協定合規性的自動化分析。
上下文成本
~563Token(工具定義)
~1.2 KB典型回應大小
極小的注意力影響(128k 上下文的 0.44%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"cnb": {
"command": "npx",
"args": [
"@czagents/cnb"
]
}
}
}可執行的套件
npm@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#"
}社群
證據
近期觀測
已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具