Skip to main content
Glama
PostalDataPI

PostalDataPI MCP Server

by PostalDataPI

PostalDataPI MCPサーバー

License: MIT Python 3.10+ PyPI

PostalDataPI 用のMCP (Model Context Protocol) サーバーです。AIエージェントが240以上の国と地域の郵便番号を検索、検証し、タイムゾーン、行政区域、標高、座標などの豊富なメタデータを取得できるようにします。

ツール

ツール

説明

lookup_postal_code

郵便番号(米国のZIP、英国の郵便番号、ドイツのPLZなど)から都市、州/地域、略称を取得

validate_postal_code

指定した国に郵便番号が存在するかを確認

search_by_city

都市名からすべての郵便番号を検索

get_postal_code_metadata

座標、行政階層、タイムゾーン、標高などの詳細メタデータを取得

Related MCP server: Postio

セットアップ

1. APIキーの取得

postaldatapi.com/register からサインアップしてください。クレジットカード不要で1,000クエリまで無料です。

2. インストール

pip install postaldatapi-mcp

3. Claude Codeでの設定

claude mcp add --transport stdio postaldatapi -- \
  env POSTALDATAPI_KEY=your_api_key_here postaldatapi-mcp

4. Claude Desktopでの設定

Claude Desktopの設定ファイル(macOSの場合は ~/Library/Application Support/Claude/claude_desktop_config.json)に以下を追加します:

{
  "mcpServers": {
    "postaldatapi": {
      "command": "postaldatapi-mcp",
      "env": {
        "POSTALDATAPI_KEY": "your_api_key_here"
      }
    }
  }
}

使用方法

設定が完了したら、Claudeに自然な言葉で質問してください:

  • 「ZIPコード90210の都市はどこですか?」

  • 「英国の郵便番号SW1Aを調べて」

  • 「10115はドイツの有効な郵便番号ですか?」

  • 「カリフォルニア州ビバリーヒルズの郵便番号を教えて」

  • 「日本の郵便番号100-0001の座標を取得して」

Claudeは自動的にPostalDataPIツールを使用して回答します。

対応国

米国、英国、カナダ、ドイツ、フランス、日本、オーストラリア、ブラジル、インドなど、240以上の国と地域に対応しています。全リストは postaldatapi.com/countries を参照してください。

豊富なメタデータ

基本的な検索に加え、get_postal_code_metadata ツールは郵便番号ごとに最大18種類のフィールドを返します:

  • 座標 (緯度、経度)

  • タイムゾーン (例: America/Mexico_City, Europe/Berlin)

  • 行政階層 (州/県、郡、市町村)

  • 標高 (海抜メートル)

  • 地名 および国情報

メキシコシティ 06000 のレスポンス例:

{
  "postalCode": "06000",
  "country": "MX",
  "placeName": "Centro",
  "latitude": 19.4364,
  "longitude": -99.1553,
  "timezone": "America/Mexico_City",
  "adminLevel1": "Ciudad de México",
  "adminLevel2": "Cuauhtémoc",
  "elevation": 2239
}

リンク

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to search, validate, and retrieve Australian postcode and suburb data with intelligent fuzzy matching for handling misspellings and voice queries. Provides comprehensive location services including geographic search, Local Government Area queries, and suburb-postcode validation for customer service interactions.
    5
  • A
    license
    Not graded
    quality
    B
    maintenance
    UK address (Royal Mail PAF), email, and phone (live HLR carrier) validation via the Postio API. Six tools: address search, postcode lookup, UDPRN, email validate, phone validate, and a health probe.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables location intelligence for US ZIP codes, allowing users to search, profile, and compare ZIP codes across various domains like crime, income, schools, and more.
  • A
    license
    A
    quality
    C
    maintenance
    Geospatial API tools for AI agents — geocoding, reverse geocoding, routing, isochrone, distance matrix, static maps, H3 hexagons, elevation, GPS map-matching, point-in-polygon, address normalisation, timezone lookup, and batch geocoding. Built on OpenStreetMap infrastructure. Cost-effective alternative to Google Maps API.
    18
    38
    MIT

View all related MCP servers

Related MCP Connectors

  • Hungarian postcode lookup + validation - 3,484 codes, sub-10ms lookups, bulk address endpoint.

  • Address validation & geocoding for AI agents: 240+ countries, UK PAF, free US/CA enrichment

  • Correios: CEP, official-source lookup. Platform-hosted, pay per query with prepaid credit.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PostalDataPI/postaldatapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server