
Soko Mcp
io.github.gabrielmahia由 GitHub 帳號 gabrielmahia 發布v0.1.12更新於 Nov 11, 2026
Kenya commodity price tools on synthetic demo data: prices, trends, comparison, sell or hold.
概覽
本機 MCP 伺服器,提供肯亞大宗商品價格工具:價格、市場比較、趨勢與賣出或持有建議,多為合成示範資料。
- 可以做什麼
- 查詢某商品在指定肯亞市場的目前價格,並取得單一市場的多商品價格快照。
- 比較某商品在肯亞各主要市場的價格。
- 檢視六個月價格歷史及三個月季節性預測。
- 結合倉儲成本與價格趨勢,提供賣出或持有的時機建議。
- 透過 HDX HAPI 取得世界糧食計畫署監測的肯亞最新市場價格,可依郡篩選。
- 適用情境
- 適合探索助理如何回答農民或貿易商關於肯亞農作物價格、市場比較與出售時機的問題。應視為示範或原型輔助工具,而非真實交易或農務決策的依據。
- 執行需求
- 以 stdio 方式在本機執行,需用 pip 安裝 soko-mcp 這個 Python 套件。未宣告需要帳號、API 金鑰或環境變數。即時 WFP 價格工具需要連線至 HDX HAPI 的網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Soko Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
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.
來源:README.md,提交 ff2552e
工具
0版本歷史
9- v0.1.12最新Nov 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
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。