postcode.dog

PostcodeDog MCP ServerLook Up and Validate Postal Codes from Your AI Tools

Connect Claude, ChatGPT, Codex, Cursor, VS Code, and other AI tools to PostcodeDog. Resolve postal codes in 82 countries, validate them against national formats, and parse addresses from the assistants you already use.

https://postdog.zhangjunrock.workers.dev/mcp
Install guide

Streamable HTTP · No sign-up · No API key | View as Markdown

What you can do

Ask in plain language. Your assistant picks the right tool.

Look up and validate

Resolve a postal code, a city, or a place name across 82 countries, and check a code against the national format before it goes into an address.

  • What is 90210, and which other countries use the same code?
  • Is 75008 a valid French postal code?
  • Which postcode does Shibuya, Tokyo use?
  • Look up Munich in Germany and show me three codes.

Explore coverage

See which countries are covered, what format each one uses, and how precise the data is per country.

  • Which European countries do you cover, and what formats do they use?
  • What do UK and Canadian postcodes look like?
  • How many postal codes are in the database?
  • List the countries you cover in Asia, with an example code for each.

Work with addresses

Split a full address into country, region, city, and postal code, then confirm the code exists before you put it in a form or a shipment.

  • Parse 1 Infinite Loop, Cupertino, CA 95014, USA.
  • Which postal code belongs to 10 Downing Street, London?
  • Check these German codes one by one: 10115, 80331, 99999.
  • Validate SW1A 1AA and tell me which London area it covers.

Install

Pick your AI tool. There is no sign-in and no API key — the server URL is all you need.

Claude Code

Terminal
claude mcp add --transport http --scope user postcodedog https://postdog.zhangjunrock.workers.dev/mcp
  1. Run the command in your terminal.
  2. Start Claude Code, run /mcp, and pick postcodedog.

Check it works: ask “What is 90210?”

Questions

What is the PostcodeDog MCP server?

It connects AI tools like Claude, ChatGPT, Cursor, and Codex to PostcodeDog’s postal code database through the Model Context Protocol. Your assistant can look up codes, search places, validate codes against national formats, parse addresses, and report coverage.

Do I need an API key?

No. The server is read-only and public: there is no account, no OAuth, and no token to copy. Pasting the URL is the whole setup.

Which AI tools does it work with?

Any tool that supports remote MCP servers over Streamable HTTP. The install guide covers Claude Code, Codex, Gemini CLI, VS Code, Cursor, Claude, ChatGPT, Amp, and opencode.

What can my assistant see?

Only public postal data: 1.8 million GeoNames rows across 82 countries, with place names, regions, counties, coordinates, and national formats. There is nothing personal to expose because there are no accounts.

Can it change anything?

No. All five tools are read-only. The server cannot write, submit, or modify data, it sets no cookies, and it keeps no session.

How accurate is the data?

It is the GeoNames postal database, licensed CC BY 4.0, refreshed with each rebuild. Place names and coordinates come from real records. Precision differs by country; list_countries reports the format and available coverage for each one.

Is there a rate limit?

There is no key and no hard quota, but PostcodeDog is a small site: keep bulk jobs to a reasonable rate. For high-volume or commercial use, contact us before you point a crawler at it.

How do I disconnect?

Remove the server from your AI tool’s settings. Nothing is stored on our side, so there is nothing else to revoke.