mcpField
M
mazingira-mcp

mazingira-mcp

Local
github.com/gabrielmahiaLegal & Government0Updated 2d ago

About mazingira-mcp

mazingira-mcp is an MCP server for people working with Kenyan environmental permits, climate information, conservation areas, and environmental rights. It offers five topic-specific tools, with responses that identify their sources and may contain demo data.

Key features

  1. 01NEMA permit requirements and process
  2. 02Regional climate data guidance
  3. 03Kenya conservation area information
  4. 04Environmental rights and reporting
  5. 05Climate adaptation guidance

Use cases

  1. 01Check permit steps for a project
  2. 02Explore regional rainfall and temperatures
  3. 03Find conservation areas by county
  4. 04Review environmental rights reporting steps

MCP support

Exposes five Kenya-focused environmental guidance tools to MCP clients. Each response includes a source field; DEMO-labelled material is illustrative, not a live feed.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"gabrielmahia-mazingira": {
"command": "uvx",
"args": [
"mazingira-mcp"
]
}
}
}
Run commanduvx mazingira-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimazingira-mcp0.1.9

Tools

5

Saved tool list · updated 6d ago

ParameterTypeRequiredDescription
countyanyNoOptional filter for county. Pass None to return all results.
activity_typestringYes

Details

From the project README

mazingira-mcp

Why This Exists

Kenyan projects stall or get fined because NEMA's permit thresholds, EIA requirements and environmental rights are hard to establish up front. Operating without an EIA carries serious penalties, so knowing which category a project falls into is worth more than knowing the law in general.

Install

pip install mazingira-mcp

Tools (5)

  • nema_permit_guide — Return Kenya NEMA (National Environment Management Authority) permit requirements and application process.
    args: activity_type, county
  • climate_data_guide — Return Kenya climate data, rainfall patterns, and temperature ranges by region.
    args: data_type, county
  • conservation_areas — Return information on Kenya national parks, game reserves, and conservation areas.
    args: county, area_type
  • environmental_rights_query — Return Kenya citizen environmental rights and violation reporting procedures.
    args: topic
  • climate_adaptation_guide —
    args: region, sector

Example

from mazingira_mcp.server import nema_permit_guide

result = nema_permit_guide(project_type='construction')
# permit type, threshold, fee basis, timeline, penalty exposure

Claude Desktop Integration

Add to claude_desktop_config.json:

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

Data & Disclaimers

Thresholds, fees and penalties reflect NEMA guidance and the Environmental Management and Co-ordination Act. Verify current figures at nema.go.ke before budgeting or filing.

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. Connect it to africa-coord-bus — the coordination event bus that routes signals between domains automatically.

pip install africa-coord-bus

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

Comments

Markdown supported

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.