County Mcp

io.github.gabrielmahia由 GitHub 账号 gabrielmahia 发布v0.1.12更新于 Nov 11, 2026

Kenya county reference: facts, budget guide, services, CDF, wards and contacts. Sample data.

已验证STDIO仅桌面位置与生活知识与记忆

概览

AI 生成的概览

本地 MCP 服务器,让助手查询肯尼亚 47 个郡的参考资料:概况、预算、下放服务、CDF、选区与办公联系方式。

可以做什么
  • 按郡或地区查询郡概况,含人口统计、预算分配、服务与联系方式
  • 获取某郡的预算分配、发展基金与财政问责说明
  • 列出并说明郡级下放的政府服务
  • 介绍选区发展基金(CDF)
  • 查询某郡的选区(ward)与选区分区结构
  • 返回郡政府办公室的官方联系方式
适用场景
适合回答有关肯尼亚郡政府、权力下放、郡预算或 CDF 的问题,或需要选区结构与郡办公室联系方式时使用。它是静态参考资料,并非实时数据源。
运行要求
以 PyPI 包 county-mcp 通过 stdio 在本地运行,需先 pip 安装,因此需要 Python 环境。未声明任何认证、环境变量或请求头。README 给出以 python -m county_mcp.server 启动的 Claude Desktop 配置示例。
安装前请注意
README 说明数据为汇编的参考资料,标注 DEMO 的响应仅为示例、并非实时数据,不适合用于实际运营决策;预算每财年变化,应向预算控制官及郡政府自身发布内容核实。README 还提到可选连接外部协调事件总线并向其他服务器转发信号,这会把数据发送到本服务器之外。

安装

在 SourceWeft 中

  1. 打开 控制台中的 County Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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

bash
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

python
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:

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
python
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.

来源:README.md,提交 5eeef6f

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

9
  1. v0.1.12最新Nov 11, 2026
  2. v0.1.11Nov 7, 2026
  3. v0.1.10Nov 3, 2026
  4. v0.1.9Oct 23, 2026
  5. v0.1.8Oct 21, 2026
  6. v0.1.7Oct 17, 2026
  7. v0.1.6Oct 13, 2026
  8. v0.1.5Oct 12, 2026
  9. v0.1.4Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分