Skip to main content

Nigeria Postcode

io.github.Adeniyikayodee/ng-postcode

v0.6.3Updated Oct 16, 2026stdio · npmstdio · PyPI

Validate, look up and resolve addresses to Nigeria's NIPOST digital postcodes (NDAPS).

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add ng-postcode -e NG_POSTCODE_MAX_LEVEL=1 -e NG_POSTCODE_MAX_PAID_CALLS=25 -e NG_POSTCODE_BASE_URL=https://api.postcode.gov.ng -- npx -y [email protected]

Configuration

11 settings.

  • NG_POSTCODE_API_KEY
    Env var· optional· secret
    NIPOST Postcode API key from dashboard.postcode.gov.ng. Validation works without it.
  • NG_POSTCODE_MAX_LEVEL
    Env var· optional
    Highest lookup level tools may request. Levels 2 and up consume NIPOST credits.Default: 1
  • NG_POSTCODE_MAX_PAID_CALLS
    Env var· optional
    How many paid lookups one run of the server may make with its own key.Default: 25
  • NG_POSTCODE_BASE_URL
    Env var· optional
    Alternative API host, such as a staging stack.Default: https://api.postcode.gov.ng
  • NG_GEOCODER_URL
    Env var· optional
    Nominatim server used by resolve_address to place described addresses. Ideally your own instance.
  • NG_GEOCODER_CONTACT
    Env var· optional
    URL or email identifying you to the geocoder. Required for the public Nominatim.
Show 5 more
  • NG_POSTCODE_TRANSPORT
    Env var· optional
    stdio (default), or http to serve streamable HTTP at /mcp on NG_POSTCODE_HOST and NG_POSTCODE_PORT.Default: stdio
  • NG_POSTCODE_HOST
    Env var· optional
    Address the HTTP transport listens on.Default: 127.0.0.1
  • NG_POSTCODE_PORT
    Env var· optional
    Port the HTTP transport listens on.Default: 8000
  • NG_POSTCODE_ALLOW_SHARED_KEY
    Env var· optional
    Set to 1 to let the HTTP transport start with a server key on a public address.
  • NG_POSTCODE_ALLOWED_HOSTS
    Env var· optional
    Host names the HTTP transport answers to, separated by commas. Required with a server key on a public address.

Listed in the official MCP Registry since Oct 16, 2026. Mirrored daily; last checked Nov 26, 2026.