Alpaca
v0.2.1Alpaca MCP — real-time US stock market data via the Alpaca Market Data API (data.alpaca.markets…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
alpaca_snapshot
Real-time US stock snapshot with extended-hours coverage: latest trade price, bid/ask quote, today's OHLCV, previous close, change and change % vs previous close, plus the latest minute bar with its VWAP — during pre-market and after-hours the minute bar IS the live extended-hours price. Answers "pre-market price of OKTA", "overnight change %", "after-hours volume and high/low". Multiple symbols comma-separated (max 20). BYOK Alpaca (free account), real-time IEX feed. Example: alpaca_snapshot({ symbols: "OKTA,AAPL", _apiKey: "key_id:secret_key" })
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | REQUIRED: your Alpaca credentials as "key_id:secret_key" — both halves joined by a colon. Free at alpaca.markets (a paper-trading account is enough for market data). |
symbols * | string | Comma-separated ticker symbols, e.g. "OKTA" or "BLK,AAPL,RHI,CTAS" (max 20) |
alpaca_bars
Historical US stock OHLCV bars with per-bar VWAP and trade count. Timeframes 1Min/5Min/15Min/1Hour/1Day; intraday bars include pre-market and after-hours sessions on the IEX feed. Each bar: {t, o, h, l, c, v, vwap, trades}. Use start/end ISO timestamps or a lookback shorthand like "2h", "5d". Multiple symbols comma-separated (max 20). BYOK Alpaca (free account). Example: alpaca_bars({ symbols: "AAPL", timeframe: "5Min", lookback: "1d", _apiKey: "key_id:secret_key" })
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | REQUIRED: your Alpaca credentials as "key_id:secret_key" — both halves joined by a colon. Free at alpaca.markets (a paper-trading account is enough for market data). |
symbols * | string | Comma-separated ticker symbols, e.g. "AAPL,MSFT" (max 20) |
end | string | End time, ISO/RFC-3339 or date (default: now) |
limit | number | Max bars per symbol to return, 1-1000 (default 100) |
lookback | string | Shorthand window ending now, instead of start/end: e.g. "30m", "2h", "1d", "5d", "2w" |
start | string | Start time, ISO/RFC-3339 (e.g. "2026-07-18T09:30:00-04:00") or date "2026-07-18" |
timeframe | string | Bar size: "1Min", "5Min", "15Min", "1Hour", or "1Day" (default "5Min") |
alpaca_intraday_vwap
Current session VWAP for US stocks — is the price above or below VWAP right now? Fetches today's 1-minute bars from 04:00 ET (pre-market included), computes the cumulative volume-weighted average price, and compares it to the latest trade. Returns current_price, session_vwap, above_vwap, and session volume per symbol. Answers "current VWAP for BLK, AAPL, RHI, CTAS — above or below?" in one call. Multiple symbols comma-separated (max 20). BYOK Alpaca (free account), real-time IEX feed. Example: alpaca_intraday_vwap({ symbols: "BLK,AAPL,RHI,CTAS", _apiKey: "key_id:secret_key" })
| Parameter | Type | Description |
|---|---|---|
_apiKey * | string | REQUIRED: your Alpaca credentials as "key_id:secret_key" — both halves joined by a colon. Free at alpaca.markets (a paper-trading account is enough for market data). |
symbols * | string | Comma-separated ticker symbols, e.g. "BLK,AAPL,RHI,CTAS" (max 20) |