Assets, bars, calendar and news are all reads, so a key handed to this server cannot place a trade through it — a meaningful property when the caller is a model. get-market-days is the one that keeps an analysis honest, since a gap in the bars over a holiday is otherwise indistinguishable from missing data. The parameter names carry the contract: symbols, start, end and timeframe shape every request, and assetClass is the only filter on the asset list.
An Alpaca client with four read tools — assets, historical bars, market days and news.
- get-assets returns the tradable assets, filterable by asset class.
- get-stock-bars returns historical price bars for a set of symbols over a start and end date at a chosen timeframe.
- get-market-days returns the market calendar between a start and end date.
- get-news returns news for a set of symbols over a start and end date.
An Alpaca API key and secret in ALPACA_API_KEY and ALPACA_SECRET_KEY, with the endpoints named by ALPACA_ENDPOINT and ALPACA_BROKER_ENDPOINT.
One command plus a key — npx -y alpaca-mcp, then supply credentials
