Skip to main content

MCP server for Africa commodity price intelligence and market signals

Project description

📊 soko-mcp — Kenya Commodity Price Intelligence MCP Server

soko-mcp Glama score smithery badge

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.2.tar.gz (8.5 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.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: soko_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 8.5 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.2.tar.gz
Algorithm Hash digest
SHA256 866465db56295b9b3dd32ef7a2261f9135cd81a9cc8700095a8db46f0ffca1f0
MD5 27dd27b84836f5162028d98ee21c41d7
BLAKE2b-256 ea08f157d5bd9136bd457e30ed9327bf894c96b051c6db3c37bbc0bebcdf843f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: soko_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc3fafea8e63749e64082b3c68ef02aea0a02e511cb98c60722ad7162e07498
MD5 78a3712f72e4eb9631c7ce25d72949bd
BLAKE2b-256 51ee1892835cb82968efa7ec0df16d2d17aec71a60638e6d6b4cf7443a8e786e

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