Skip to main content
Glama

πŸ›‘οΈ 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.

Related MCP server: usafiri-mcp

Tools

Tool

What it does

kenya_insurance_products

List IRA-registered products by type (health, life, crop, device)

nhif_coverage_query

Query NHIF benefits by hospital tier and procedure type

premium_estimate

Estimate monthly premiums for any coverage type + income bracket

parametric_crop_risk

Illustrative crop insurance risk from a small hand-written county table (not verified against NDMA data)

compare_microinsurance

Compare affordable products by target group and budget

community_pool_calculator

Size a chama pooled insurance arrangement

Quick Start

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

Claude Desktop Integration

{
  "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

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.

Available Tools

6 tools
community_pool_calculatorA
Read-only

Calculate parameters for a community group (chama) pooled insurance arrangement. Western parallel: Fraternal benefit societies, mutual insurance companies, credit unions with insurance. Kenya parallel: Chama savings groups can formalize as Micro Insurance Groups under IRA. DEMO educational tool β€” not a licensed insurance product.

Inputs: group_size (required), monthly_contribution_kes (required), coverage_goal. Returns: object

compare_microinsuranceA
Read-only

Compare available microinsurance options for low-income Kenyans. Western parallel: Insurtech comparison platforms (Policygenius, The Zebra, NerdWallet Insurance). East Africa context: 67% of Kenyans cannot afford conventional insurance premiums. DEMO data β€” verify products at ira.go.ke.

Inputs: target_group, max_monthly_budget_kes. Returns: object

kenya_insurance_productsA
Read-only

List Kenya insurance product categories and representative products. Returns DEMO synthetic data for educational/research purposes. Not real insurance products or binding quotes.

Inputs: product_type. Returns: object

nhif_coverage_queryA
Read-only

Query NHIF (National Hospital Insurance Fund) coverage details by hospital tier and procedure. NHIF is Kenya's state health insurer, analogous to Medicare in the US or NHS in the UK. DEMO data β€” verify at nhif.or.ke.

Inputs: tier, procedure_type. Returns: object

parametric_crop_riskA
Read-only

Calculate parametric crop insurance risk for a Kenya smallholder farmer. Based on ACRE Africa methodology: NDVI satellite index + NDMA drought history. Western parallel: Root Insurance telematic scoring, Skywatch EasyCrop satellite insurance. DEMO data β€” actual payouts require enrollment with a licensed insurer.

Inputs: county (required), crop (required), acreage (required), season. Returns: object

premium_estimateA
Read-only

Estimate monthly insurance premium for a Kenya individual. Covers health, life, crop, and device insurance types. Western parallel: Online insurance quote engines (Policygenius, Lemonade). DEMO estimation β€” not a binding quote.

Inputs: insurance_type (required), age (required), monthly_income_kes (required), county, +2 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct aspect of insurance in Kenya: community pool, microinsurance comparison, product listing, NHIF coverage, parametric crop risk, and premium estimation. No functional overlap.

    Naming Consistency4/5

    Tool names are descriptive and use underscores consistently, but patterns vary (verb_noun, noun_noun, adjective_noun). Minor inconsistency, still clear.

    Tool Count5/5

    Six tools is well-scoped for an educational insurance demonstration serverβ€”neither too few nor too many.

    Completeness3/5

    Covers key areas like comparison, estimation, and specific products, but lacks full lifecycle (e.g., policy purchase, claims). Suitable for demo/research but not complete for real-world agent workflows.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers