nigeria-electricity

v0.2.6
io.github.Braynexservices/nigeria-electricity Checked 1 day ago Published 4 months ago

Read-only Nigerian electricity meter validation + DisCo list via VTpass (free keys).

Values you need

VariableWhat it is
ELECTRICITY_PROVIDERoptional Provider selector — "mock" (default, offline fixtures) or "vtpass" for live data.
VTPASS_API_KEYoptional secret VTpass API key — required when ELECTRICITY_PROVIDER=vtpass.
VTPASS_PUBLIC_KEYoptional VTpass public key (PK_...) — required when ELECTRICITY_PROVIDER=vtpass.
VTPASS_SECRET_KEYoptional secret VTpass secret key (SK_...) — required when ELECTRICITY_PROVIDER=vtpass.
VTPASS_BASE_URLoptional Set to https://vtpass.com/api for production (default is the VTpass sandbox).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add nigeria-electricity -- npx -y @braynexservices/nigeria-mcp-electricity@0.2.6
Add to claude_desktop_config.json
{
  "mcpServers": {
    "nigeria-electricity": {
      "args": [
        "-y",
        "@braynexservices/nigeria-mcp-electricity@0.2.6"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "nigeria-electricity": {
      "args": [
        "-y",
        "@braynexservices/nigeria-mcp-electricity@0.2.6"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "nigeria-electricity": {
      "args": [
        "-y",
        "@braynexservices/nigeria-mcp-electricity@0.2.6"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.nigeria-electricity]
command = "npx"
args = ["-y", "@braynexservices/nigeria-mcp-electricity@0.2.6"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: validate_meter, list_discos.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json