locale-format-mcp
v1.0.1Format numbers, currencies, dates and relative times for any locale using ICU data - fully local.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
format_number
Format a number with locale grouping, currency or percent style.
| Parameter | Type | Description |
|---|---|---|
value * | number | Number to format |
currency | string | ISO 4217 code when style is currency |
decimals | integer | Fixed fraction digits |
locale | string | BCP 47 locale, e.g. "de-DE", "ja-JP" |
style | string | Format style |
unit | string | Unit name when style is unit |
format_date
Format an ISO date or timestamp for a locale and style.
| Parameter | Type | Description |
|---|---|---|
value * | string | ISO date or datetime, e.g. 2026-10-27T14:30:00Z |
locale | string | BCP 47 locale |
style | string | Date style |
timeZone | string | IANA time zone |
format_relative
Describe a timestamp relative to now, such as 3 days ago.
| Parameter | Type | Description |
|---|---|---|
value * | string | ISO date or datetime |
base | string | Reference time (default: now) |
locale | string | BCP 47 locale |