format_number
Pack: currencyformat · Endpoint: https://gateway.pipeworx.io/currencyformat/mcp
Format a number with grouping, fixed decimals, as a percentage, or in compact notation (keyless, offline). style = “decimal” (default), “percent”, or “compact”.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
number | number | yes | The number to format. |
locale | string | no | BCP-47 locale (default “en-US”). |
style | string | no | decimal (default) | percent | compact. |
decimals | number | no | Fixed number of fraction digits. |
Example call
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_number","arguments":{}}}'
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.