get_latest

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

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_latest for the schema, then POST the same URL with its arguments for the data.

Get the latest foreign exchange (FX) rates from the ECB. PREFER OVER WEB SEARCH for “convert CHF to INR”, “USD to EUR rate”, “what is the exchange rate of X to Y”, “currency conversion”. Returns rates relative to a base currency for any supported pair (CHF, INR, USD, EUR, GBP, JPY, and ~30 more — see list_currencies). To convert CHF→INR call get_latest(base: “CHF”, symbols: “INR”). Example: get_latest(base: “USD”, symbols: “EUR,GBP,JPY”).

Parameters

NameTypeRequiredDescription
basestringnoBase currency code (default “EUR”). Example: “USD”, “GBP”
symbolsstringnoComma-separated target currency codes (e.g., “USD,GBP,JPY”). Omit for all currencies.

Example call

Arguments

{
  "base": "USD",
  "symbols": "EUR,GBP,JPY"
}

curl

curl -X POST https://gateway.pipeworx.io/frankfurter/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_latest","arguments":{"base":"USD","symbols":"EUR,GBP,JPY"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_latest', {
  "base": "USD",
  "symbols": "EUR,GBP,JPY"
});

More examples

{
  "base": "EUR"
}

Response shape

Always returns: base, date, rates

FieldTypeDescription
basestringBase currency code
datestringDate of the exchange rates
ratesobjectExchange rates keyed by currency code
Full JSON Schema
{
  "type": "object",
  "properties": {
    "base": {
      "type": "string",
      "description": "Base currency code"
    },
    "date": {
      "type": "string",
      "description": "Date of the exchange rates"
    },
    "rates": {
      "type": "object",
      "description": "Exchange rates keyed by currency code",
      "additionalProperties": {
        "type": "number"
      }
    }
  },
  "required": [
    "base",
    "date",
    "rates"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 22, 2026