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
Turn historical data into predictions your app can use, with one API.
// 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,
});
evaluate() Better than a simple guess train() churn model, version 1 predict() 1 credit If your app records an outcome, Spavik can predict it.
Your database knows which customers cancelled, and what they looked like before.
Point Spavik to that history and the column you want to predict. It first checks that your data is enough.
Ask about any customer, current or new. The answer comes back to your app as a value you can display.
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 Your coding assistant writes the calls. Your AI agent uses Spavik as a tool.
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
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.coSetup guides forClaude Code
Codex
Cursor
VS Code
Send Spavik data from your databases, business tools or files.
Each API key opens a single workspace. A key is shown once, stored as a hash and can be revoked at any time.
Archived inputs, outputs and submitted outcomes are encrypted with AES-256-GCM, with a key for each model.
Archiving keeps a model and frees a slot. Deleting it purges it from the engine, with its pending outcomes.
Predictions are computed by Spavik’s own engine. Your data is not sent to other AI providers.
Credits pay for predictions. Your plan determines the available features and usage limits.
Prices exclude applicable taxes.