Labsco
MCP SERVER

Alpaca MCP Server

by cesarvarela

Read Alpaca market data from an agent: the tradable asset list, historical bars, the market calendar and the news feed — and nothing that places an order.

Equity & Fund Market DataVerified
Summary
There is no order tool here, which makes this a data client rather than a trading one.

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.

What it is

An Alpaca client with four read tools — assets, historical bars, market days and news.

What you get
  • 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.
Requirements

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.

Setup effort

One command plus a key — npx -y alpaca-mcp, then supply credentials