Skip to main content
Glama
nishati-mcp

nishati-mcp

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.

Related MCP server: mazingira-mcp

Install

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

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:

{
  "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.

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.

Available Tools

5 tools
energy_rights_queryC

Consumer rights for electricity in Kenya. DEMO.

Inputs: topic (required). Returns: object

energy_subsidy_programsC

Kenya energy subsidy and access programs. DEMO.

Inputs: county. Returns: object

kplc_connection_guideC

Guide to new KPLC electricity connection in Kenya. DEMO.

Inputs: county, connection_type. Returns: object

solar_options_guideD

Off-grid solar options for Kenya households. DEMO.

Inputs: use_case, budget_kes. Returns: object

tariff_calculatorC

Estimate monthly KPLC electricity cost for Kenya household. DEMO.

Inputs: monthly_units_kwh (required), customer_type. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct aspect of Kenya household energy: rights, subsidies, connection, solar options, and tariff calculation. There is no overlap in purposes.

    Naming Consistency5/5

    All tool names follow a clear noun_phrase pattern with underscores (e.g., energy_rights_query, tariff_calculator), providing consistent, descriptive naming.

    Tool Count5/5

    With 5 tools covering the key areas of Kenya household energy, the set is well-scoped and not overly large or small for an informational server.

    Completeness4/5

    The server covers consumer rights, subsidies, connection guide, solar options, and tariff calculation. Minor gaps exist (e.g., outage reporting, applicable for demo use).

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers