Skip to main content

MCP server for East Africa commodity price intelligence and market signals

Project description

📊 soko-mcp — Kenya Commodity Price Intelligence MCP Server

First commodity price intelligence MCP server for East Africa.

Soko = market in Swahili.

A farmer in Nakuru doesn't know that maize prices in Nairobi are 40% higher that week. Traders know. Farmers don't. This information asymmetry is one of the most costly structural disadvantages facing smallholder farmers. soko-mcp closes it.

The Structural Problem

In mature commodity markets, price discovery is instantaneous — futures markets, satellite price tickers, and SMS alerts exist for every major exchange. A grain elevator in Iowa checks live CME prices before making any offer.

In Kenya, most smallholder farmers receive the price the trader offers, with no independent benchmark to compare against. The result: systematic underpricing at harvest, systematic overpricing at planting.

Information asymmetry is a tax on the poor.

Tools

Tool What it does
commodity_price_query Current price for commodity at a specific market
regional_price_comparison Compare prices across all major Kenya markets
price_trend_analysis 6-month history + 3-month forecast with seasonal model
sell_hold_decision Optimal sell/hold timing given storage costs and price trend
market_overview Multi-commodity price snapshot for a market

Quick Start

pip install soko-mcp       # coming soon to PyPI
soko-mcp                   # starts on stdio

Example Queries for Claude

"What is the current Nairobi maize price?"
"Should I sell my 50 bags of beans now or wait 2 months?"
"Compare potato prices across all Kenya markets"
"Give me a price trend for avocados in Nakuru for the next 3 months"

Research Basis

  • EAGC East Africa Regional Market Monitor
  • World Bank "Information and Communication Technology and Agricultural Markets" (2016)
  • Suri & Jack "Mobile Phones and Agricultural Performance" (2016)

⚠️ DEMO data — synthetic seasonal model. Verify at eagc.org, kalro.org, or local market boards.


© 2026 Gabriel Mahia / AI Kung Fu LLC · MIT License

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

soko_mcp-0.1.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

soko_mcp-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file soko_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: soko_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for soko_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d5ccf1d87a8a73fc1cc42e8f8d9e8cbcfb420a8ee15dc2006632acbc4ffd3447
MD5 b75a306e4878c3b356bd505f485fbb8a
BLAKE2b-256 38778ab18c5b7eb5d9fb5f3c9b899f06c8f68bb061e4955eb6ad3231435c3072

See more details on using hashes here.

File details

Details for the file soko_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: soko_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for soko_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60cd3e09833809b7a2e4caecb44d2be176c09a3b0c85115dff99272421e9ee38
MD5 6ecb1fec7caea0a3f35691c78cdc5e16
BLAKE2b-256 100bb83839f61ffc623e8f84f65be4dd64da401f834a003fe9ac692fa8e0f176

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