io.github.gabrielmahia/nishati-mcp

السجل الرسمي أخرى

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

ماذا يمكنك أن تفعل مع io.github.gabrielmahia/nishati-mcp؟

  • kplc_connection_guide —
  • tariff_calculator —
  • solar_options_guide —
  • energy_subsidy_programs —
  • energy_rights_query —

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

PYPI package nishati-mcp
Claude Code
claude mcp add nishati-mcp -- uvx nishati-mcp==0.1.10
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "nishati-mcp": {
            "command": "uvx",
            "args": [
                "nishati-mcp==0.1.10"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. nishati-mcp
  2. Why This Exists
  3. Install
  4. Tools (5)
  5. Example
  6. Claude Desktop Integration
  7. Data & Disclaimers
  8. Part of the East Africa Coordination Stack
  9. IP & Collaboration
  10. Part of the East Africa coordination stack

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.

الأسئلة الشائعة

ما هو io.github.gabrielmahia/nishati-mcp؟

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

كيف أثبّت io.github.gabrielmahia/nishati-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add nishati-mcp -- uvx nishati-mcp==0.1.10. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.gabrielmahia/nishati-mcp إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل io.github.gabrielmahia/nishati-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.gabrielmahia/nishati-mcp؟

ينشره gabrielmahia. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.