Validate, look up and resolve addresses to Nigeria's NIPOST digital postcodes (NDAPS).
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add nigeria-postcode --env NG_POSTCODE_API_KEY='<NG_POSTCODE_API_KEY>' -- uvx ng-postcode-mcp~/.codex/config.toml
[mcp_servers.nigeria-postcode]
command = "uvx"
args = ["ng-postcode-mcp"]
env = { NG_POSTCODE_API_KEY = "<NG_POSTCODE_API_KEY>" }
# codex mcp add nigeria-postcode --env NG_POSTCODE_API_KEY='<NG_POSTCODE_API_KEY>' -- uvx ng-postcode-mcp~/.cursor/mcp.json
{
"mcpServers": {
"nigeria-postcode": {
"command": "uvx",
"args": [
"ng-postcode-mcp"
],
"env": {
"NG_POSTCODE_API_KEY": "<NG_POSTCODE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"nigeria-postcode": {
"type": "stdio",
"command": "uvx",
"args": [
"ng-postcode-mcp"
],
"env": {
"NG_POSTCODE_API_KEY": "<NG_POSTCODE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"nigeria-postcode": {
"command": "uvx",
"args": [
"ng-postcode-mcp"
],
"env": {
"NG_POSTCODE_API_KEY": "<NG_POSTCODE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"nigeria-postcode": {
"command": "uvx",
"args": [
"ng-postcode-mcp"
],
"env": {
"NG_POSTCODE_API_KEY": "<NG_POSTCODE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"nigeria-postcode": {
"command": "uvx",
"args": [
"ng-postcode-mcp"
],
"env": {
"NG_POSTCODE_API_KEY": "<NG_POSTCODE_API_KEY>"
}
}
}
}Environment variables
NG_POSTCODE_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.