{
  "markdown": "# localecheck\n\n**Locale-correctness tools for AI agents.** Agents are systematically wrong about\neveryday non-US data — they read `03/04` as March 4 in the UK, apply today's VAT\nrate to a historical invoice, format `€1,234.50` for a German reader, and miss\nbank holidays in delivery dates. localecheck gives them *verified* answers and\nflags impossible inputs instead of guessing.\n\nCoverage: **UK + USA** (v1), expanding. Free, no API key.\n\n## Packages\n\n| | Package | Install | Use |\n|---|---|---|---|\n| **TypeScript** (primary) | [`packages/localecheck-ts`](packages/localecheck-ts) | `npx -y localecheck` *(live on npm)* | MCP server **and** importable library |\n| **Python** | [`packages/localecheck-python`](packages/localecheck-python) | from source *(PyPI release coming soon)* | MCP server, importable library, REST API |\n\nBoth wrap the same authoritative libraries (libphonenumber, CLDR/Intl,\ndate-holidays) and share the same hand-curated tax data.\n\n## What it does\n\n`parse_date` · `validate_phone` · `format_currency` · `tax_rate` (VAT/sales-tax\nby date) · `is_holiday` / `next_holiday` · `parse_address`\n\n## Quick start (in an AI app)\n\n```json\n{ \"mcpServers\": { \"localecheck\": { \"command\": \"npx\", \"args\": [\"-y\", \"localecheck\"] } } }\n```\n\nThen ask naturally — the agent picks the tool: *\"A UK invoice dated 1 June 2009 —\nwhat VAT rate?\"* → **15%**.\n\n## Repo map\n\n- `packages/localecheck-ts` — primary TypeScript package (MCP + library)\n- `packages/localecheck-python` — Python package + FastAPI REST API\n- `eval/` — benchmark harness: how often raw LLMs get this wrong\n- `benchmark.html` — shareable results page · `BUSINESS_MODEL.md` — strategy ·\n  `PUBLISH.md` — release steps · `LOCAL_TEST.md` — test before publishing\n\n## Status & caveats\n\nUK VAT history is reliable for the modern era (standard rate). US state\nsales-tax values are 2025 **state base** rates (local taxes add on top) — verify\nagainst an authoritative feed before live invoicing. Addresses parse + extract a\nvalid postcode/ZIP but don't verify deliverability.\n\nCode: Apache-2.0. Curated tax data: see `BUSINESS_MODEL.md`.\n",
  "bytes": 2102,
  "sha": "e9b808c55e687ea40c91251061869cfa2c418f007c1f5bb02ae2c08b12367042",
  "repo_slug": "qinisolabs/localecheck",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_qinisolabs_localecheck_6b6d779a/readme"
}