Skip to main content

MCP server for Kenya insurance intelligence — NHIF, parametric crop risk, microinsurance comparison

Project description

🛡️ bima-mcp — Kenya Insurance Intelligence MCP Server

First insurance intelligence MCP server for East Africa.

Exposes Kenya insurance data, NHIF coverage analysis, 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bima_mcp-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bima_mcp-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file bima_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: bima_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bima_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5fb68d32ae4d0f2095a0a0ae57ae3692cb5ea8d7064f76dd242ac40de301f013
MD5 6f89248a4d5372b744875b4c328d7d68
BLAKE2b-256 fd62a4db2ed8bfb14819b2deaf3b3fb68eb430a75d4ee618ac1639cbcc036781

See more details on using hashes here.

File details

Details for the file bima_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bima_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for bima_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2f2286095314c4643c9614dce4ca22eee33e77192ff92919d03799e2336b9dc
MD5 6fbacb05cade30dac92def830f29b8ad
BLAKE2b-256 ea3ea21a0029e1b2f9b88af3180b607f7fc4f6df3f8ed93ac4eda22f4c8d3eff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page