With Alpaca's MCP server, you can:
* Build simple and complex trading strategies for stocks and options using natural language with your Alpaca account
* Pull real-time and historical market data for stocks and options, including stock prices, contract prices, and the Greeks, without switching tools
* Manage your portfolio including tracking investments, monitoring positions, and creating watchlists, all in one place
* Switch easily between your paper and live trading accounts
Tools
get_account_info
get_all_positions
get_open_position
get_asset
get_all_assets
get_corporate_actions
get_portfolio_history
create_watchlist
get_watchlists
update_watchlist_by_id
get_watchlist_by_id
add_asset_to_watchlist_by_id
remove_asset_from_watchlist_by_id
delete_watchlist_by_id
get_calendar
get_clock
get_stock_bars
get_stock_quotes
get_stock_trades
get_stock_latest_bar
get_stock_latest_quote
get_stock_latest_trade
get_stock_snapshot
get_crypto_bars
get_crypto_quotes
get_crypto_trades
get_crypto_latest_bar
get_crypto_latest_quote
get_crypto_latest_trade
get_crypto_snapshot
get_crypto_latest_orderbook
get_option_contracts
get_option_latest_quote
get_option_snapshot
get_option_chain
get_orders
place_stock_order
place_crypto_order
place_option_market_order
cancel_all_orders
cancel_order_by_id
close_position
close_all_positions
exercise_options_position
Server Config
{
"mcpServers": {
"alpaca": {
"command": "uvx",
"args": [
"alpaca-mcp-server",
"serve"
],
"env": {
"ALPACA_API_KEY": "your_alpaca_api_key",
"ALPACA_SECRET_KEY": "your_alpaca_secret_key"
}
}
}
}