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 分