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 (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.

Metadata

Release files for nishati-mcp 0.1.12

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.12
File Size Uploaded Provenance Actions
nishati_mcp-0.1.12.tar.gz 13.3 kB With provenance Details for nishati_mcp-0.1.12.tar.gz

Built distribution (wheel)

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

Total release size: 23.3 kB

Release files / nishati_mcp-0.1.12.tar.gz

Download URL nishati_mcp-0.1.12.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ccfe15528de6d0384bdf02255467fce63cc4fce612911dc15819f69dce984b20
BLAKE2b-256 checksum
How to use checksums
863ed1d551416813456c26c7dadf14183257c1a78503c61c122cf698ab24d12f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

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

Download URL nishati_mcp-0.1.12-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d00dfbc5eb53bf9e83a73bf4a81f3edf63540952b11a0c3d099ae57756f56475
BLAKE2b-256 checksum
How to use checksums
1509f9270e251d75e87d08028d07d95a6a3a08e8b9eca41f72bd3932bd3a8a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 6, 2026.

Transparency log

Security for nishati-mcp 0.1.12

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nishati_mcp-0.1.12.tar.gz

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 Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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