
Soko Mcp
io.github.gabrielmahiaPublished by GitHub account gabrielmahiav0.1.12Updated Nov 11, 2026
Kenya commodity price tools on synthetic demo data: prices, trends, comparison, sell or hold.
Overview
Local MCP server offering Kenya commodity price tools — prices, market comparisons, trends and sell-or-hold guidance — mostly on synthetic demo data.
- What you can do
- Look up the current price of a commodity at a specific Kenyan market and get a multi-commodity snapshot for one market.
- Compare prices for a commodity across major Kenya markets.
- Review six-month price history with a three-month seasonal forecast.
- Get sell-or-hold timing guidance that factors in storage costs and price trend.
- Fetch the latest WFP-monitored Kenya market prices for a commodity, optionally by county, through HDX HAPI.
- When to use it
- Useful for exploring how an assistant could answer farmer- or trader-style questions about Kenyan crop prices, market comparisons and selling timing. Treat it as a demonstration or prototyping aid rather than a source for real trading or farm decisions.
- Requirements
- Runs locally over stdio; install the soko-mcp Python package with pip. No accounts, API keys or environment variables are declared. The live WFP price tool needs network access to HDX HAPI.
Installation
In SourceWeft
- Open Soko Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
📊 soko-mcp — Kenya Commodity Price Intelligence MCP Server
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
Quick Start
Example Queries for Claude
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 evaluationkilimo-mcp— agricultural advisoryafya-mcp— health surveillance activationcounty-mcp— county office alert
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
- Install & run:
pip install reli-cli && reli list— the MCP servers on the official MCP Registry underio.github.gabrielmahia - Evaluate any model on Swahili agent tasks: kipimo · dataset · leaderboard
- Coordinate across servers: africa-coord-bus — offline-first event bus with a built-in Kenya routing table
- Datasets: huggingface.co/gmahia · Docs hub: nairobi-stack
Model-agnostic by design: closed APIs, open-weight models, and small distilled models are all first-class citizens.
Source: README.md at commit ff2552e
Tools
0Version history
9- v0.1.12LatestNov 11, 2026
- v0.1.11Nov 7, 2026
- v0.1.10Nov 5, 2026
- v0.1.9Nov 3, 2026
- v0.1.8Oct 23, 2026
- v0.1.7Oct 21, 2026
- v0.1.6Oct 17, 2026
- v0.1.5Oct 14, 2026
- v0.1.4Sep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.