Nigeria Postcode

io.github.Adeniyikayodee/ng-postcode

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "ng-postcode": {
      "command": "uvx",
      "args": [
        "ng-postcode-mcp"
      ],
      "env": {
        "NG_POSTCODE_API_KEY": "<your NG_POSTCODE_API_KEY>",
        "NG_POSTCODE_MAX_LEVEL": "1",
        "NG_POSTCODE_MAX_PAID_CALLS": "25",
        "NG_POSTCODE_BASE_URL": "https://api.postcode.gov.ng",
        "NG_POSTCODE_TRANSPORT": "stdio",
        "NG_POSTCODE_HOST": "127.0.0.1",
        "NG_POSTCODE_PORT": "8000"
      }
    }
  }
}
Environment variables
  • NG_POSTCODE_API_KEYsecretNIPOST Postcode API key from dashboard.postcode.gov.ng. Validation works without it.
  • NG_POSTCODE_MAX_LEVELHighest lookup level tools may request. Levels 2 and up consume NIPOST credits.
  • NG_POSTCODE_MAX_PAID_CALLSHow many paid lookups one run of the server may make with its own key.
  • NG_POSTCODE_BASE_URLAlternative API host, such as a staging stack.
  • NG_POSTCODE_TRANSPORTstdio (default), or http to serve streamable HTTP at /mcp on NG_POSTCODE_HOST and NG_POSTCODE_PORT.
  • NG_POSTCODE_HOSTAddress the HTTP transport listens on.
  • NG_POSTCODE_PORTPort the HTTP transport listens on.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.6.3
Registry
active
Published
10/16/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Nigeria Postcode is listed here — it’s also the link we check for a free listing.

Nigeria Postcode — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-adeniyikayodee-ng-postcode?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Nigeria Postcode — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Nigeria Postcode — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-adeniyikayodee-ng-postcode?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.