exchange_rates
Official ECB euro reference exchange rates (about 30 currencies) for today, with any base currency and an optional amount to convert. One request to the European Central Bank. Returns: JSON with simulated, date, base, rates, missing, amount, converted, source, note. PAID: 0.002 USDC per call (USDC on eip155:8453, x402 v2). Requires an x402-capable MCP client that attaches the payment in _meta["x402/payment"] (e.g. createx402MCPClient from @x402/mcp). Without a payment this tool returns a "payment required" result and charges nothing. NOTE: Reference rates for information only, not transaction rates. Sandbox results are simulated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency (ISO code), default EUR. | EUR |
| amount | No | Optional amount in the base currency to convert. | |
| symbols | No | Currencies to return, e.g. ["USD","CHF"]. Default all. |