MCP directory
NP

Nigeria Postcode

by github.com/Adeniyikayodee · v0.6.3 · updated Oct 16, 2026

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

PyPInpm

Run it locally

Install the package and point your AI client at it.

PyPI

uvx ng-postcode-mcp==0.6.3

Environment variables

  • NG_POSTCODE_API_KEYsecret

    NIPOST Postcode API key from dashboard.postcode.gov.ng. Validation works without it.

  • NG_POSTCODE_MAX_LEVEL

    Highest lookup level tools may request. Levels 2 and up consume NIPOST credits.

  • NG_POSTCODE_MAX_PAID_CALLS

    How many paid lookups one run of the server may make with its own key.

  • NG_POSTCODE_BASE_URL

    Alternative API host, such as a staging stack.

  • NG_GEOCODER_URL

    Nominatim server used by resolve_address to place described addresses. Ideally your own instance.

  • NG_GEOCODER_CONTACT

    URL or email identifying you to the geocoder. Required for the public Nominatim.

  • NG_POSTCODE_TRANSPORT

    stdio (default), or http to serve streamable HTTP at /mcp on NG_POSTCODE_HOST and NG_POSTCODE_PORT.

  • NG_POSTCODE_HOST

    Address the HTTP transport listens on.

  • NG_POSTCODE_PORT

    Port the HTTP transport listens on.

  • NG_POSTCODE_ALLOW_SHARED_KEY

    Set to 1 to let the HTTP transport start with a server key on a public address.

  • NG_POSTCODE_ALLOWED_HOSTS

    Host names the HTTP transport answers to, separated by commas. Required with a server key on a public address.

Environment variables

  • NG_POSTCODE_API_KEYsecret

    NIPOST Postcode API key from dashboard.postcode.gov.ng. Validation works without it.

  • NG_POSTCODE_MAX_LEVEL

    Highest lookup level tools may request. Levels 2 and up consume NIPOST credits.

  • NG_POSTCODE_MAX_PAID_CALLS

    How many paid lookups one run of the server may make with its own key.

  • NG_POSTCODE_BASE_URL

    Alternative API host, such as a staging stack.

More from github.com/Adeniyikayodee

More MCP servers