Skip to main content

🛡️ bima-mcp — Kenya Insurance Intelligence MCP Server

bima-mcp Glama score smithery badge


Compatible with claude-sonnet-5 (released 2026-06-30) — Anthropic's most agentic Sonnet yet. Runs multi-step tool chains end-to-end without stopping short. 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

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 NDMA-based crop insurance risk for smallholder farmers
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 one of 32 tools in 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.

Metadata

Release files for bima-mcp 0.1.4

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

Source distribution (sdist)

Source distribution for bima-mcp 0.1.4
File Size Uploaded
bima_mcp-0.1.4.tar.gz 14.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bima-mcp 0.1.4
File Interpreter ABI Platform
bima_mcp-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 27.2 kB

Release files / bima_mcp-0.1.4.tar.gz

Download URL bima_mcp-0.1.4.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8aeed6b4d0b0c2ab46b1941f54c3920836b718a7455d53a323ad21dc998ddb30
BLAKE2b-256 checksum
How to use checksums
fa80245cbc397f133205474d92a750f3a36e83efdf95e602d2f530b185657329
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / bima_mcp-0.1.4-py3-none-any.whl

Download URL bima_mcp-0.1.4-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77063be3aef0fe2fdf8ec946620f29c8140158759aea157adbcad9de24dd5106
BLAKE2b-256 checksum
How to use checksums
f62e95ca91d3bf8e34b2aaf7bab71a6547c5cfc6be26139b25407b80f4af27c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.1.5

2 release files

This release

0.1.4 This release

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