Nigeria Postcode MCP Server
by adeniyikayodeeio.github.Adeniyikayodee/ng-postcodev0.5.0
Validate, look up and resolve addresses to Nigeria's NIPOST digital postcodes (NDAPS).
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install Nigeria Postcode MCP server
Install in Claude Code
claude mcp add adeniyikayodee -e NG_POSTCODE_API_KEY='<ng-postcode-api-key>' -- npx -y ng-postcode-mcpInstall in Cursor
{
"mcpServers": {
"adeniyikayodee": {
"command": "npx",
"args": [
"-y",
"ng-postcode-mcp"
],
"env": {
"NG_POSTCODE_API_KEY": "<ng-postcode-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"adeniyikayodee": {
"command": "npx",
"args": [
"-y",
"ng-postcode-mcp"
],
"env": {
"NG_POSTCODE_API_KEY": "<ng-postcode-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"adeniyikayodee": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ng-postcode-mcp"
],
"env": {
"NG_POSTCODE_API_KEY": "<ng-postcode-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"adeniyikayodee": {
"command": "npx",
"args": [
"-y",
"ng-postcode-mcp"
],
"env": {
"NG_POSTCODE_API_KEY": "<ng-postcode-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| NG_POSTCODE_API_KEY | — | yes | 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_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. |
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 2d ago · GitHub
Latest release
2026-10-06 · 4d ago · GitHub · mcp-v0.5.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-06 · 4d ago · official registry · v0.5.0
FAQ
›How do I install the Nigeria Postcode MCP server in Claude Code?
Run: claude mcp add adeniyikayodee -e NG_POSTCODE_API_KEY='<ng-postcode-api-key>' -- npx -y ng-postcode-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Nigeria Postcode require an API key?
Yes. It expects NG_POSTCODE_API_KEY, of which 1 is a secret.
›Can I use Nigeria Postcode as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Nigeria Postcode in the official MCP registry?
Yes, as io.github.Adeniyikayodee/ng-postcode.