New · Connect your AI with MCP

The Prediction OS
for every decision.

Bring your data and name the outcome. predictAI discovers what drives it, trains and races models, and keeps the best one answering — over REST, official SDKs, and live WebSockets.

pip install predictai·npm install @predictai/sdk
create a goal · python
from predictai import PredictAI

client = PredictAI(token="pa_live_…")

goal = client.goals.post_goals(json={
    "target_key": "daily_sales",
    "goal_type": "forecast_value",
})

# drivers discovered
# models raced
# champion deployed
wss · goal:b7e9c2d4
goal.status      { "status": "serving" }
alerts.evaluated { "fired": 1 }

Model Context Protocol

Your AI already knows predictAI.

The official MCP server hands the whole platform to Claude, Cursor, or any MCP-capable agent. Say “upload this CSV and warn me if next week looks bad” — the agent ingests the file, creates a goal, and arms an alert on its own.

Connect your AI
mcp.json · that's the whole setup
{
  "mcpServers": {
    "predictai": { "url": "https://mcp.predict.ai/mcp" }
  }
}
# then, in your agent:
you · forecast daily_sales and alert me on dips
agent · create_goal → wait_for_goal → create_alert ✓

Take it to code

Every endpoint in these docs is a method call in the official SDKs — auth, workspace scoping, errors, and WebSockets handled. Every code sample on the site has cURL, Python, and Node tabs; pick a language once and the whole site follows.

Ready to make your first call?

Grab an API token and get a prediction in about five minutes.