Rebalancing Your
Stocks & Crypto
In One Move

One AI agent for US stocks and on-chain crypto. It measures drift,
plans every trade, and rebalances only after you approve.

Get started
$ npm i omni-rebalancer-mcp
GitHub

3D view needs WebGL.

Supported

Every account it reads, in one view.

Stocks, chains and stablecoins are priced in dollars and sorted into three buckets, the same three the agent rebalances.

US stocks

equities
AlpacaPaper trading
auto orders

Any US stock or ETF in the account

NVDASPYQQQAAPLTSLAVOO

Chains

crypto
SolanaSOL + SPL tokens
EthereumETH + ERC-20
BaseETH + ERC-20
ArbitrumETH + ERC-20

Stablecoins

cash
USDCCircle
USDTTether
DAISky / Maker
PYUSDPayPal USD
Powered by
JupiterSolana swap quotes
DefiLlamaUSD prices
ClaudeCode & Desktop
MCPModel Context Protocol

Not yet: Bitcoin on-chain and other chains. Alpaca live accounts are off by design.

How it works

Four tools. One balanced portfolio.

The same flow the agent runs when you ask it to rebalance: read, measure, plan, and wait for you.

01 · get_portfolio

See everything

Your broker and every wallet in one table, priced in dollars and grouped into stocks, crypto and cash.

02 · check_drift

Measure drift

Inner ring is where you are, outer ring is your target. Past your tolerance (±5 pts), it flags a rebalance.

Sell $1,533 NVDA2 SLICES
Sell $767 SPYALPACA
Swap $400 USDC → SOLYOU SIGN
Move $200 to USDCMANUAL

03 · plan_rebalance

Plan every trade

Broker orders, Solana swaps with a live Jupiter quote, and the steps only you can do. Nothing runs yet.

Execute plan 58e97444
PAPER TRADING · SIMULATED MONEY

04 · execute_rebalance

You approve

The agent places broker orders only after you type EXECUTE. On-chain swaps stay in your wallet.

Drift → target

Watch the portfolio level out.

A stock rally left this $14,000 demo book 16 points heavy in equities. One plan brings all three buckets back to 50 / 30 / 20.

Sell $2,300 of stocks on Alpaca
Buy $600 of crypto (USDC → SOL)
Cash rises $1,700 to its target
66%
Stocks
26%
Crypto
8%
Cash

Developers

It lives inside Claude.

An MCP server, not another app. Ask in plain words; the agent calls the tools and shows its work.

claude · omni-rebalancer (demo mode)

Safety

Guardrails built into the engine.

Never holds keys

On-chain legs come back as quotes. You sign them in your own wallet.

Paper broker only

Stock orders go to Alpaca paper trading. Simulated money, real market prices.

Plans expire in 15 min

Prices move. An old plan can't be executed; the agent has to plan again.

$2,300 todaycap $3,000
$767$767$767

Hard dollar caps

Orders above $1,000 are split into slices; a daily cap stops everything past $3,000.

Get started

Bring your whole portfolio into balance.

Runs locally. Starts in demo mode with sample holdings, so you can try the whole flow before connecting anything.

claude mcp add omni-rebalancer -- npx -y omni-rebalancer-mcp
1npm i omni-rebalancer-mcp 2Add Alpaca paper keys to .env 3Add your wallets to config.json