Localecheck
@qinisolabs
About Localecheck
Verified locale data for AI agents: dates, phone numbers, currency formatting, VAT/sales-tax by date, public holidays, and addresses (UK & US). Returns checked answers and flags impossible inputs instead of guessing.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"localecheck": {
"command": "npx",
"args": [
"-y",
"localecheck"
]
}
}
}Tools
7Convert a human-written date into ISO 8601 (YYYY-MM-DD). USE THIS whenever you need to interpret a date a person typed — especially ambiguous numeric dates like 03/04/2025, which mean different things in the UK (day-first) vs US (month-first) — before storing, scheduling, or acting on it. Pass locale 'en-GB' or 'en-US'. Returns valid:false for impossible dates.
Validate a phone number and normalise it to E.164 (e.g. +442079460958). USE THIS before saving a phone number, dialling, or sending an SMS, instead of trusting raw input. Pass region 'GB' or 'US'. Returns valid:false if the number is not real for that region.
Format a money amount the way a reader in a given locale expects (symbol position, decimal/thousands separators). USE THIS whenever you show a price/total to a user or put one in an email, invoice, or report. e.g. 1234.5 GBP en-GB -> '£1,234.50'.
Look up the correct consumption-tax rate. USE THIS before calculating VAT or sales tax on an invoice or quote — never recall the rate from memory, it is DATE-SENSITIVE. GB returns the UK standard VAT rate that applied on the given date (handles historical/temporary changes). US has no national VAT (returns 0); pass a state code like 'CA' for the state base sales-tax rate. Always pass the invoice date for GB.
Check whether a date (YYYY-MM-DD) is a public/bank holiday. USE THIS when computing business-day deadlines, delivery SLAs, or 'next working day'. GB defaults to England; pass subdiv 'SCT'/'WLS'/'NIR' or a US state code. Country is GB or US.
Find the next public/bank holiday on or after a date (default today). USE THIS to answer 'when is the next holiday' or find the next working day. Country is GB or US; subdiv narrows to a UK nation or US state.
Extract structured {country, postcode, city} from a free-text UK or US address. USE THIS when onboarding a user, running a KYC/fraud check, or storing an address, instead of splitting the string yourself. Returns a confidence flag.
Overview
What is localecheck?
localecheck gives AI agents verified, authoritative answers to international data that LLMs routinely hallucinate, covering UK and USA (v1). It is free and requires no API key.
How to use localecheck?
Add localecheck to your MCP server configuration with command: "npx" and args: ["-y", "localecheck"]. It provides tools such as parse_date, validate_phone, format_currency, tax_rate, is_holiday, next_holiday, and parse_address.
Key features of localecheck
- Locale-aware date parsing that flags impossible dates
- Phone number validation to E.164 with line type
- Locale-correct currency formatting via CLDR
- UK and US tax rate lookup with historical support
- Public and bank holiday checks for UK subdivisions
- UK/US address parsing with confidence flag
- Free, no API key required
Use cases of localecheck
- Correctly interpreting ambiguous date formats (en-GB day-first vs en-US month-first)
- Applying the correct VAT rate (UK) or sales tax (US) for a given date
- Formatting currency amounts for a specific locale (e.g.,
€1,234.50for German readers) - Computing delivery SLAs by checking bank holidays automatically
- Parsing UK or US addresses into structured components with confidence
FAQ from localecheck
What countries and regions does localecheck support?
Version 1 covers the UK and USA. Holiday checks for GB default to England, with subdivisions supported.
Is localecheck free to use?
Yes, localecheck is free and requires no API key.
How do I install localecheck?
Install by adding localecheck to your MCP config with command: "npx" and args: ["-y", "localecheck"]. It is live on npm and listed in the official MCP Registry.
Where can I find the source code?
The source is available at https://github.com/qinisolabs/localecheck.
Frequently asked questions
What countries and regions does localecheck support?
Version 1 covers the UK and USA. Holiday checks for GB default to England, with subdivisions supported.
Is localecheck free to use?
Yes, localecheck is free and requires no API key.
How do I install localecheck?
Install by adding localecheck to your MCP config with `command: "npx"` and `args: ["-y", "localecheck"]`. It is live on npm and listed in the official MCP Registry.
Where can I find the source code?
The source is available at `https://github.com/qinisolabs/localecheck`.
Basic information
More Other MCP servers
Nginx UI
0xJackyYet another WebUI for Nginx
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.
Awesome Mlops
visengerA curated list of references for MLOps
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Comments