Postio — UK Address, Postcode, Email & Phone Validation

uk.co.postio由 postio.co.uk 發布v0.1.5更新於 Oct 30, 2026

Validate UK addresses, postcodes, emails and phone numbers — Royal Mail PAF, live SMTP and HLR.

已驗證STDIO僅桌面位置與生活商業與電商

概覽

AI 產生的概覽

透過 Postio API 驗證英國地址、郵遞區號、電子郵件與電話號碼,使用 Royal Mail PAF 資料、即時 SMTP 與 HLR 查詢。

可以做什麼
  • 以自由文字搜尋英國地址,回傳附有 UDPRN 的建議清單
  • 查詢某個郵遞區號下的所有 PAF 投遞點,或依 UDPRN 取得單筆完整紀錄
  • 驗證電子郵件:語法、拼字修正、分類、MX 與 SMTP 探測
  • 驗證電話號碼:解析並進行即時 HLR 查詢,回傳電信業者與可達性
  • 執行免費的金鑰與健康探測
適用情境
適合需要核對或補齊英國地址、郵遞區號、電子郵件與電話資料的情境,例如清理聯絡人名單、由部分資訊補全完整地址,或標記無法投遞的信箱與無法接通的號碼。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node 20+。必須在 POSTIO_API_KEY 環境變數中提供 Postio API 金鑰,免費金鑰包含前 100 次查詢。可用 POSTIO_BASE_URL 覆寫 API 基礎位址。需要能連線至 Postio API 的網路。
安裝前請注意
郵遞區號查詢、UDPRN 查詢、電子郵件驗證與電話驗證會依成功查詢計費;地址搜尋與健康探測免費。API 金鑰以環境變數傳入,屬於機密資訊。電子郵件驗證會進行即時 SMTP 信箱探測,電話驗證會進行即時 HLR 查詢,送出的地址、號碼與郵遞區號會傳送至 Postio API。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Postio — UK Address, Postcode, Email & Phone Validation,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

其他 MCP 客戶端

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

README

@postio/mcp

Model Context Protocol server for Postio — the UK validation API for addresses, emails and phone numbers, exposed as tools for any MCP-aware AI host.

First time? Sign up free — first 100 lookups on us, no card needed.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, Zed, Continue, and anything else that speaks MCP over stdio.

Node 20+.

Install

You don't, really. Use npx from your host's MCP config.

Claude Code

bash
claude mcp add postio --env POSTIO_API_KEY=pk_… -- npx -y @postio/mcp

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "postio": {      "command": "npx",      "args": ["-y", "@postio/mcp"],      "env": { "POSTIO_API_KEY": "pk_…" }    }  }}

Cursor

~/.cursor/mcp.json (or <project>/.cursor/mcp.json for project-scoped):

json
{  "mcpServers": {    "postio": {      "command": "npx",      "args": ["-y", "@postio/mcp"],      "env": { "POSTIO_API_KEY": "pk_…" }    }  }}

Windsurf / Zed / Continue

Same JSON as Cursor — they all consume the standard MCP server config shape.

Tools

ToolWhat it doesBillable
postio_address_searchFree-form UK address search → suggestions + UDPRNsNo
postio_postcode_lookupAll PAF delivery points at a postcodeYes (on hit)
postio_udprn_lookupFull record for a single UDPRNYes (on hit)
postio_email_validateSyntax + typo + MX + SMTP + classificationYes
postio_phone_validateParse + live HLR lookup (carrier, ported, reachable)Yes
postio_connectFree health probeNo

The tools are intentionally primitive and 1:1 with the API. The agent decides when to chain them — a typical address-finder flow is postio_address_search → pick a UDPRN → postio_udprn_lookup for the full record.

Each tool returns the raw API envelope as JSON text, including meta.requestId for support correlation.

Example prompts

"Look up the address with udprn 25742215." → postio_udprn_lookup with udprn=25742215

"Find addresses on Wimpole Street W1G." → postio_address_search with query="Wimpole Street W1G"

"Is [email protected] a real email address?" → postio_email_validate with email="[email protected]" → the response includes didYouMean: "gmail.com".

"Verify these UK phone numbers and tell me which are mobile." → postio_phone_validate per number.

Configuration

Env varPurpose
POSTIO_API_KEYRequired. Your Postio API key.
POSTIO_BASE_URLOptional override of the API base URL (default https://api.postio.co.uk/v1).

A missing POSTIO_API_KEY is not fatal — the server still starts and advertises its tools, so a host can list them before you've configured credentials. Individual calls then fail with a message telling you to set the key.

Official MCP Registry

Listed at registry.modelcontextprotocol.io as uk.co.postio/postcode-address-validation, published under a domain-verified namespace (not a personal GitHub one).

bash
curl "https://registry.modelcontextprotocol.io/v0.1/servers/uk.co.postio%2Fpostcode-address-validation/versions/latest"

The listing is generated from server.json in this directory; the version there tracks this package's version. CI (publish-mcp-registry.yml) republishes on change.

License

MIT.

來源:packages/mcp/README.md,提交 9df8477

工具

6

postio_postcode_lookup

Return every PAF delivery point at a UK postcode, ordered by building number. Whitespace and case are normalised. Billable on a hit; valid postcodes with no delivery points return an empty list and are not charged.

輸入參數postcode必填max_results

postio_udprn_lookup

Look up a single UK delivery point by its UDPRN (Royal Mail's stable per-address ID). Use this after `postio_address_search` to fetch the full record for a chosen suggestion. Billable on a hit; misses (404) are not charged.

輸入參數udprn必填

postio_email_validate

Validate an email address: syntax (RFC 5322), typo correction (gnail→gmail), classification (disposable, role, free provider), MX lookup, and live SMTP mailbox probe. Returns an aggregated `deliverability` verdict (deliverable / undeliverable / risky / unknown / invalid) plus every signal independently.

輸入參數email必填

postio_phone_validate

Parse a phone number with libphonenumber and run a live HLR (Home Location Register) lookup. Returns current carrier (post-porting), original carrier, ported flag, reachability, MCC/MNC. Pass numbers in E.164 (`+447700900123`) for unambiguous results.

輸入參數number必填

postio_connect

Free key/health probe. Returns 200 if the API key is active and the upstream search service is reachable. Useful as a smoke test or to warm the worker.

無需輸入參數。

版本歷史

2
  1. v0.1.5最新Oct 23, 2026
  2. v0.1.4Sep 16, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

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

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分