currency-format
ActiveTool of The Stall
Locale-aware currency formatting and symbol lookup for any ISO 4217 currency. Formats numbers as currency strings (e.g. 1234.56 USD → '$1,234.56', EUR in German locale → '1.234,56 €'), returns currency symbol, decimal separator, grouping separator, and currency name. Pure computation — no API key, no upstream latency. Supports 150+ currencies and custom locale overrides. Use for: financial report generation, invoice display, DeFi amount formatting, cross-regional price display.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"mode": {
"type": "string",
"description": "'format' returns the formatted string only. 'info' returns symbol and separators only. 'both' returns everything. Default: 'both'."
},
"amount": {
"type": "number",
"description": "Numeric amount to format (e.g. 1234.56)."
},
"locale": {
"type": "string",
"description": "BCP 47 locale tag (e.g. 'en-US', 'de-DE', 'ja-JP'). Defaults to the canonical locale for the currency."
},
"currency": {
"type": "string",
"description": "ISO 4217 currency code (e.g. 'USD', 'EUR', 'JPY', 'KRW', 'BTC is not supported — ISO only)."
}
},
"additionalProperties": false
}Parent server
The Stall
1/7 registries