Rivus MCP Reference
How to use Rivus through MCP: research campaigns, backtests, ML models, and paper and live trading.
The short version
Rivus MCP lets the AI you already use run research, backtests and trading on Rivus. You say what you want; it picks the tools. The heavy work (backtests, model training, campaigns) runs on Rivus servers, so your laptop just sends requests and reads results.
You can ask your AI to:
- Research: have Rivus hunt for new signals on its own, e.g. "find a 1-day equity alpha with IC above 0.03"
- Test: backtest on real prices, with out-of-sample checks built into every campaign
- Trade: run it on paper first, go live when you're ready
What happens when you connect
Each new session, your AI runs the same few calls first. You won't type any of them.
The startup guide also lists campaigns that are still running or waiting for your OK. They keep going when you close your AI, so tomorrow you can ask "what happened overnight?"
Try it
Some things you could type:
"Start an alpha research campaign on my crypto worldview and tell me when something passes the out-of-sample gate."
"Backtest my momentum strategy 2023-2025, 10 bps fees, $100k, show me Sharpe and drawdown."
"Is my latest model overfit?"
"Which engines are running right now?"
No idea where to start? Get Started has a prompt for that.
Words you'll hear a lot
Three terms come up constantly: worldview, campaign and gate. Rivus Trading 101 covers them in more depth; here is the short version.
Worldview: What are we studying?
A worldview is the setup for a piece of research: which instruments, which dates you develop on, which dates you hold back. Example: "S&P 500 stocks, develop on 2018-2022, hold back 2023-2025."
Pick instruments from the Rivus catalog and Rivus checks they have data for your dates. You set your acceptance criteria when you launch a campaign.
Campaign: How does the research run?
A campaign is Rivus researching on its own: it proposes an idea, builds it, tests it, and decides whether to keep it, then goes around again. It comes in three flavours.
Alpha campaigns find and refine signals, say earnings revisions or volume spikes. ML campaigns train models on those signals and run diagnostics on them. Strategy campaigns turn signals into something you can actually trade and put it through the gates.
Gates: Can we trust the result?
Campaigns develop on in-sample data. A candidate that passes is frozen and tested out-of-sample exactly once, on data it wasn't tuned on.
How a campaign launches
Before anything runs, Rivus talks to you. You see what it plans to do and roughly what it will cost, and nothing starts until you say yes.
Tell Rivus your own numbers: how much capital, how much risk, which dates. The approved brief is also saved in the Rivus app.
For a strategy campaign the objective is the only required answer. Rivus fills in sensible defaults for the rest (for example $100,000 capital) and the brief shows them before you confirm.
Campaigns run for a while. Ask your AI for progress any time and it will read the ledger.
What you can do
You don't need these names, your AI knows them. They're here so you can recognise what it's doing, or ask for a tool by name. Open a group to see what's in it.
Run research campaigns
start_research_campaign kicks off an alpha, ML or strategy campaign, and answer_interview submits your answers to the launch interview.
get_research_campaign and list_research_campaigns show state, progress and the per-loop ledger. steer_research_campaign redirects the next loop; stop_research_campaign ends a campaign cleanly.
search_recent_failures finds failed campaigns, the stage they stopped at, and the recorded reason.
Explore and manage alphas
validate_formula_alpha previews a formula's canonical form and the fields it uses, with no side effects. dedup_alpha_context tells you how close a new idea is to what you already have.
submit_formula_alpha and submit_alpha send an alpha for in-sample evaluation. get_alpha_pool_summary and get_alpha_pool_entry browse your Alpha Pool.
list_classical_alphas and start_classical_alpha_campaign start you from a library of established alphas.
Check data before you commit
instrument_catalog lists canonical symbols; field_catalog lists every field you can use in a formula, with its cadence and meaning.
check_field_coverage, get_field_availability and get_field_presence confirm the data is there per instrument and date. Run them before a long campaign.
Backtest on real market data
run_backtest queues a hosted backtest with your own dates, capital and fees. get_backtest_job gives you status; if it failed, get_backtest_logs has the traceback. get_backtest_artifacts returns trades, the equity curve and the timeline.
list_backtests and cancel_backtest manage your jobs.
Train and inspect ML models
get_ml_training_setup checks you're ready; start_ml_training, list_ml_jobs and get_ml_job run and follow a job.
get_ml_diagnostics runs diagnostics on a trained model, and get_ml_model returns its diagnostics verdict, gate report and lineage.
promote_ml_model promotes a model that passes its gate so strategies can use it.
Build and manage strategies
submit_strategy registers a strategy, for example a blend of accepted alphas. list_strategies and get_strategy show recorded backtest metrics and lifecycle state.
start_strategy runs it in paper mode unless you say otherwise. strategy_action pauses, resumes, stops or demotes it. promote_strategy takes it live.
Monitor running engines
list_active_engines shows every running paper and live engine for your strategies in a worldview.
get_strategy_status gives running state. get_engine_trades lists what an engine traded, including in-engine fills. get_strategy_run_history looks up an engine's runs and ids, and get_engine_logs shows what the engine did.
Markets
Rivus covers US equities, China A-shares, crypto and commodity perpetuals, tokenized equities, and Polymarket prediction markets. Ask your AI to browse the instrument catalog to see what's available.
Rivus has many broker integrations, so a strategy you build can trade through the broker you already use.
From paper to live
Rivus decides what to trade: it tracks the strategy, checks risk, and produces the orders it wants. Your broker's own tools place them, and your AI carries the orders from one to the other. Broker credentials and order placement stay outside Rivus MCP.
Start with paper
Ask your AI to start your strategy and it runs in paper mode by default. We recommend at least 90 days of paper, with a trade-parity check against your backtest, before you go live. That's where you find orders that wouldn't have filled at the price your backtest assumed.
Going live
When you're ready, ask your AI to promote the strategy to live. It starts a real-money engine right away. Your AI promotes only when you ask, and restarting a live engine is always your call.
Having trouble?
Most of the time, an error is Rivus telling your AI what to do next. If you see a sign-in message, re-run the sign-in flow in your AI client.
Needs interview, or confirmation required
Rivus is waiting on you. Your AI will relay the questions or the brief, and carry on once you've answered or approved.
A campaign didn't finish
Ask your AI to look up your recent failures and read the campaign ledger. It shows the stage and the recorded reason, and your AI can start a new campaign or adjust the spec.
Where to go next
Not connected yet? Get Started takes a few minutes. For the ideas behind it all, read Rivus Trading 101.