Summary
An account you can ask, and act on.
Reading the position and placing the order stop being two different applications — both happen where you are already thinking about the trade.
What it is
A Python server over the Alpaca trading API. Account state, positions, quotes, historical bars and order placement are each their own tool, so an assistant can read the account and act on it in the same session.
What you get
- get_account_info returns balances, buying power and account status
- get_positions lists what you hold and how each position is doing
- get_stock_quote returns the latest quote; get_stock_bars returns historical price bars over a number of days
- place_market_order and place_limit_order submit orders; get_orders lists them by status
- cancel_all_orders clears the open orders; close_all_positions exits everything, cancelling orders first if you ask it to
Requirements
Python 3.10 or later with the mcp, alpaca-py and python-dotenv packages, and an Alpaca API key with its secret, in a .env file or the client config.
