get_historical

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

Get exchange rates for a specific historical date. ECB rates available from 1999-01-04 onward. Example: get_historical(date: “2024-01-15”, base: “USD”).

Parameters

NameTypeRequiredDescription
datestringyesDate in YYYY-MM-DD format (e.g., “2024-01-15”)
basestringnoBase currency code (default “EUR”)
symbolsstringnoComma-separated target currency codes (e.g., “USD,GBP”)

Example call

Arguments

{
  "date": "2024-01-15",
  "base": "USD",
  "symbols": "EUR,GBP"
}

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_historical","arguments":{"date":"2024-01-15","base":"USD","symbols":"EUR,GBP"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_historical', {
  "date": "2024-01-15",
  "base": "USD",
  "symbols": "EUR,GBP"
});

More examples

{
  "date": "2020-03-20",
  "base": "EUR",
  "symbols": "USD"
}

Response shape

Always returns: base, date, rates

FieldTypeDescription
basestringBase currency code
datestringHistorical date 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": "Historical 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 May 9, 2026