Soko MCP Server

📊 soko-mcp — Kenya Commodity Price Intelligence MCP Server

Local serverstdioPython

What is the Soko MCP server?

📊 soko-mcp — Kenya Commodity Price Intelligence MCP Server. That is what the soko mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.

The short version

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

The tools it exposes

The server publishes 5 tools. What each one is for:

  • 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

Getting it running

The server ships on PyPI as soko-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

How it compares

Among the file and storage access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Soko's toolset — commodity_price_query, regional_price_comparison, price_trend_analysis and 2 more — is a fair guide to whether it matches your workflow. It is maintained by gabrielmahia; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Soko's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available 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

How to install the Soko MCP server

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

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Soko to commodity price query.
  • Use Soko to regional price comparison.
  • Use Soko to price trend analysis.

Frequently asked questions

It connects Soko to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (commodity_price_query, regional_price_comparison, price_trend_analysis, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Soko directly.