Agents

MCP server

A FastMCP server exposing the council as 7 tools for any MCP client. Event browsing is free; the flagship run_council_report tool spends credits and polls the 30–120s background run to completion for you.

Install

Claude Code
claude mcp add predictioncouncil \
  -e POLYINSIGHT_API_KEY=pc_live_... \
  -- uvx --from git+https://github.com/daveb1392/predictioncouncil-mcp predictioncouncil-mcp
Claude Desktop / generic client (claude_desktop_config.json)
{
  "mcpServers": {
    "predictioncouncil": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/daveb1392/predictioncouncil-mcp", "predictioncouncil-mcp"],
      "env": {"POLYINSIGHT_API_KEY": "pc_live_..."}
    }
  }
}

Source, example config, and the Claude skill live in the public repo: github.com/daveb1392/predictioncouncil-mcp.

Tools

ToolAuthCostPurpose
polyinsight_search_eventsnonefreeFind events; returns event_id
polyinsight_get_eventnonefreeDetail + sub-market live prices
polyinsight_check_reportkeyfreeCache status + current dynamic quote
polyinsight_run_council_reportkeydynamic quote (½ cached)Run the council; polls to completion
polyinsight_get_reportkeyfreeFetch / re-poll a report
polyinsight_list_reportskeyfreeYour report history
polyinsight_get_credit_balancekeyfreePaid + free credits

Environment

VariableDefaultPurpose
POLYINSIGHT_API_KEY— (required for spending tools)Your pc_live_ key
POLYINSIGHT_API_URLproduction backendOverride for testing

Agent etiquette baked into the tools: check_report before running (dynamic pricing), 5 runs/hour, failed runs auto-refund, and response_format="json" for the full structured payload instead of the human summary.