Alpaca MCP Server
Description
# Alpaca MCP Server A Model Context Protocol (MCP) server for Alpaca Trading API that provides seamless integration with AI assistants and development tools. ## ✅ Compatibility **Tested and verified to work on Apple Silicon M1 Pro laptops** running macOS. ## Features - **Account…
About
# Alpaca MCP Server A Model Context Protocol (MCP) server for Alpaca Trading API that provides seamless integration with AI assistants and development tools. ## ✅ Compatibility **Tested and verified to work on Apple Silicon M1 Pro laptops** running macOS. ## Features - **Account Information**: Get real-time account…
Details
- Author
- jwaresolutions
- Downloads
- 283
- Categories
- Other
Jump to
- Real-time account details, buying power, equity, and status
- Portfolio management with position-level P&L tracking
- Live stock quotes showing bid/ask prices and spreads
- Order listing with status, type, and fill details
- Built-in paper trading support for safe testing
- Compatible with live trading (use with caution)
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Alpaca MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install the alpaca-trade-api Python package, clone the repository, and set environment variables for your Alpaca API credentials (APCA_API_KEY_ID, APCA_API_SECRET_KEY, APCA_API_BASE_URL). Configure the MCP client (e.g., Cline or Claude Desktop) by adding a JSON entry pointing to the alpaca_mcp_server.py script with the required environment variables. Run the server with python alpaca_mcp_server.py to make tools available.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"alpaca mcp server": {
"alpaca": {
"command": "node",
"args": [
"/path/to/alpaca-server/build/index.js"
],
"env": {
"ALPACA_API_KEY": "",
"ALPACA_SECRET_KEY": "",
"ALPACA_BASE_URL": ""
}
}
}
}
}
McpServers
{
"alpaca": {
"command": "node",
"args": [
"/path/to/alpaca-server/build/index.js"
],
"env": {
"ALPACA_API_KEY": "",
"ALPACA_SECRET_KEY": "",
"ALPACA_BASE_URL": ""
}
}
}
Alpaca MCP Server
A Model Context Protocol (MCP) server for Alpaca Trading API that provides seamless integration with AI assistants and development tools.
✅ Compatibility
Tested and verified to work on Apple Silicon M1 Pro laptops running macOS.
Features
- Account Information: Get real-time account details, buying power, equity, and status
- Portfolio Management: View current positions with P&L tracking
- Market Data: Retrieve real-time stock quotes with bid/ask spreads
- Order Management: List and monitor recent orders
- Paper Trading Support: Safe testing environment with paper trading API
- Live Trading Ready: Compatible with live trading (use with caution)
Installation
Prerequisites
pip install alpaca-trade-api
Quick Start
1. Clone the repository:
git clone https://github.com/jwaresolutions/alpaca-mcp-server.git
cd alpaca-mcp-server
2. Set up your Alpaca API credentials:
Create environment variables or add to your shell profile:
```bash
export APCA_API_KEY_ID="your_api_key_here"
export APCA_API_SECRET_KEY="your_secret_key_here"
export APCA_API_BASE_URL="https://paper-api.alpaca.markets" # Paper trading
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



