Alpaca
Description
Stop watching the markets. Turn your words into insights with Alpaca. Ask ChatGPT real market questions and get live answers you can act on, including historical data, snapshots, quotes, and option chain information. Stock, options, and crypto market data embedded right into your conversation so you can turn analysis into automated actions. "How has AAPL's stock performed this quarter vs GOOG?" "Show me the SPY option chain that expires next Friday." "When has BTC's price reached $100k USD this year?"
Capabilities
Publisher Intelligence
Insights and recommendations for app publishers. See how your app performs and how to improve discoverability.
Server Status alpaca-trading v1.23.0
https://mcp.alpaca.markets/mcp Last checked: 16h ago
Technical Details
Tools(24)
Showing 24 of 24 tools
| Tool | Description | Flags | Test | Last Tested | |
|---|---|---|---|---|---|
get_all_assets | Get all available assets with optional filtering. Args: status (Optional[str]): Filter by asset status (e.g., 'active', 'inactive') asset_class (Optional[str]): Filter by asset class (e.g., 'us_equity', 'crypto') exchange (Optional[str]): Filter by exchange (e.g., 'NYSE', 'NASDAQ') attributes (Optional[str]): Comma-separated values for multiple attributes Returns: str: Compact JSON assets payload with assets with symbol, name, exchange, class, and status | read-only | Not tested | — | |
get_asset | Retrieves and formats detailed information about a specific asset. Args: symbol (str): The symbol of the asset to get information for Returns: str: Compact JSON asset payload with the asset details with name, exchange, class, status, and trading properties | read-only | Not tested | — | |
get_calendar | Retrieves and formats market calendar for specified date range. Args: start_date (str): Start date in YYYY-MM-DD format end_date (str): End date in YYYY-MM-DD format Returns: str: Compact JSON market calendar payload about market calendar information | read-only | Not tested | — | |
get_clock | Retrieves and formats current market status and next open/close times. Returns: str: Compact JSON market clock payload with current time, open/closed state, and next open/close times | read-only | Not tested | — | |
get_corporate_actions | Retrieves and formats corporate action announcements. Args: ca_types (Optional[List[CorporateActionsType]]): List of corporate action types to filter by (default: all types) Available types: CorporateActionsType.REVERSE_SPLIT, CorporateActionsType.FORWARD_SPLIT, CorporateActionsType.UNIT_SPLIT, CorporateActionsType.CASH_DIVIDEND, CorporateActionsType.STOCK_DIVIDEND, CorporateActionsType.SPIN_OFF, CorporateActionsType.CASH_MERGER, CorporateActionsType.STOCK_MERGER, CorporateActionsType.STOCK_AND_CASH_MERGER, CorporateActionsType.REDEMPTION, CorporateActionsType.NAME_CHANGE, CorporateActionsType.WORTHLESS_REMOVAL, CorporateActionsType.RIGHTS_DISTRIBUTION start (Optional[date]): Start date for the announcements (default: current day) end (Optional[date]): End date for the announcements (default: current day) symbols (Optional[List[str]]): Optional list of stock symbols to filter by cusips (Optional[List[str]]): Optional list of CUSIPs to filter by ids (Optional[List[str]]): Optional list of corporate action IDs (mutually exclusive with other filters) limit (Optional[int]): Maximum number of results to return (default: 1000) sort (Optional[str]): Sort order (asc or desc, default: asc) Returns: str: Formatted string containing corporate announcement details | read-only | Not tested | — | |
get_crypto_bars | Retrieves and formats historical price bars for a cryptocurrency with configurable timeframe and time range. Args: symbol (Union[str, List[str]]): Crypto symbol(s) (e.g., 'BTC/USD', 'ETH/USD' or ['BTC/USD', 'ETH/USD']) days (int): Number of days to look back hours (int): Number of hours to look back minutes (int): Number of minutes to look back timeframe (str): Bar timeframe - supports flexible Alpaca's formats: - Minutes, Hours, Days, Weeks, Months (default: "1Hour") limit (Optional[int]): Maximum number of bars to return (optional) start (Optional[str]): Start time in ISO format end (Optional[str]): End time in ISO format feed (CryptoFeed): The crypto data feed to retrieve from tz (str): Timezone for naive datetime strings (default: "America/New_York") Supported: "UTC", "ET", "EST", "EDT", "America/New_York" Returns: str: Formatted string containing historical crypto price data with timestamps, OHLCV data | read-only | Not tested | — | |
get_crypto_latest_bar | Returns the latest minute bar for one or more crypto symbols. Args: symbol (Union[str, List[str]]): Crypto symbol(s) (e.g., 'BTC/USD' or ['BTC/USD','ETH/USD']) feed (CryptoFeed): The crypto data feed (default: US) Returns: str: Formatted string containing latest bar(s) or error message | read-only | Not tested | — | |
get_crypto_latest_orderbook | Returns the latest orderbook for one or more crypto symbols. Args: symbol (Union[str, List[str]]): Crypto symbol(s) (e.g., 'BTC/USD' or ['BTC/USD','ETH/USD']) feed (CryptoFeed): The crypto data feed (default: US) Returns: str: Formatted string containing latest orderbook(s) or error message | read-only | Not tested | — | |
get_crypto_latest_quote | Returns the latest quote for one or more crypto symbols. Args: symbol (Union[str, List[str]]): Crypto symbol(s) (e.g., 'BTC/USD' or ['BTC/USD','ETH/USD']) feed (CryptoFeed): The crypto data feed (default: US) Returns: str: Formatted string containing latest quote(s) or error message | read-only | Not tested | — | |
get_crypto_latest_trade | Returns the latest trade for one or more crypto symbols. Args: symbol (Union[str, List[str]]): Crypto symbol(s) (e.g., 'BTC/USD' or ['BTC/USD','ETH/USD']) feed (CryptoFeed): The crypto data feed (default: US) Returns: str: Formatted string containing latest trade(s) or error message | read-only | Not tested | — | |
get_crypto_quotes | Returns historical quote data for one or more crypto symbols. Args: symbol (Union[str, List[str]]): Crypto symbol(s) (e.g., 'BTC/USD' or ['BTC/USD','ETH/USD']) days (int): Number of days to look back hours (int): Number of hours to look back minutes (int): Number of minutes to look back limit (Optional[int]): Maximum number of quotes to return (optional) start (Optional[str]): Start time in ISO format end (Optional[str]): End time in ISO format feed (CryptoFeed): The crypto data feed to retrieve from tz (str): Timezone for naive datetime strings Supported: "UTC", "ET", "EST", "EDT", "America/New_York" Returns: str: Formatted string containing historical crypto quote data with timestamps, bid/ask prices and sizes | read-only | Not tested | — | |
get_crypto_snapshot | Returns a snapshot for one or more crypto symbols including latest trade, quote, minute bar, daily bar, and previous daily bar. Args: symbol (Union[str, List[str]]): Crypto symbol(s) (e.g., 'BTC/USD' or ['BTC/USD', 'ETH/USD']) feed (CryptoFeed): Data feed source (default: US) Returns: str: Snapshot with latest quote, trade, and OHLCV bars for each symbol | read-only | Not tested | — | |
get_crypto_trades | Returns historical trade data for one or more crypto symbols. Args: symbol (Union[str, List[str]]): Crypto symbol(s) (e.g., 'BTC/USD' or ['BTC/USD','ETH/USD']) days (int): Number of days to look back hours (int): Number of hours to look back minutes (int): Number of minutes to look back limit (Optional[int]): Maximum number of trades to return start (Optional[str]): ISO start time end (Optional[str]): ISO end time sort (Optional[str]): 'asc' or 'desc' feed (CryptoFeed): Crypto data feed tz (str): Timezone for naive datetime strings Supported: "UTC", "ET", "EST", "EDT", "America/New_York" Returns: str: Formatted string containing trade history or error message | read-only | Not tested | — | |
get_option_chain | Retrieves option chain data for an underlying symbol, including latest trade, quote, implied volatility, and greeks for each contract. Args: underlying_symbol (str): The underlying symbol feed (Optional[OptionsFeed]): Data feed source (OPRA or INDICATIVE) contract_type (Optional[str]): Filter by contract type ('call', 'put', or None for both) strike_price_gte (Optional[float]): Minimum strike price filter strike_price_lte (Optional[float]): Maximum strike price filter expiration_date (Optional[Union[date, str]]): Exact expiration date (YYYY-MM-DD) expiration_date_gte (Optional[Union[date, str]]): Minimum expiration date expiration_date_lte (Optional[Union[date, str]]): Maximum expiration date root_symbol (Optional[str]): Filter by root symbol limit (Optional[int]): Max snapshots to return (1-1000) Returns: str: Option chain with quote, trade, IV, and greeks for each contract | read-only | Not tested | — | |
get_option_contracts | Retrieves option contracts for underlying symbol(s). Args: underlying_symbols (Union[str, List[str]]): Underlying asset symbol(s) expiration_date (Optional[date]): Specific expiration date expiration_date_gte (Optional[date]): Minimum expiration date expiration_date_lte (Optional[date]): Maximum expiration date expiration_expression (Optional[str]): Natural language strike_price_gte (Optional[str]): Minimum strike price strike_price_lte (Optional[str]): Maximum strike price contract_type (Optional[str]): Filter by 'call' or 'put' status (Optional[AssetStatus]): Filter by status root_symbol (Optional[str]): Filter by root symbol limit (Optional[int]): Maximum number of contracts to return Returns: str: List of option contracts with symbol, strike, expiration, type, and status | read-only | Not tested | — | |
get_option_latest_quote | Retrieves and formats the latest quote for one or more option contracts. This endpoint returns real-time pricing and market data, including bid/ask prices, sizes, and exchange information. Args: symbol_or_symbols (Union[str, List[str]]): Option contract symbol(s) (e.g., 'AAPL230616C00150000' or ['AAPL230616C00150000', 'MSFT230616P00300000']) feed (Optional[OptionsFeed]): Data feed source (OptionsFeed.OPRA or OptionsFeed.INDICATIVE) Default: OptionsFeed.OPRA if the user has the options subscription, OptionsFeed.INDICATIVE otherwise Returns: str: Formatted string containing the latest quote information including: - Ask Price, Ask Size, Bid Price, Bid Size, Ask Exchange, Bid Exchange, Trade Conditions, Tape Information, Timestamp (in UTC) Note: This endpoint returns real-time market data. For contract specifications and static data, use get_option_contracts instead. | read-only | Not tested | — | |
get_option_snapshot | Retrieves comprehensive snapshots of option contracts including latest trade, quote, implied volatility, and Greeks. Args: symbol_or_symbols (Union[str, List[str]]): Option symbol(s) feed (Optional[OptionsFeed]): Data feed source (OPRA or INDICATIVE) Returns: str: Snapshot with quote, trade, implied volatility, and Greeks for each contract | read-only | Not tested | — | |
get_stock_bars | Retrieves and formats historical price bars for a stock with configurable timeframe and time range. Args: symbol (Union[str, List[str]]): Stock ticker symbol(s) (e.g., 'AAPL', 'MSFT' or ['AAPL', 'MSFT']) days (int): Number of days to look back hours (int): Number of hours to look back minutes (int): Number of minutes to look back timeframe (str): Bar timeframe - supports flexible Alpaca's formats: - Minutes: "1Min" to "59Min" (or "1T" to "59T") - Hours: "1Hour" to "23Hour" (or "1H" to "23H") - Days: "1Day" (or "1D") - Weeks: "1Week" (or "1W") - Months: "1Month", "2Month", "3Month", "4Month", "6Month", or "12Month" (or use "M" suffix) (default: "1Day") limit (Optional[int]): Maximum number of bars to return (default: 1000) start (Optional[str]): Start time in ISO format end (Optional[str]): End time in ISO format sort (Optional[Sort]): Chronological order of response (ASC or DESC) feed (Optional[DataFeed]): The stock data feed to retrieve from (DataFeed.IEX or DataFeed.SIP, default: None) currency (Optional[SupportedCurrencies]): Currency for prices (default: USD) asof (Optional[str]): The asof date in YYYY-MM-DD format tz (str): Timezone for naive datetime strings (default: "America/New_York") Returns: str: Historical price data with timestamps, OHLCV data | read-only | Not tested | — | |
get_stock_latest_bar | Get the latest minute bar for one or more stocks. Args: symbol_or_symbols: Stock ticker symbol(s) (e.g., 'AAPL' or ['AAPL', 'MSFT']) feed: The stock data feed to retrieve from (DataFeed.IEX or DataFeed.SIP, default: None) currency: The currency for prices (optional, defaults to USD) Returns: str: Latest bar(s) for one or more stocks | read-only | Not tested | — | |
get_stock_latest_quote | Retrieves and formats the latest quote for one or more stocks. Args: symbol_or_symbols (Union[str, List[str]]): Stock ticker symbol(s) (e.g., 'AAPL' or ['AAPL', 'MSFT']) feed (Optional[DataFeed]): Data feed source (IEX or SIP) currency (Optional[SupportedCurrencies]): Currency for prices (default: USD) Returns: str: Latest bid/ask prices, sizes, and timestamp for each symbol | read-only | Not tested | — | |
get_stock_latest_trade | Get the latest trade for one or more stocks. Args: symbol_or_symbols: Stock ticker symbol(s) (e.g., 'AAPL' or ['AAPL', 'MSFT']) feed: The stock data feed to retrieve from (DataFeed.IEX or DataFeed.SIP, default: None) currency: The currency for prices (optional, defaults to USD) Returns: str: Latest trade(s) for one or more stocks | read-only | Not tested | — | |
get_stock_quotes | Retrieves and formats historical quote data (level 1 bid/ask) for a stock. Args: symbol (Union[str, List[str]]): Stock ticker symbol(s) (e.g., 'AAPL', 'MSFT' or ['AAPL', 'MSFT']) days (int): Number of days to look back hours (int): Number of hours to look back minutes (int): Number of minutes to look back limit (Optional[int]): Upper limit of number of data points to return (default: 1000) start (Optional[str]): Start time in ISO format end (Optional[str]): End time in ISO format sort (Optional[Sort]): Chronological order of response (ASC or DESC) feed (Optional[DataFeed]): The stock data feed to retrieve from (DataFeed.IEX or DataFeed.SIP) currency (Optional[SupportedCurrencies]): Currency for prices (default: USD) asof (Optional[str]): The asof date in YYYY-MM-DD format tz (str): Timezone for naive datetime strings (default: "America/New_York") Returns: str: Formatted string containing quote summary or error message | read-only | Not tested | — | |
get_stock_snapshot | Retrieves comprehensive snapshots of stock symbols including latest trade, quote, minute bar, daily bar, and previous daily bar. Args: symbol_or_symbols: Single stock symbol or list of stock symbols feed: The stock data feed to retrieve from (DataFeed.IEX or DataFeed.SIP) currency: The currency the data should be returned in Returns: str: Comprehensive snapshots including latest_quote, latest_trade, minute_bar, daily_bar, previous_daily_bar | read-only | Not tested | — | |
get_stock_trades | Retrieves and formats historical trades for a stock. Args: symbol (Union[str, List[str]]): Stock ticker symbol(s) days (int): Number of days to look back hours (int): Number of hours to look back minutes (int): Number of minutes to look back limit (Optional[int]): Upper limit of number of data points to return start (Optional[str]): Start time in ISO format end (Optional[str]): End time in ISO format sort (Optional[Sort]): Chronological order of response (ASC or DESC) feed (Optional[DataFeed]): The stock data feed to retrieve from (DataFeed.IEX or DataFeed.SIP) currency (Optional[SupportedCurrencies]): Currency for prices asof (Optional[str]): The asof date in YYYY-MM-DD format tz (str): Timezone for naive datetime strings Supported: "UTC", "ET", "EST", "EDT", "America/New_York" Returns: str: Formatted string containing trade history or an error message | read-only | Not tested | — |
Keywords
Trigger Keywords (@mentions)
@alpaca Discoverability Score
Fair
68 of 100 — how easily AI agents find your app
- Description quality20/20
- Example prompts0/20
- Keyword coverage4/15
- Tool metadata20/20
- Visual assets13/20
- Endpoint health10/10
- Data freshness15/15
How to Improve
Add at least 2 example prompts. Prompt examples strongly improve app matching and click-through intent.
Increase keyword coverage (discovery + trigger) to improve retrieval for long-tail queries.
Add at least 2 screenshots that show real workflows to increase confidence and conversion.
Technical Details
- Status
- ENABLED
- Type
- AI-Powered App
- Auth
- Open Access
- Listed on
- ChatGPT
- Added
- December 8, 2025
- Last synced
- 3d ago
- Last checked
- 16h ago
- Version
- 1.23.0
- Distribution
- Ecosystem Directory