get_latest
Pack: frankfurter · Endpoint: https://gateway.pipeworx.io/frankfurter/mcp
Get the latest foreign exchange rates from the ECB. Returns rates relative to a base currency. Example: get_latest(base: “USD”, symbols: “EUR,GBP,JPY”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
base | string | no | Base currency code (default “EUR”). Example: “USD”, “GBP” |
symbols | string | no | Comma-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
| Field | Type | Description |
|---|---|---|
base | string | Base currency code |
date | string | Date of the exchange rates |
rates | object | Exchange 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.