Skip to main content

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

rwasis_mcp-0.1.6.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rwasis_mcp-0.1.6-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file rwasis_mcp-0.1.6.tar.gz.

File metadata

  • Download URL: rwasis_mcp-0.1.6.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.5

File hashes

Hashes for rwasis_mcp-0.1.6.tar.gz
Algorithm Hash digest
SHA256 9b50a1d3f1746024ff292a3468ccaab1a8301279aa879868221ec4d6bcd946f5
MD5 ecf35c0cb82dcc3bcc8cacb7757a5472
BLAKE2b-256 a41bfa6c221d6f1d5d91cedd832e2aee4011f7fbc9d42ac4539c5943c3f5e4c2

See more details on using hashes here.

File details

Details for the file rwasis_mcp-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: rwasis_mcp-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.5

File hashes

Hashes for rwasis_mcp-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 367cc3bd714a9746cddbcfade09b7eb0873d24e30ab87c7118f847e84bd43812
MD5 c4fd69d591ffe68130de446706ea47b8
BLAKE2b-256 2365d7a6ad32504722d6577f64c30be95bac23b143a2ecce6cbd99a0eb2765d5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page