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
| Tool | Auth | Cost | Purpose |
|---|---|---|---|
| polyinsight_search_events | none | free | Find events; returns event_id |
| polyinsight_get_event | none | free | Detail + sub-market live prices |
| polyinsight_check_report | key | free | Cache status + current dynamic quote |
| polyinsight_run_council_report | key | dynamic quote (½ cached) | Run the council; polls to completion |
| polyinsight_get_report | key | free | Fetch / re-poll a report |
| polyinsight_list_reports | key | free | Your report history |
| polyinsight_get_credit_balance | key | free | Paid + free credits |
Environment
| Variable | Default | Purpose |
|---|---|---|
| POLYINSIGHT_API_KEY | — (required for spending tools) | Your pc_live_ key |
| POLYINSIGHT_API_URL | production backend | Override 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.