Nishati Mcp

io.github.gabrielmahiaPublished by GitHub account gabrielmahiav0.1.13Updated Nov 11, 2026

Kenya energy guides: KPLC connections, tariff estimate, solar options, programmes. Illustrative.

VerifiedSTDIODesktop onlyLocation & LifestyleFinance

Overview

AI-generated overview

Local MCP server giving assistants Kenya energy guidance: KPLC connection steps, tariff estimates, solar options, subsidies and one live PVGIS solar-yield…

What you can do
  • Look up KPLC connection procedures by county and connection type
  • Estimate electricity bills from monthly kWh and customer type
  • Compare solar options by budget and use case, and estimate solar yield from PVGIS
  • Find energy subsidy programmes by county and query energy rights topics
When to use it
Useful when helping someone in Kenya decide between grid connection and off-grid solar, or when you need a rough electricity bill or subsidy overview. Treat the output as indicative reference material rather than an authoritative quote.
Requirements
Python package installed locally (pip install nishati-mcp) and launched as a local stdio process, e.g. via python -m nishati_mcp.server in the desktop client config. No API keys or environment variables declared. The solar-yield tool calls the European Commission's PVGIS service over the network.
Before you install
Five of the six tools return DEMO data, described as illustrative and not suitable for operational decisions; only the solar-yield estimate is live. Tariffs change and calculations are indicative, so confirm rates with the named authority before relying on them. The README also promotes a separate coordination event bus package.

Installation

In SourceWeft

  1. Open Nishati Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

nishati-mcp

Why This Exists

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.

Install

bash
pip install nishati-mcp

Tools (6)

  • kplc_connection_guide —
    args: county, connection_type
  • tariff_calculator —
    args: monthly_units_kwh, customer_type
  • solar_options_guide —
    args: budget_kes, use_case
  • energy_subsidy_programs —
    args: county
  • energy_rights_query —
    args: topic

Live data: solar_yield_estimate

Annual and monthly output of a fixed solar system at any location, from the European Commission's PVGIS service (free, no key). Each answer names its source and retrieval time; if PVGIS does not answer, the tool returns an error instead of a number. PVGIS © European Union, 2001-2026; reuse is authorised provided the source is acknowledged. The other five tools still use DEMO data.

Example

python
from nishati_mcp.server import tariff_calculator
result = tariff_calculator(units_kwh=150)# band breakdown, levies, estimated bill

Claude Desktop Integration

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "nishati-mcp": {      "command": "python",      "args": ["-m", "nishati_mcp.server"]    }  }}

Data & Disclaimers

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.

Part of the East Africa Coordination Stack

This MCP server is part of the Kenya coordination infrastructure. Connect it to africa-coord-bus — the coordination event bus that routes signals between domains automatically.

bash
pip install africa-coord-bus

All servers: pypi.org/user/gmahia Live demo: coord-cascade-demo

IP & Collaboration

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.

Part of the East Africa coordination stack

Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.

Source: README.md at commit d84cf14

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

10
  1. v0.1.13LatestNov 11, 2026
  2. v0.1.12Nov 7, 2026
  3. v0.1.11Nov 4, 2026
  4. v0.1.10Nov 3, 2026
  5. v0.1.9Oct 23, 2026
  6. v0.1.8Oct 21, 2026
  7. v0.1.7Oct 17, 2026
  8. v0.1.6Oct 13, 2026
  9. v0.1.5Oct 8, 2026
  10. v0.1.3Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts