Back to Directory/Developer Tools

io.github.gabrielmahia/habari-mcp

MCP server for news and public-information coordination in East Africa (habari = news)

Developer ToolsPythonv0.1.3

habari-mcp

Why This Exists

Kenya publishes gazette notices, tenders, parliamentary activity and open data continuously, but the volume makes it effectively invisible. Accountability depends on being able to find the one notice that matters, not on everything being technically public.

Install

pip install habari-mcp

Tools (5)

  • gazette_search —
    args: search_type, date_range
  • tender_search_guide —
    args: sector, county
  • open_data_guide —
    args: data_type
  • parliament_tracker —
    args: query_type
  • citizen_feedback_channels —
    args: issue_type

Example

from habari_mcp.server import gazette_guide

result = gazette_guide()
# what the Gazette publishes, how to search, why it matters

Claude Desktop Integration

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "habari-mcp": {
      "command": "python",
      "args": ["-m", "habari_mcp.server"]
    }
  }
}

Data & Disclaimers

Pointers to official sources rather than a live mirror. For legal effect, always read the notice in the Kenya Gazette itself.

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 one of 32 tools in the Kenya coordination infrastructure. Connect it to africa-coord-bus — the coordination event bus that routes signals between domains automatically.

pip install africa-coord-bus

All 32 servers: pypi.org/user/gmahia Live demo: coord-cascade-demo

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.

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx habari-mcp

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-gabrielmahia-habari-mcp": {
      "command": "uvx",
      "args": [
        "habari-mcp"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

habari-mcppypi

Compatible MCP Clients

io.github.gabrielmahia/habari-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More