Skip to main content

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.

Metadata

Release files for nishati-mcp 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nishati-mcp 0.1.7
File Size Uploaded
nishati_mcp-0.1.7.tar.gz 8.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nishati-mcp 0.1.7
File Interpreter ABI Platform
nishati_mcp-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / nishati_mcp-0.1.7.tar.gz

Download URL nishati_mcp-0.1.7.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
aaf3b0d1f2f515415669d3b3ba2b504b44e9ceb00b15b76d5c0dda2d2fc8697d
BLAKE2b-256 checksum
How to use checksums
b995f362305750a9f2bd06e1add3cd17ac16eef7b383a0ecc131b4bc7d574663
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release files / nishati_mcp-0.1.7-py3-none-any.whl

Download URL nishati_mcp-0.1.7-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13d33ee0bc42478920eed62a3cc98808c4631d545583b5868cc8b7cebbf34474
BLAKE2b-256 checksum
How to use checksums
abf41ce29ee8aa40a6a71355b7e30d4cbe9a93add1af75a6a01d18c64d4e49c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page