Prediction Market X Sentiment

v0.2.0
io.github.wballztrading1/prediction-bot Checked 4 days ago Published 2 months ago

Polymarket & Kalshi sentiment from X (Twitter) via Grok.

Values you need

VariableWhat it is
PREDICTION_BOT_EVM_PRIVATE_KEYoptional secret Optional. Your own Base wallet key; enables auto-pay for paid tools (USDC via x402).
PREDICTION_BOT_MAX_USD_PER_CALLoptional Hard cap in USD per paid call. Default: 0.50
PREDICTION_BOT_SESSION_BUDGET_USDoptional Spending cap in USD per server session. Default: 1.00

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add prediction-bot -- uvx prediction-bot-mcp==0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "prediction-bot": {
      "args": [
        "prediction-bot-mcp==0.2.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "prediction-bot": {
      "args": [
        "prediction-bot-mcp==0.2.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "prediction-bot": {
      "args": [
        "prediction-bot-mcp==0.2.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.prediction-bot]
command = "uvx"
args = ["prediction-bot-mcp==0.2.0"]

Remote (hosted)

Run in a terminal
claude mcp add --transport http prediction-bot https://prediction-bot-iggf.onrender.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "prediction-bot": {
      "args": [
        "-y",
        "mcp-remote",
        "https://prediction-bot-iggf.onrender.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "prediction-bot": {
      "url": "https://prediction-bot-iggf.onrender.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "prediction-bot": {
      "type": "http",
      "url": "https://prediction-bot-iggf.onrender.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.prediction-bot]
command = "npx"
args = ["-y", "mcp-remote", "https://prediction-bot-iggf.onrender.com/mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_daily_scores, get_catalog, get_pricing, get_sample, get_health, get_top_markets, get_sentiment_shift, get_market_sentiment, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json