Not investment or tax advice.  FloorPricer is a trade-execution tool, not a financial advisor. A floor is one layer of protection, not a guarantee — it can sell you out before a recovery and can't prevent losses on overnight gaps. Past performance does not predict results; all investing risks loss. See full risk disclosure.

The FloorPricer Harness

The complete technical reference for power users. Every tool, every parameter, every Claude prompt. Connect your Alpaca paper trading account and be running in 5 minutes. Paper trading only: live trading is not open yet.

15 MCP Tools Paper Trading Only Alpaca + Claude
Getting Started

Connect in 5 minutes

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

1

Create an Alpaca paper trading account

Go to app.alpaca.markets/signup and open a paper trading account. Get your APCA-API-KEY-ID and APCA-API-SECRET-KEY from the dashboard under API Keys.

2

Install the FloorPricer MCP

Install the FloorPricer MCP server, then set your Alpaca paper keys as environment variables:
ALPACA_API_KEY=your_paper_key   ALPACA_API_SECRET=your_paper_secret

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 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_API_KEY": "your_paper_api_key",
        "ALPACA_API_SECRET": "your_paper_api_secret"
      }
    }
  }
}

Use paper keys. The server is paper-only in its code (v1.0.1+): it talks only to Alpaca's paper host, ignores ALPACA_PAPER, and a live key gets an error, not an order. Live trading is not open.

No order goes in on the first call (v1.1.0+). buy_stock, sell_stock, set_trailing_stop and check_ladders first show a preview. If your MCP client supports elicitation, the server asks you directly. Otherwise the preview carries a one-time token that expires in 2 minutes, and confirm_order places it after you say yes; on that path the server relies on your assistant to show you the preview and wait for your yes.

All 15 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
Previews a buy (market or limit). Placed only after you confirm.
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
Previews a sell (market or limit), naming any floor it would cancel. Placed only after you confirm.
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. Placed only after you confirm.
symbolstring*— Ticker
floor_pctnumber— e.g. 5 means sell if the price drops 5% from its highest since the stop was placed (1 to 50, default 10)
Example prompt
Set a 7% trailing stop on my NVDA position
check_floors
Shows each trailing stop held at Alpaca: the floor price, the high it trails, shares and status. Read-only: it places no orders. Alpaca raises each floor and makes the sale when a floor is hit, so nothing has to run on a schedule.
No parameters required.
Example prompt
Show me all my floors — the floor price, the high it trails and the status of each
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
Saves a plan to buy at decreasing price levels if a stock dips. Places nothing by itself.
symbolstring*— Ticker
rungsarray*— Array of {price, qty} objects
Example prompt
Set a ladder buy on SPY: 5 shares at 2% below the current price, 10 shares at 4% below, 20 shares at 6% below
check_ladders
Checks active ladders. When the price reaches a rung, it previews those buys and places them only after you confirm.
No parameters required.
Example prompt
Check my ladders and show me any rung buys that have been triggered
confirm_order
Places an order you have seen in its preview and said yes to. One-time token, valid for 2 minutes.
token (string*): the one-time token from the preview.
Example prompt
Yes, place that order
cancel_pending_order
Drops a preview you said no to. Nothing was placed.
token (string*): the one-time token from the preview.
Example prompt
No, drop that order
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.
Staged Entry — Ladder Orders
A power-user entry tool: instead of one lump purchase, place preset limit buys at levels below the current price. Understand the trade-off — each rung adds to a position that is falling.
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.
Review Your Paper Results
Honest self-tracking: measure each paper position against what you paid for it and see what each decision actually did.
Copy this prompt
Show me my dashboard. Break down the gain or loss on each position since I opened it, as a percentage, so I can see which decisions worked and which did not.
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.