Localecheck

io.github.qinisolabs由 GitHub 帳號 qinisolabs 發布v0.1.1更新於 Oct 24, 2026

Verified locale data for AI agents: dates, phone, currency, tax, holidays, addresses (UK/US)

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

本機 MCP 伺服器,為助理提供經過核實的英國與美國地區資料:日期解析、電話驗證、貨幣格式化、稅率、假日和地址。

可以做什麼
依英美日月順序解析日期,遇到不可能輸入時提出警示而不是猜測格式。驗證電話號碼並解析地址,擷取有效的英國郵遞區號或美國 ZIP。依讀者所在地區格式化貨幣金額。依日期查詢加值稅或美國州銷售稅率,判斷某天是否為假日或尋找下一個假日。
適用情境
適合助理處理英國或美國的發票、交貨日期、聯絡方式和價格時使用,尤其是它容易誤讀日月順序日期、把現行稅率套用到舊單據或漏掉銀行假日的情況。
執行需求
透過 stdio 在本機執行,通常以 npx 從 npm 套件 localecheck 啟動,因此需要 Node.js。未宣告需要 API 金鑰或環境變數。目前版本僅涵蓋英國和美國。
安裝前請注意
美國州銷售稅數值僅為 2025 年州基礎稅率,不含地方稅;README 建議在正式開立發票前對照權威資料來源核實。地址解析只擷取郵遞區號或 ZIP,不驗證可投遞性。稅務資料有獨立於 Apache-2.0 程式碼的授權條款。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Localecheck,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

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

PackageInstallUse
TypeScript (primary)packages/localecheck-tsnpx -y localecheck (live on npm)MCP server and importable library
Pythonpackages/localecheck-pythonfrom 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)

json
{ "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 API
  • eval/ — benchmark harness: how often raw LLMs get this wrong
  • benchmark.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.

來源:README.md,提交 e36fdbc

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分