mazingira-mcp
Mazingira-mcp provides Kenya environmental/NEMA guidance through MCP tools, mostly DEMO reference data rather than live authority feeds.
nema_permit_guide: Get NEMA permit requirements and application process byactivity_type, with optionalcounty.climate_data_guide: Get Kenya climate data sources for weather, drought, and flood risk bydata_type, with optionalcounty.conservation_areas: Get national parks, game reserves, and protected land zones by optionalcountyandarea_type.environmental_rights_query: Query Kenya Constitution 2010 Article 42 environmental rights and violation reporting bytopic.climate_adaptation_guide: Get climate adaptation resources for farmers and communities by optionalregionandsector(defaultagriculture).Use it via Claude Desktop/MCP integration; every response includes a
sourcefield, and DEMO-labelled data must be verified before operational use.
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.
Related MCP server: habari-mcp
Install
pip install mazingira-mcpTools (5)
nema_permit_guide— Return Kenya NEMA (National Environment Management Authority) permit requirements and application process.
args: activity_type, countyclimate_data_guide— Return Kenya climate data, rainfall patterns, and temperature ranges by region.
args: data_type, countyconservation_areas— Return information on Kenya national parks, game reserves, and conservation areas.
args: county, area_typeenvironmental_rights_query— Return Kenya citizen environmental rights and violation reporting procedures.
args: topicclimate_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 exposureClaude 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-busAll 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
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
5 toolsclimate_adaptation_guideD
Kenya climate adaptation resources for farmers and communities. DEMO.
Inputs: region, sector. Returns: object
climate_data_guideC
Kenya climate data sources: weather, drought, flood risk. DEMO.
Inputs: data_type (required), county. Returns: object
conservation_areasC
Kenya conservation areas, national parks, and protected land zones. DEMO.
Inputs: county, area_type. Returns: object
environmental_rights_queryD
Environmental rights under Kenya Constitution 2010 Article 42. DEMO.
Inputs: topic (required). Returns: object
nema_permit_guideC
NEMA environmental permit requirements and process in Kenya. DEMO.
Inputs: activity_type (required), 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 5 tools
Each tool targets a unique aspect of Kenya's environment: climate adaptation, climate data, conservation areas, environmental rights, and permits. No overlap in purpose.
Most tools use a noun_guide pattern, but conservation_areas and environmental_rights_query break that pattern. Still generally clear and predictable.
Five tools is an appropriate size for a targeted domain like Kenya environmental resources. Not too few, not too many.
Covers key areas: climate, conservation, legal rights, and permits. Minor gaps like specific pollution data or community resources, but solid for a demo.
Maintenance
Related MCP Connectors
MCP server for Environment & Nature
Geospatial AI MCP server — satellite imagery, embeddings, weather, GNS governance
data.gov.ie MCP — Ireland's national open-data portal (CKAN API).
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server exposing Kenya NDMA drought phase classifications across all 47 counties, with tools for structured data access and SMS-based alerting via Africa’s Talking.354 PyPI1MIT
- AlicenseCqualityBmaintenanceMCP server for Kenya civic information — Kenya Gazette, government tenders, open data, parliament tracker, citizen feedback.589 PyPIMIT
- AlicenseBqualityCmaintenanceMCP server for Kenya transport — matatu route finder, NTSA services, boda licensing, freight logistics, passenger rights.583 PyPIMIT
- AlicenseBqualityBmaintenanceMCP server for Kenya health system — NHIF/SHA coverage, facility finder, community health workers, maternal health guidance, essential medicines.6118 PyPIMIT