exchange-rate
一個簡單的MCP伺服器,用於獲取貨幣匯率數據。它提供工具來獲取即時匯率、轉換金額,並以簡潔結構化的格式檢索基礎貨幣的所有匯率。
文件
Exchange Rate MCP Server
Minimal tools for working with currency exchange rates inside AI agents and applications.
Tools
get_rate
Get the current exchange rate between two currencies.
Input
json{
"from": "USD",
"to": "INR"
}
Output
- Exchange rate
convert
Convert an amount from one currency to another.
Input
json{
"from": "USD",
"to": "INR",
"amount": 100
}
Output
get_all_rates
Get all exchange rates for a base currency.
Input
json{
"base": "USD"
}
Output
- List of currency rates
Usage
List tools
idGET /tools
Get rate
idPOST /tools/get_rate
Convert
idPOST /tools/convert
All rates
idPOST /tools/get_all_rates
Summary
A straightforward way to handle currency conversion and exchange rates for AI systems with consistent, predictable responses.