bima-mcp
bima-mcp exposes Kenya insurance intelligence tools for exploring insurance products, NHIF-era coverage, premium estimates, crop risk, microinsurance, and chama pooling using DEMO data.
List IRA-style insurance products by type: health, life, crop, or device.
Query NHIF coverage details by hospital tier and procedure type.
Estimate monthly premiums by insurance type, age, income, county, and crop inputs.
Score parametric crop insurance risk by county, crop, acreage, and season.
Compare microinsurance options by target group and budget.
Model a chama/community insurance pool by group size, contribution, and coverage goal.
Treat outputs as demo/research guidance only, not real quotes or operational insurance advice.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bima-mcp What crop insurance is available for maize farmers in Nakuru?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π‘οΈ bima-mcp β Kenya Insurance Intelligence MCP Server
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 |
| List IRA-registered products by type (health, life, crop, device) |
| Query NHIF benefits by hospital tier and procedure type |
| Estimate monthly premiums for any coverage type + income bracket |
| Illustrative crop insurance risk from a small hand-written county table (not verified against NDMA data) |
| Compare affordable products by target group and budget |
| Size a chama pooled insurance arrangement |
Quick Start
pip install bima-mcp # coming soon to PyPI
bima-mcp # starts the MCP server on stdioClaude 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 evaluationkilimo-mcpβ agricultural advisoryafya-mcpβ health surveillance activationcounty-mcpβ county office alert
pip install africa-coord-busAll 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
Install & run:
pip install reli-cli && reli listβ the MCP servers on the official MCP Registry underio.github.gabrielmahiaEvaluate any model on Swahili agent tasks: kipimo Β· dataset Β· leaderboard
Coordinate across servers: africa-coord-bus β offline-first event bus with a built-in Kenya routing table
Datasets: huggingface.co/gmahia Β· Docs hub: nairobi-stack
Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.
Available Tools
6 toolscommunity_pool_calculatorARead-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_microinsuranceARead-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_productsARead-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_queryARead-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_riskARead-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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 6 tools
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.
Tool names are descriptive and use underscores consistently, but patterns vary (verb_noun, noun_noun, adjective_noun). Minor inconsistency, still clear.
Six tools is well-scoped for an educational insurance demonstration serverβneither too few nor too many.
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
Related MCP Connectors
African intelligence infrastructure for AI apps, developers, and data products via MCP.
MCP Server for agents to onboard, pay, and provision services autonomously with InFlow
MCP server for building and testing AI agents with multi-model experimentation and insights.
MCP server for AI access to Swagger by SmartBear.
Related MCP Servers
- AlicenseCqualityBmaintenanceMCP server for Kenya environment β NEMA permits, climate data, conservation areas, environmental rights, climate adaptation.594 PyPIMIT
- AlicenseBqualityBmaintenanceMCP server for Kenya transport β matatu route finder, NTSA services, boda licensing, freight logistics, passenger rights.583 PyPIMIT
- AlicenseBqualityBmaintenanceMCP server for Kenya health system β NHIF/SHA coverage, facility finder, community health workers, maternal health guidance, essential medicines.6118 PyPIMIT
- AlicenseBqualityBmaintenanceMCP server for Kenya land administration β title search, land rates, subdivision process, dispute resolution, land rights.587 PyPIMIT