get_rates

Pack: exchangerate · Endpoint: https://gateway.pipeworx.io/exchangerate/mcp

Get 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

NameTypeRequiredDescription
base_currencystringyesISO 4217 currency code to use as the base (e.g., “USD”, “EUR”, “GBP”)

Example call

Arguments

{
  "base_currency": "USD"
}

curl

curl -X POST https://gateway.pipeworx.io/exchangerate/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_rates","arguments":{"base_currency":"USD"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_rates', {
  "base_currency": "USD"
});

More examples

{
  "base_currency": "EUR"
}

Response shape

Always returns: base, last_updated, next_update, rate_count, rates

FieldTypeDescription
basestringBase currency code
last_updatedstringTime of last update in UTC
next_updatestringTime of next update in UTC
rate_countintegerNumber of exchange rates returned
ratesobjectMap of currency codes to exchange rates
Full JSON Schema
{
  "type": "object",
  "properties": {
    "base": {
      "type": "string",
      "description": "Base currency code"
    },
    "last_updated": {
      "type": "string",
      "description": "Time of last update in UTC"
    },
    "next_update": {
      "type": "string",
      "description": "Time of next update in UTC"
    },
    "rate_count": {
      "type": "integer",
      "description": "Number of exchange rates returned"
    },
    "rates": {
      "type": "object",
      "description": "Map of currency codes to exchange rates",
      "additionalProperties": {
        "type": "number"
      }
    }
  },
  "required": [
    "base",
    "last_updated",
    "next_update",
    "rate_count",
    "rates"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "exchangerate": {
      "url": "https://gateway.pipeworx.io/exchangerate/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026