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

soko-mcp Glama score

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: soko_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 8.4 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.1.tar.gz
Algorithm Hash digest
SHA256 56b824d216ba095e3502d82c0587706ab87f1e776e6c933a628049b945a6ec3c
MD5 bc94fc405057b5a8eb9f93e378b8dcac
BLAKE2b-256 036533c2c380878b967395c6cb82f320668df9d4258a939c24f2b2f02c76f37d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: soko_mcp-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aa7ddd3a65400be6b3529ef7580c9ced7743c6dc51b87977fb6332d4edab8d72
MD5 5b3287b39e54a0c194636f7ebfc798c0
BLAKE2b-256 1e7791625cbe1ffe48d39184200c0fac7f43558fda0ed9b5d8f69eb353dc989b

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