mcpField
B
bima-mcp

bima-mcp

Local
github.com/gabrielmahiaFinance0Updated 1w ago

About bima-mcp

bima-mcp is an MCP server for comparing and exploring insurance information in Kenya, aimed at households, farmers, community groups, and researchers. It offers product and coverage queries, estimates, crop-risk examples, and pooled-cover calculations, using demo data that is not a binding quote.

Key features

  1. 01List insurance products by type
  2. 02Query NHIF-era benefits
  3. 03Estimate monthly premiums
  4. 04Illustrative crop-risk scoring
  5. 05Compare microinsurance options
  6. 06Calculate community insurance pools

Use cases

  1. 01Explore cover for a small farm
  2. 02Check example NHIF-era benefits
  3. 03Compare affordable insurance options
  4. 04Estimate a community hospitalization pool

MCP support

It exposes six Kenya insurance tools to MCP clients for product listings, NHIF-era benefit queries, premium estimates, illustrative crop-risk scoring, microinsurance comparisons, and community pool calculations.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"gabrielmahia-bima": {
"command": "uvx",
"args": [
"bima-mcp"
]
}
}
}
Run commanduvx bima-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypibima-mcp0.1.9

Tools

6

Saved tool list · updated 1w ago

ParameterTypeRequiredDescription
product_typestringNoFilter by type: health, life, crop, device, or 'all'

Details

From the project README

🛡️ bima-mcp — Kenya Insurance Intelligence MCP Server

bima-mcp Glama score smithery badge

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

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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.