使用说明
mcp汇率
转换货币,获取历史汇率和时间序列-免费,无API密钥(法兰克福API)。
免费API -不需要API密钥。
工具
| 工具 | 说明 |
|---|---|
get_rates |
获取基础货币的最新汇率。 |
convert |
在货币之间转换金额。 |
get_historical |
获取日期的历史汇率。 |
get_timeseries |
获取日期范围内的汇率。 |
list_currencies |
列出所有可用货币。 |
安装
git clone https://github.com/PetrefiedThunder/mcp-exchangerate.git
cd mcp-exchangerate
npm install
npm run build
使用Claude Desktop
添加到您的 claude_desktop_config.json:
{
"mcpServers": {
"exchangerate": {
"command": "node",
"args": ["/path/to/mcp-exchangerate/dist/index.js"]
}
}
}
使用npx
npx mcp-exchangerate
许可证
麻省理工学院