Back to Browse

Soko MCP Server

Developer ToolsUse Caution4.5MCP RegistryLocal
Free

Server data from the Official MCP Registry

Kenya commodity price tools on synthetic demo data: prices, trends, comparison, sell or hold.

About

Kenya commodity price tools on synthetic demo data: prices, trends, comparison, sell or hold.

Security Report

4.5
Use Caution4.5High Risk

Valid MCP server (1 strong, 4 medium validity signals). 5 known CVEs in dependencies (1 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry.

9 files analyzed Ā· 6 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-gabrielmahia-soko-mcp": {
      "args": [
        "soko-mcp"
      ],
      "command": "uvx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

šŸ“Š soko-mcp — Kenya Commodity Price Intelligence MCP Server

soko-mcp Glama score

Install: pip install soko-mcp Ā· Use with any MCP client.

A farmer deciding whether to sell or hold needs current prices across multiple markets simultaneously. That comparison exists nowhere as a single queryable source.

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

ToolWhat it does
commodity_price_queryCurrent price for commodity at a specific market
regional_price_comparisonCompare prices across all major Kenya markets
price_trend_analysis6-month history + 3-month forecast with seasonal model
sell_hold_decisionOptimal sell/hold timing given storage costs and price trend
market_overviewMulti-commodity price snapshot for a market
food_market_pricesLatest WFP market prices in Kenya for a commodity, via HDX HAPI

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

Live data

  • food_market_prices: the latest WFP-monitored market prices in Kenya for a commodity, optionally by county, via HDX HAPI (WFP data CC BY-IGO).

Each live answer names its source, attribution and retrieval time; if a service does not answer, the tool returns an error instead of a number. The other tools are unchanged.

Part of the East Africa Coordination Stack

This MCP server is part of the Kenya coordination infrastructure. It connects to africa-coord-bus — the coordination event bus that routes signals between domains automatically.

When this server detects a threshold condition, the bus notifies:

  • bima-mcp — parametric insurance evaluation
  • kilimo-mcp — agricultural advisory
  • afya-mcp — health surveillance activation
  • county-mcp — county office alert
pip install africa-coord-bus

All servers: pypi.org/user/gmahia

IP & Collaboration

MIT licensed. Feedback via GitHub Issues only — pull requests are not accepted. Demo data is labeled DEMO and is not suitable for operational decisions. Full policy: docs/architecture/IP_POLICY.md. Security reports: see SECURITY.md.

Part of the East Africa coordination stack

Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.

Reviews

No reviews yet

Be the first to review this server!