Bima Mcp

io.github.gabrielmahiaPublished by GitHub account gabrielmahiav0.1.12Updated Nov 11, 2026

Kenya insurance MCP: sample products, NHIF-era coverage figures, illustrative crop risk. Demo data.

VerifiedSTDIODesktop onlyFinanceData & Analytics

Overview

AI-generated overview

A local demo MCP server exposing sample Kenya insurance data: product lists, NHIF-era coverage figures, premium estimates and illustrative crop risk.

What you can do
  • List IRA-registered insurance products by type (health, life, crop, device)
  • Query NHIF-era benefits by hospital tier and procedure type
  • Estimate monthly premiums by coverage type and income bracket
  • Score illustrative parametric crop risk from a small hand-written county table
  • Compare microinsurance options by target group and budget
  • Size a chama pooled insurance arrangement
When to use it
Useful for exploring or demonstrating what a Kenya insurance assistant could look like — sample questions about crop cover, NHIF tiers or chama pooling. Not suitable for real quotes, eligibility checks or operational decisions, since all data is labeled demo.
Requirements
A local Python environment with the bima-mcp package installed from PyPI, run as a stdio process (for example via a command entry in an MCP client). No accounts, API keys or environment variables are declared. Desktop client only.
Before you install
All figures are demo data, not real products or binding quotes, and the crop risk table is not verified against official drought data. The server is not affiliated with NHIF, IRA or any insurer. The README also describes connections to a separate coordination event bus and other servers; review that before enabling anything beyond the local process.

Installation

In SourceWeft

  1. Open Bima Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

🛡️ bima-mcp — Kenya Insurance Intelligence MCP Server

[bima-mcp Glama score]

Install: pip install bima-mcp · Use with any MCP client.

Insurance products exist — NHIF, parametric crop cover, microinsurance — but comparing them or checking eligibility requires navigating separate portals with no shared interface.

Exposes Kenya insurance data, NHIF-era coverage figures (NHIF is now SHA/SHIF), parametric crop risk scoring, and microinsurance comparison through the Model Context Protocol.

Why Insurance Infrastructure Matters

In mature economies, insurance is invisible infrastructure — it enables risk-taking by capping downside. A farmer plants a new crop because crop insurance limits loss. A parent starts a business because health insurance protects the family. Without this floor, the rational choice is perpetual caution.

Kenya's insurance penetration: 2.3% of GDP vs 8–11% in developed markets. The gap is not cultural — it is the cost of distribution, claims verification, and actuarial data. All three can be compressed by technology.

Tools

ToolWhat it does
kenya_insurance_productsList IRA-registered products by type (health, life, crop, device)
nhif_coverage_queryQuery NHIF benefits by hospital tier and procedure type
premium_estimateEstimate monthly premiums for any coverage type + income bracket
parametric_crop_riskIllustrative crop insurance risk from a small hand-written county table (not verified against NDMA data)
compare_microinsuranceCompare affordable products by target group and budget
community_pool_calculatorSize a chama pooled insurance arrangement

Quick Start

bash
pip install bima-mcp       # coming soon to PyPIbima-mcp                   # starts the MCP server on stdio

Claude Desktop Integration

json
{  "mcpServers": {    "bima-mcp": {      "command": "bima-mcp"    }  }}

Use Cases

  • Farmers: "What crop insurance do I need for my 2-acre maize farm in Nakuru?"
  • Informal workers: "What NHIF tier 4 inpatient coverage do I get for KES 500/month?"
  • Chama treasurers: "How do I set up pooled hospitalization cover for 25 members?"
  • Researchers: "Compare parametric crop insurance risk across Kenya counties"

Research Basis

  • ACRE Africa Parametric Crop Insurance Methodology (2023)
  • Kenya IRA Annual Report 2024
  • World Bank Insurance Primer for Low-Income Markets (2023)
  • NDMA County Drought Monitoring Reports

⚠️ Disclaimers

DEMO data — not real insurance products or binding quotes. Not affiliated with NHIF, IRA, or any insurance provider. Always consult a licensed IRA-registered insurance agent for actual products. Kenya IRA: ira.go.ke


© 2026 Gabriel Mahia / AI Kung Fu LLC · MIT License

Part of the East Africa Coordination Stack

This MCP server is part of the Kenya coordination infrastructure. It connects to africa-coord-bus — the coordination event bus that routes signals between domains automatically.

When this server detects a threshold condition, the bus notifies:

  • bima-mcp — parametric insurance evaluation
  • kilimo-mcp — agricultural advisory
  • afya-mcp — health surveillance activation
  • county-mcp — county office alert
python
pip install africa-coord-bus

All servers: pypi.org/user/gmahia

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.

Source: README.md at commit 9f6ec42

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

10
  1. v0.1.12LatestNov 11, 2026
  2. v0.1.11Nov 7, 2026
  3. v0.1.10Nov 3, 2026
  4. v0.1.9Oct 23, 2026
  5. v0.1.8Oct 21, 2026
  6. v0.1.7Oct 17, 2026
  7. v0.1.6Oct 17, 2026
  8. v0.1.5Oct 14, 2026
  9. v0.1.4Oct 5, 2026
  10. v0.1.3Sep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.