
Soko Mcp
io.github.gabrielmahia由 GitHub 账号 gabrielmahia 发布v0.1.11更新于 Nov 7, 2026
Kenya commodity price tools on synthetic demo data: prices, trends, comparison, sell or hold.
概览
本地 MCP 服务器,为助手提供肯尼亚农产品价格工具:当前报价、市场对比、趋势、预测以及卖出或持有的建议。
- 可以做什么
- 查询某商品在肯尼亚特定市场的当前价格,并获取某市场的多商品价格快照
- 对比某商品在肯尼亚主要市场的价格
- 分析六个月价格历史并给出三个月季节性预测
- 结合仓储成本与价格趋势,给出卖出或持有的时机建议
- 通过 HDX HAPI 获取某商品最新的 WFP 监测市场价格,可按郡筛选
- 适用场景
- 适合探索肯尼亚农产品价格相关问题,例如比较各地玉米价格,或权衡收获后是卖出还是储存。多数工具返回的是合成演示数据,因此更适合演示、原型和探索,而非真实交易或农事决策。
- 运行要求
- 以 PyPI 包 soko-mcp 形式通过 stdio 在本地运行,需用 pip 安装,因此需要 Python 环境。未声明任何认证、环境变量或请求头。实时工具 food_market_prices 需要访问 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版本历史
8- v0.1.11最新Nov 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 分
请在仓库或注册中心条目中声明许可证。