Exchange Rate

liveFinanceEconomics

Live currency exchange rates via open.er-api.com

2tools
0msauth
free tier50 calls/day

Tools

get_ratesrequired: base_currency

Get all exchange rates for a given base currency. Returns a map of currency codes to rates relative to the base.

Parameters
NameTypeDescription
base_currencyreqstringISO 4217 currency code to use as the base (e.g., "USD", "EUR", "GBP")
Try it
get_pairrequired: from, to

Get the exchange rate from one currency to another.

Parameters
NameTypeDescription
fromreqstringSource currency code (e.g., "USD")
toreqstringTarget currency code (e.g., "JPY")
Try it

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");