mcpField
N
nishati-mcp

nishati-mcp

Local
github.com/gabrielmahiaOther0Updated 6d ago

About nishati-mcp

nishati-mcp is an MCP server for people comparing electricity access and energy options in Kenya. Its tools cover KPLC connections, indicative tariff estimates, solar options, subsidy programmes, and energy rights; demo data should be verified with authorities.

Key features

  1. 01KPLC connection guidance
  2. 02Indicative electricity tariff calculation
  3. 03Solar options by budget and use
  4. 04County-based subsidy programme lookup
  5. 05Energy rights information

Use cases

  1. 01Review electricity connection steps
  2. 02Estimate a bill from monthly usage
  3. 03Compare solar options for a budget
  4. 04Check county energy subsidy programmes

MCP support

Exposes five Kenya energy guidance tools to MCP clients. Responses include a source field, and DEMO-labelled information is illustrative rather than a live feed.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"gabrielmahia-nishati": {
"command": "uvx",
"args": [
"nishati-mcp"
]
}
}
}
Run commanduvx nishati-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypinishati-mcp0.1.9

Tools

5

Saved tool list · updated 5d ago

ParameterTypeRequiredDescription
countyanyNo
connection_typeanyNo

Details

From the project 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

pip install nishati-mcp

Tools (5)

  • 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

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.