Skip to main content

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.

Install

pip install county-mcp

Tools (6)

  • county_information —
    args: county, region
  • county_budget_guide — Return budget allocation, development fund, and financial accountability data for a Kenya county.
    args: county
  • county_services_guide — List and describe devolved government services available at county level in Kenya.
    args: service
  • cdf_guide —
    args: no arguments
  • ward_information — Return ward and constituency breakdown for a Kenya county.
    args: county
  • county_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 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.

Metadata

Release files for county-mcp 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for county-mcp 0.1.8
File Size Uploaded Provenance Actions
county_mcp-0.1.8.tar.gz 12.7 kB With provenance Details for county_mcp-0.1.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for county-mcp 0.1.8
File Interpreter ABI Platform Actions
county_mcp-0.1.8-py3-none-any.whl Python 3 none any Details for county_mcp-0.1.8-py3-none-any.whl

Total release size: 22.9 kB

Release files / county_mcp-0.1.8.tar.gz

Download URL county_mcp-0.1.8.tar.gz
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b2677deb8d48c20c8c112e14a710d8982e1334569a190cdf937fc937b37dc6ac
BLAKE2b-256 checksum
How to use checksums
33ff263d10c6a9bd445c08a64410a607eee4e70e64af19ea549e580b39e7502f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / county_mcp-0.1.8-py3-none-any.whl

Download URL county_mcp-0.1.8-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23645f765b0f112e5b0c2cc65c5df71c5aafa7202cd236a25c7f9c7ee208098a
BLAKE2b-256 checksum
How to use checksums
79ff548df72f9be4d6bf794b4621b8f49cab8a818f59e26142270ad81d6be764
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for county-mcp 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for county_mcp-0.1.8.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page