About county-mcp
county-mcp is an MCP server for reference information about Kenya's county governments, aimed at people looking up budgets, services, wards, and official contacts. It brings these topics into one set of tools, while noting that figures are public-source references and may change.
Key features
- 01Look up county facts
- 02Review county budget guidance
- 03Explore devolved services
- 04Consult CDF guidance
- 05Browse wards and constituencies
- 06Find county office contacts
Use cases
- 01Check a county's budget allocation
- 02Find services provided at county level
- 03Look up a county's ward structure
- 04Contact a county government office
MCP support
Exposes county government reference information through tools for MCP clients. Responses include a source field; demo figures should be checked against current official publications.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
6Saved tool list · updated 6d ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| county | any | No | Name of a Kenya county e.g. |
| region | any | No | Region filter: |
Details
From the project READMEcounty-mcp
Why This Exists
Kenya's 2010 Constitution devolved substantial budget and service delivery to 47 counties, but county-level demographics, budgets, ward structures and contacts are published inconsistently across 47 different sites. Devolution only works if citizens can actually see what their county controls.
Install
pip install county-mcp
Tools (6)
county_information—
args: county, regioncounty_budget_guide— Return budget allocation, development fund, and financial accountability data for a Kenya county.
args: countycounty_services_guide— List and describe devolved government services available at county level in Kenya.
args: servicecdf_guide—
args: no argumentsward_information— Return ward and constituency breakdown for a Kenya county.
args: countycounty_contact_directory— Return official contact information for Kenya county government offices.
args: county
Example
from county_mcp.server import county_information
result = county_information(county='Kiambu')
# demographics, budget allocation, services, contacts
Claude Desktop Integration
Add to claude_desktop_config.json:
{
"mcpServers": {
"county-mcp": {
"command": "python",
"args": ["-m", "county_mcp.server"]
}
}
}
Data & Disclaimers
County figures are reference data compiled from public sources. Budgets change each fiscal year — verify against the Controller of Budget (cob.go.ke) and the county's own publications.
Every tool response carries a source field. Responses labelled DEMO are
illustrative reference data, not a live feed — verify against the authority
named in the response before acting on it.
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-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
- Install & run:
pip install reli-cli && reli list— the MCP servers on the official MCP Registry underio.github.gabrielmahia - Evaluate 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.
Comments
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.