Exchange Rate
liveFinanceEconomicsLive currency exchange rates via open.er-api.com
2tools
0msauth
free tier50 calls/day
Tools
get_ratesrequired: base_currencyGet current exchange rates for a base currency (e.g., 'USD', 'EUR'). Returns conversion rates for all major currencies. Use when you need multiple rates at once.
Parameters
NameTypeDescription
base_currencyreqstringISO 4217 currency code to use as the base (e.g., "USD", "EUR", "GBP")Try it
Response
get_pairrequired: from, toGet the current exchange rate between two specific currencies (e.g., USD to EUR). Returns the conversion rate. Use for single currency pair lookups.
Parameters
NameTypeDescription
fromreqstringSource currency code (e.g., "USD")toreqstringTarget currency code (e.g., "JPY")Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/exchangerate/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Call a tool
bash
curl -X POST https://gateway.pipeworx.io/exchangerate/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_rates","arguments":{"base_currency": "USD"}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("get_rates", {"base_currency":"example"});ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("live currency exchange rates via open");