Alpaca

By thumbsupordown

The Alpaca MCP server connects AI agents to the Alpaca trading API for stocks, options, and crypto. Agents can read account info, positions, and portfolio history, place and cancel stock, crypto, and options orders, close positions, pull real-time quotes, snapshots, and historical bars, manage watchlists, and read market news.

Tools

cancel_all_orders

Cancel every open order in the Alpaca account at once.

cancel_order_by_id

Cancel a specific open Alpaca order by its order ID.

close_position

Close a specific existing position in the portfolio.

create_watchlist

Create a new named watchlist for tracking chosen assets.

get_account_info

Get balance, margin, and status for the trading account.

get_news

Fetch market news filtered by ticker and date range.

get_option_contracts

Search available option contracts by expiration and strike.

get_option_snapshot

Get option data including Greeks and implied volatility.

get_orders

Retrieve orders with optional status and time filters.

get_portfolio_history

Display equity and profit-and-loss trends over time.

get_positions

View all of the current positions in the portfolio.

get_stock_bars

Retrieve historical OHLCV price bars for a given stock.

get_stock_latest_quote

Fetch the most recent bid and ask quote for a stock.

get_stock_snapshot

Get a full snapshot of quote, trade, and bar data.

get_watchlists

List all of the user-created asset watchlists in Alpaca.

place_crypto_order

Place a market, limit, or stop-limit crypto order.

place_option_order

Place a single-leg or multi-leg options strategy order.

place_stock_order

Place a market, limit, stop, or trailing-stop stock order.

Want to create your own MCP server?

Create an account to add and manage your own MCP servers.