- Explore MCP Servers
- alpaca-mcp-2
Alpaca Mcp 2
What is Alpaca Mcp 2
Alpaca MCP is a wrapper over the Alpaca API that allows Claude to interact with Alpaca’s trading and market data APIs through simple tool calls.
Use cases
Use cases include automated trading strategies, portfolio management, market analysis, and developing trading bots that require interaction with Alpaca’s trading infrastructure.
How to use
To use alpaca-mcp-2, set up an Alpaca paper trading account, generate your API key and secret, and configure your ‘claude_desktop_config.json’ with the necessary commands and environment variables.
Key features
Key features include getting the latest stock quotes, historical stock bars, account details, open positions, order management, and market information such as the current clock and calendar.
Where to use
Alpaca MCP can be used in financial trading applications, algorithmic trading systems, and any platform that requires access to real-time and historical market data.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Alpaca Mcp 2
Alpaca MCP is a wrapper over the Alpaca API that allows Claude to interact with Alpaca’s trading and market data APIs through simple tool calls.
Use cases
Use cases include automated trading strategies, portfolio management, market analysis, and developing trading bots that require interaction with Alpaca’s trading infrastructure.
How to use
To use alpaca-mcp-2, set up an Alpaca paper trading account, generate your API key and secret, and configure your ‘claude_desktop_config.json’ with the necessary commands and environment variables.
Key features
Key features include getting the latest stock quotes, historical stock bars, account details, open positions, order management, and market information such as the current clock and calendar.
Where to use
Alpaca MCP can be used in financial trading applications, algorithmic trading systems, and any platform that requires access to real-time and historical market data.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Alpaca MCP
MCP wrapper over the Alpaca API, enabling Claude to interact with Alpaca’s trading and market data APIs through simple tool calls.
Features
The MCP currently provides the following functionality:
get_latest_quotes: Get the latest quotes for stock symbolsget_stock_bars: Get historical stock bars (candles)get_account: Get account details from your Alpaca accountget_all_positions: Get all open positionsget_open_position: Get details for a specific positionget_orders: Get orders with various filterscancel_orders: Cancel all open orderscancel_order_by_id: Cancel a specific order by IDplace_limit_order: Place a limit orderclose_position: Close a position by symbolget_asset: Get details for a specific assetget_clock: Get current market clock informationget_calendar: Get market calendar for a date range
Installation
Prerequisites
Make sure you have uv installed:
curl -fsSL https://astral.sh/uv/install.sh | bash
# or
brew install uv
Manual Installation
Clone this repository and install locally:
gh repo clone vlad-ds/alpaca-mcp-2
cd alpaca-mcp-2
pip install -e .
Setup
- Create an Alpaca paper trading account
- Generate and save your API key and secret
Usage
Add the following to your claude_desktop_config.json:
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










