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.
README
localecheck
Locale-correctness tools for AI agents. Agents are systematically wrong about
everyday non-US data — they read 03/04 as March 4 in the UK, apply today's VAT
rate to a historical invoice, format €1,234.50 for a German reader, and miss
bank holidays in delivery dates. localecheck gives them verified answers and
flags impossible inputs instead of guessing.
Coverage: UK + USA (v1), expanding. Free, no API key.
Packages
| Package | Install | Use | |
|---|---|---|---|
| TypeScript (primary) | packages/localecheck-ts |
npx -y localecheck (live on npm) |
MCP server and importable library |
| Python | packages/localecheck-python |
from source (PyPI release coming soon) | MCP server, importable library, REST API |
Both wrap the same authoritative libraries (libphonenumber, CLDR/Intl, date-holidays) and share the same hand-curated tax data.
What it does
parse_date · validate_phone · format_currency · tax_rate (VAT/sales-tax
by date) · is_holiday / next_holiday · parse_address
Quick start (in an AI app)
{ "mcpServers": { "localecheck": { "command": "npx", "args": ["-y", "localecheck"] } } }
Then ask naturally — the agent picks the tool: "A UK invoice dated 1 June 2009 — what VAT rate?" → 15%.
Repo map
packages/localecheck-ts— primary TypeScript package (MCP + library)packages/localecheck-python— Python package + FastAPI REST APIeval/— benchmark harness: how often raw LLMs get this wrongbenchmark.html— shareable results page ·BUSINESS_MODEL.md— strategy ·PUBLISH.md— release steps ·LOCAL_TEST.md— test before publishing
Status & caveats
UK VAT history is reliable for the modern era (standard rate). US state sales-tax values are 2025 state base rates (local taxes add on top) — verify against an authoritative feed before live invoicing. Addresses parse + extract a valid postcode/ZIP but don't verify deliverability.
Code: Apache-2.0. Curated tax data: see BUSINESS_MODEL.md.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.