MCP server for energy coordination in East Africa (nishati = energy)
Getting connected to power in Kenya — or deciding between grid and off-grid solar — depends on tariff bands, connection procedures and subsidy programmes that are difficult to compare side by side. Energy access decisions are long-lived and expensive to reverse, so the comparison matters more than the brochure.
pip install nishati-mcp
kplc_connection_guide —tariff_calculator —solar_options_guide —energy_subsidy_programs —energy_rights_query —from nishati_mcp.server import tariff_calculator
result = tariff_calculator(units_kwh=150)
# band breakdown, levies, estimated bill
Add to claude_desktop_config.json:
{
"mcpServers": {
"nishati-mcp": {
"command": "python",
"args": ["-m", "nishati_mcp.server"]
}
}
}
Tariffs are set by EPRA and revised periodically. Treat calculations as indicative and confirm current rates with KPLC or epra.go.ke before relying on them.
Every tool response carries a source field. Responses labelled DEMO are
illustrative reference data, not a live feed — verify against the authority
named in the response before acting on it.
This MCP server is one of 32 tools in the Kenya coordination infrastructure.
Connect it to africa-coord-bus —
the coordination event bus that routes signals between domains automatically.
pip install africa-coord-bus
All 32 servers: pypi.org/user/gmahia Live demo: coord-cascade-demo
MIT licensed. Feedback via GitHub Issues only — pull requests are not accepted. Demo data is labeled DEMO and is not suitable for operational decisions. Full policy: docs/architecture/IP_POLICY.md. Security reports: see SECURITY.md.
pip install reli-cli && reli list — 33 MCP servers on the official MCP Registry under io.github.gabrielmahiaModel-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx nishati-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-gabrielmahia-nishati-mcp": {
"command": "uvx",
"args": [
"nishati-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencenishati-mcppypiio.github.gabrielmahia/nishati-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.