county-mcp
You can use this server to look up demo/reference civic data about Kenya's counties through six MCP tools.
county_information— retrieve county demographics and basic statistics by county or region.county_budget_guide— get budget allocation, development fund, and financial accountability data for a county.county_services_guide— list and describe devolved county services, optionally filtered by service.cdf_guide— access a guide to Kenya's Constituency Development Fund (CDF).ward_information— get ward and constituency breakdowns for a county.county_contact_directory— find official contact information for county government offices.
All responses are labeled DEMO/reference data and include a source field; verify against official authorities before acting.
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., "@county-mcp what is the population of Nairobi County?"
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.
county-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.
Related MCP server: historia-mcp
Install
pip install county-mcpTools (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, contactsClaude 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-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 toolscdf_guideC
Kenya Constituency Development Fund (CDF) guide. DEMO.
Inputs: no named parameters. Returns: object
county_budget_guideD
Kenya county devolution and budget information. DEMO.
Inputs: county. Returns: object
county_contact_directoryD
Kenya county government contact directory. DEMO.
Inputs: county. Returns: object
county_informationC
Kenya county demographics and basic statistics. DEMO.
Inputs: county, region. Returns: object
county_services_guideC
Services available at Kenya county government level. DEMO.
Inputs: service. Returns: object
ward_informationD
Kenya ward-level civic information and ward representative role. DEMO.
Inputs: county. 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 Kenya county information (CDF, budget, contacts, demographics, services, wards) with no overlap in purpose, allowing clear differentiation.
All tool names follow a consistent pattern of a topic descriptor followed by a common suffix (guide, directory, information), all in snake_case, making them predictable and easy to understand.
With 6 tools covering key county-related information categories, the set is well-scoped for an informational server—neither too sparse nor overloaded.
The tool surface covers essential county information areas, but as a demo it lacks some potentially useful tools (e.g., county legislation, project tracker), though core needs are met.
Maintenance
Related MCP Connectors
Local government intelligence for AI agents.
Normalized official data with provenance, aggregations, insights, free samples and agent access.
Normalized official data with provenance, aggregations, insights, free samples and agent access.
Official UK, US and Australia public datasets as filtered CSV, REST API and MCP for AI agents.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides access to Kenya's civic datasets including parliament records, county budgets, SACCO registry, and drought data through MCP tools. Enables AI agents to analyze and query Kenyan public data for civic applications.657 PyPI1MIT
- AlicenseCqualityBmaintenanceMCP server providing access to Kenya and East Africa historical archives, including timelines, independence leaders, cultural heritage sites, ethnic groups guide, oral history resources, and historical documents.689 PyPIMIT
- AlicenseCqualityBmaintenanceProvides tools to access information about religious institutions and community services in Kenya, including Catholic dioceses, Protestant denominations, Muslim communities, and welfare programs.673 PyPIMIT
- AlicenseAqualityBmaintenanceEnables interaction with Kenya's government processes by providing form checklists, draft letters, requirements checks, eCitizen guides, Huduma Centre locations, and timeline planning.664 PyPIMIT