format_currency
Pack: currencyformat · Endpoint: https://gateway.pipeworx.io/currencyformat/mcp
Format a number as localized currency (keyless, offline). E.g. amount 1234.5, currency “EUR”, locale “de-DE” -> “1.234,50 €”. currency is an ISO 4217 code.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
amount | number | yes | The monetary amount. |
currency | string | yes | ISO 4217 code, e.g. “USD”, “EUR”, “JPY”. |
locale | string | no | BCP-47 locale (default “en-US”), e.g. “de-DE”, “ja-JP”. |
Example call
Arguments
{
"amount": 1234.5,
"currency": "EUR",
"locale": "de-DE"
}
curl
curl -X POST https://gateway.pipeworx.io/currencyformat/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"format_currency","arguments":{"amount":1234.5,"currency":"EUR","locale":"de-DE"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('format_currency', {
"amount": 1234.5,
"currency": "EUR",
"locale": "de-DE"
});
More examples
{
"amount": 9999.99,
"currency": "USD"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"currencyformat": {
"url": "https://gateway.pipeworx.io/currencyformat/mcp"
}
}
}
See Getting Started for client-specific install steps.