MCP server for Rwanda's national soil information system (RwaSIS), operated by Rwanda Agriculture Board (RAB)
Project description
rwasis-mcp
MCP server for RwaSIS — Rwanda's national soil information system, operated by the Rwanda Agriculture Board (RAB).
Part of the Inzira project — Layer 2.
Installation
pip install rwasis-mcp
Usage
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"rwasis": {
"command": "rwasis-mcp"
}
}
}
With mcp CLI
mcp run rwasis-mcp
Tools
get_crops
Returns all crops registered in the RwaSIS system.
Returns: List of crops — Bean, Cassava, Rice, Potato, Maize, Wheat.
Note: only Potato and Rice currently have fertilizer recommendations.
get_soil_by_location
Returns soil data and fertilizer recommendations for a Rwanda location.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | Village, cell, sector, or district name (e.g. Gasabo, Kigali) |
Returns: carbon, calcium, potassium, phValues, erosionRisk, erosionRecommendation, potatoFertilizerRecommendation, riceFertilizerRecommendation, boundary.
Note: the
/boundaries?name=endpoint currently returns empty arrays for all locations — the soil data tables appear not yet populated on the RAB side. This is a known issue raised with RAB.
get_soil_by_upi
Returns parcel location and soil data for a Rwanda UPI (parcel identifier).
Parameters:
| Name | Type | Description |
|---|---|---|
upi |
string | Rwanda parcel UPI, e.g. 1/03/08/04/2148 |
UPI format: Province / District / Sector / Cell / Parcel
| Part | Format |
|---|---|
| Province | single digit (1–5) |
| District | two digits |
| Sector | two digits |
| Cell | two digits |
| Parcel | four digits |
Returns: resolved location (province, district, sector, cell, village), parcel boundary polygon, and fertilizer recommendations for Potato and Rice where available.
Example response for 1/03/08/04/2148:
- Location: Kigali City → Kicukiro → Masaka → Gitaraga → Kabeza
- Rice fertilizer: NPK 17-17-17 at 200 kg/ha, Urea at 100 kg/ha
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rwasis_mcp-0.1.1.tar.gz.
File metadata
- Download URL: rwasis_mcp-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0cbc62615f52b66f8ea7ef1cd3cf705fa3c7075b619f6e8f76c8d250be9dffc
|
|
| MD5 |
c810b8f22537b2a0816342fadfddb564
|
|
| BLAKE2b-256 |
92c837e95efc636a11d065543bc0de5052ceb5b82234db25e5b2048e30914b13
|
File details
Details for the file rwasis_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: rwasis_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
694a47de3cf43264dce9360550c80893f663c7a4716d062969f8e6fcea3c7493
|
|
| MD5 |
bebf5b2b2c17bfa790fa489009c46fc4
|
|
| BLAKE2b-256 |
6213dc027bcc0678371f922a3751fc2ac07fb1ff8c0e376c53880f94fcc33b5f
|