Gyrostat Add to Claude

Your portfolio is tilting.Gyrostat levels it out.

One AI agent for your US stocks, your on-chain crypto and Robinhood's top memecoins. It measures drift, plans every trade and only rebalances once you give the go-ahead.

$ npm i gyrostat-agent

The 3D view needs WebGL.

Stock drift, $14,000 demo +16 pts

Every account, one view.

Gyrostat reads your positions wherever they live, converts them to dollars and compares them to your target. Memecoins orbit around them as an asset class of their own.

US stocks

  • Alpaca, paper trading and automatic orders

Chains

  • Solana
  • Ethereum
  • Base
  • Arbitrum

Stablecoins

  • USDC, USDT
  • DAI, PYUSD

Memecoins

  • 12 memecoins listed on Robinhood, tracked on-chain
  • Exposure capped by default
Jupiter for Solana swap quotes DefiLlama for USD prices Claude and MCP for the interface

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

Robinhood's memecoins, right next to your ETFs.

Tap a coin to flip it. Gyrostat treats memecoins as their own asset class, with their own target.

Four tools. One balanced portfolio.

Claude calls them in order. Nothing moves before step four.

  1. 1
    get_portfolio

    See everything

    Reads every account and wallet, memecoins included, and converts it all to dollars.

  2. 2
    check_drift

    Measure drift

    Flags every asset class that strays more than ±5 points from your target.

  3. 3
    plan_rebalance

    Plan every trade

    Lists the sells, buys and swaps needed. Nothing is executed yet.

  4. 4
    execute_rebalance

    You approve

    Nothing goes out until you type EXECUTE.

Watch the portfolio level out.

A $14,000 demo portfolio, 16 points heavy in stocks and bloated with memecoins. Target: 50% stocks, 25% crypto, 5% memecoins, 20% cash.

Stocks
66%
+16 pts
Crypto
20%
−5 pts
Memecoins
9%
+4 pts
Cash
5%
−15 pts
2 classes out of range

The proposed plan

Valid for 15 minutes, waiting for your approval.

  • −$2,240Sell stocks on Alpaca (paper), in 3 slices
  • −$560Trim memecoins, BONK and WIF into USDC
  • +$700Buy SOL with USDC, Jupiter quote
  • +$2,100Raise cash to 20% of the portfolio

It lives inside Claude.

Gyrostat is an open-source MCP server. You talk in plain language, Claude calls the tools and shows you the plan before acting.

  • Four tools with readable JSON output
  • Demo mode with no keys or wallet
  • Targets and caps in config.json
claude, gyrostat (demo mode)

      

Guardrails built into the engine.

These aren't settings. They're hard-coded and apply to every plan.

Never holds your keys

On-chain orders come back to you as quotes you sign yourself.

Paper broker only

Stock orders go to Alpaca paper trading. Live accounts are disabled.

Plans expire in 15 min

A stale plan is recalculated with fresh prices before anything runs.

Hard dollar caps

Any order above $1,000 is split into slices, with a $3,000 daily cap.

Memecoin cap

Memecoin exposure is capped (5% by default). Gyrostat can trim it or bring it back to target, never grow it past that.

Bring your whole portfolio back into balance.

One command adds it to Claude. It starts in demo mode, no keys needed.

$ claude mcp add gyrostat -- npx -y gyrostat-agent
  1. Install

    Run the command above, or npm i gyrostat-agent.

  2. Connect Alpaca

    Add your Alpaca paper keys to .env.

  3. Add your wallets

    List your addresses and your target in config.json.

With no setup, Gyrostat runs in demo mode on the $14,000 portfolio.