Ask AI to explain Spavik

Make your app predict what happens next

Turn historical data into predictions your app can use, with one API.

account-risk.tsJavaScript
// Past accounts, with churn = 1 if they cancelled.
const history = 'accounts.csv';
 
// Create the model: the target is the column to predict.
const model = await spavik.train(history, {
  target: 'churn',
});
 
// Northwind today, without the churn label.
const result = await model.predict({
  plan: 'pro', seats: 12, tickets_90d: 3,
});
Run
  1. evaluate() Better than a simple guess
  2. train() churn model, version 1
  3. predict() 1 credit
NorthwindCustomer account
Plan
Pro
Seats
12
Tickets, last 90 days
3
Churn risk 78%

Your data already knows what happens next

If your app records an outcome, Spavik can predict it.

  1. 1Your app already records it

    Your database knows which customers cancelled, and what they looked like before.

  2. 2Spavik learns from it

    Point Spavik to that history and the column you want to predict. It first checks that your data is enough.

  3. 3Your app shows the answer

    Ask about any customer, current or new. The answer comes back to your app as a value you can display.

SDKs, API and MCP

  • Train a model and get predictions from your Python scripts.

    pip install spavik
  • Add predictions to your JavaScript or TypeScript backend.

    npm install spavik
  • Call Spavik from any language. Import the OpenAPI contract into your HTTP client.

    https://docs.spavik.co/api-reference/openapi.json
  • Let your AI agents make predictions from structured data.

    https://mcp.spavik.co

Or let AI do the integration

Your coding assistant writes the calls. Your AI agent uses Spavik as a tool.

With your coding assistant

Your assistant reads the Spavik documentation written for it, then adds the calls to your app.

Prefer to connect Spavik to your editor? Set up MCP

In your AI agent

Connect the hosted MCP server. Your agent calls Spavik on its own, on a schedule or when something happens, and acts on the predictions.

https://mcp.spavik.co

Setup guides forClaude CodeCodexCursorVS Code

Connect your agent

From data to predictions

Send Spavik data from your databases, business tools or files.

Your data Predictions
  • Database
  • Data warehouse
  • Product analytics
  • CRM
  • Payments
  • Orders
  • Sensors and meters
  • CSV files
Spavik
  • Churn probability
    78%
  • Conversion probability
    34%
  • Estimated price
    $1,285,000
  • Delivery time
    31 hours
  • Peak demand tomorrow
    1,040 MW
  • Orders tomorrow
    1,640

What happens to your data

Security details
  • One key, one workspace

    Each API key opens a single workspace. A key is shown once, stored as a hash and can be revoked at any time.

  • Encrypted archives

    Archived inputs, outputs and submitted outcomes are encrypted with AES-256-GCM, with a key for each model.

  • Deletion is final

    Archiving keeps a model and frees a slot. Deleting it purges it from the engine, with its pending outcomes.

  • No third-party AI

    Predictions are computed by Spavik’s own engine. Your data is not sent to other AI providers.

Pricing

Credits pay for predictions. Your plan determines the available features and usage limits.

See pricing

Prices exclude applicable taxes.

Add prediction to your app

1,000 free credits at signup. No card required.