locale-format-mcp

v1.0.1
io.github.mrfentmen/locale-format-mcp Checked 1 day ago Published 24 days ago

Format 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.

ParameterTypeDescription
value *numberNumber to format
currencystringISO 4217 code when style is currency
decimalsintegerFixed fraction digits
localestringBCP 47 locale, e.g. "de-DE", "ja-JP"
stylestringFormat style
unitstringUnit name when style is unit

format_date

Format an ISO date or timestamp for a locale and style.

ParameterTypeDescription
value *stringISO date or datetime, e.g. 2026-10-27T14:30:00Z
localestringBCP 47 locale
stylestringDate style
timeZonestringIANA time zone

format_relative

Describe a timestamp relative to now, such as 3 days ago.

ParameterTypeDescription
value *stringISO date or datetime
basestringReference time (default: now)
localestringBCP 47 locale