The FloorPricer Harness

Every tool, every strategy, every Claude prompt. Connect your Alpaca account and start automating in 5 minutes.

13 MCP Tools Paper + Live Trading Alpaca + Claude
Getting Started

Connect in 5 minutes

You need three things: Alpaca account, Claude subscription, and the FloorPricer MCP.

1

Create a free Alpaca paper trading account

Go to app.alpaca.markets/signup — free forever for paper trading. Get your APCA-API-KEY-ID and APCA-API-SECRET-KEY from the dashboard under API Keys.

2

Install the FloorPricer MCP

Clone or install via npm. Set your Alpaca keys as environment variables:
ALPACA_KEY_ID=your_key   ALPACA_SECRET_KEY=your_secret   ALPACA_PAPER=true

3

Add FloorPricer to your Claude config

Add the MCP server to ~/.claude/claude_desktop_config.json or your Claude Code settings. See the config block below.

4

Start a conversation with Claude

Open Claude and say: "Connect my FloorPricer and show me my dashboard" — Claude will call dashboard and you'll see your $100K paper account balance live.

Configuration

claude_desktop_config.json

Add this to your Claude Desktop or Claude Code MCP config:

{
  "mcpServers": {
    "floorpricer": {
      "command": "node",
      "args": ["/path/to/floorpricer-mcp/dist/index.js"],
      "env": {
        "ALPACA_KEY_ID": "your_alpaca_key_id",
        "ALPACA_SECRET_KEY": "your_alpaca_secret",
        "ALPACA_PAPER": "true"
      }
    }
  }
}

Set ALPACA_PAPER to false when you're ready for live trading with real money.

All 13 Tools

Full Tool Reference

Click any tool to see parameters and copy-paste Claude prompts.

Account & Market
💼
get_account
Account balance, buying power, equity, and total P&L.
No parameters required.
Example prompt
Show me my account balance and buying power
🏪
get_market_status
Is the market open right now? Hours, pre/post market status.
No parameters required.
Example prompt
Is the market open? What are today's trading hours?
📊
dashboard
The one-stop overview: account + positions + all active floors and ladders + market status in a single call.
No parameters required.
Example prompt
Give me my full FloorPricer dashboard
💹
get_quote
Live price quote for any stock symbol.
symbolstring*— Ticker symbol, e.g. NVDA
Example prompt
What's the current price of NVDA?
Positions & Orders
📈
get_positions
All open positions with current value, cost basis, and unrealized P&L.
No parameters required.
Example prompt
Show me all my open positions and their P&L
📋
get_orders
Recent order history — filled, open, and cancelled orders.
No parameters required.
Example prompt
Show me my recent orders including any that were cancelled
🟢
buy_stock
Buy shares. Supports market and limit orders.
symbolstring*— Ticker, e.g. AAPL
qtynumber*— Number of shares
order_typestring— "market" or "limit" (default: market)
limit_pricenumber— Required if order_type is limit
Example prompt
Buy 10 shares of AAPL at market price
🔴
sell_stock
Sell shares. Supports market and limit orders.
symbolstring*— Ticker
qtynumber*— Shares to sell
order_typestring— "market" or "limit"
limit_pricenumber— Required if limit order
Example prompt
Sell 5 shares of TSLA at market price
Trailing Stop (Floor) Strategy
🏔️
set_trailing_stop
Set a trailing stop on a position. The floor only moves UP. If price drops below the floor, auto-sell triggers. Core FloorPricer strategy.
symbolstring*— Ticker
trail_percentnumber*— e.g. 5 means sell if drops 5% from peak
Example prompt
Set a 7% trailing stop on my NVDA position
🔍
check_floors
Check all active trailing stops. Raises floors if prices climbed. Triggers auto-sell if price dropped below floor. Run on a schedule every 5 min during market hours.
No parameters required.
Example prompt
Check all my floors — raise any that have moved up and sell any that have broken
📜
get_floor_history
Full history of a trailing stop — every time the floor was raised as the stock climbed.
symbolstring*— Ticker to inspect
Example prompt
Show me the full floor history for AAPL — every time my floor was raised
Ladder Buy Strategy
🪜
set_ladder_buy
Set ladder buy orders at decreasing price levels. If a stock dips, buy more at each rung to average down your cost basis.
symbolstring*— Ticker
rungsarray*— Array of {price, qty} objects
Example prompt
Set a ladder buy on SPY: 5 shares at $510, 10 shares at $500, 20 shares at $490
⚙️
check_ladders
Check all active ladder buys. Executes buy orders when prices hit target levels. Run on a schedule during market hours.
No parameters required.
Example prompt
Check my ladders — execute any rung buys that have been triggered
Strategy Recipes

Complete workflows

Copy these multi-step prompts directly into Claude.

🏔️ Morning Floor Check Routine
Run this every morning before market open. Takes 30 seconds.
Copy this prompt
Good morning. Run my FloorPricer morning routine: 1) Check market status, 2) Show my dashboard, 3) Check all floors and raise any that moved up overnight, 4) Check all ladders for any triggered buys. Give me a summary of what happened.
🪜 Buy the Dip — Ladder Entry
Enter a position with a 3-rung ladder so you buy more as it falls.
Copy this prompt (edit ticker + prices)
Get me a quote for NVDA, then set a 3-rung ladder: 5 shares at 5% below current price, 10 shares at 10% below, 20 shares at 15% below. Then set a 8% trailing stop on any existing NVDA position.
🏆 Compete on the Leaderboard
Build your paper portfolio and track your daily gain %.
Copy this prompt
Show me my dashboard. Calculate my total gain/loss percentage today compared to my $100,000 starting paper balance. What's my best performing position? What single trade has been my biggest winner so far?
🔒 Lock In Gains — Protect All Positions
One prompt to set trailing stops on everything you own.
Copy this prompt
Show me all my positions. For any position that's up more than 5%, set a 6% trailing stop. For any position that's up more than 15%, set a 10% trailing stop. Tell me what you set and what floors you established.