mcpField
P
Postio — UK Address, Postcode, Email & Phone Validation

Postio — UK Address, Postcode, Email & Phone Validation

Local
postio.co.ukBusiness & Marketing0Updated 6d ago

About Postio — UK Address, Postcode, Email & Phone Validation

@postio/mcp exposes Postio's UK address, email, and phone validation API as tools for MCP-aware hosts. Its tools range from address search to live SMTP and HLR checks, returning the API's raw JSON envelope.

Key features

  1. 01Search UK addresses
  2. 02Look up postcode delivery points
  3. 03Retrieve records by UDPRN
  4. 04Validate email syntax and deliverability
  5. 05Check phone details with live HLR

Use cases

  1. 01Find a UK address from a free-form query
  2. 02Retrieve a full address record by UDPRN
  3. 03Check an email for typos and deliverability
  4. 04Verify UK phone numbers and carrier status

MCP support

Exposes Postio API operations as MCP tools over stdio for MCP-aware hosts. The server uses a required Postio API key for individual API calls.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"uk-co-postio-postcode-address-validation": {
"command": "npx",
"args": [
"-y",
"@postio/mcp"
],
"env": {
"POSTIO_API_KEY": "<POSTIO_API_KEY>",
"POSTIO_BASE_URL": "<POSTIO_BASE_URL>"
}
}
}
}
Run commandnpx -y @postio/mcp
Environment variables to set
POSTIO_API_KEYSecretPostio API key (pk_…). Free key, first 100 lookups on us, no card: https://postio.co.uk/signup
POSTIO_BASE_URLOverride the API base URL. Defaults to https://api.postio.co.uk/v1 (include /v1). Only needed for staging.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@postio/mcp0.1.5

Tools

6

Saved tool list · updated 6d ago

ParameterTypeRequiredDescription
querystringYesSearch string. Free-form: building, street, postcode, organisation.
max_resultsintegerNoMax results to return. Default 10, max 50.

Details

From the project 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
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):

{
  "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):

{
  "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).

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.