alpaca-trading-mcp-server

Execute stock, crypto, and options trades through Alpaca's MCP server using natural language.

7|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/mcp-skills --skill alpaca-trading-mcp-server-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: alpaca-trading-mcp-server
Source: https://github.com/reason-machines/mcp-skills/tree/main/skills/alpaca-trading-mcp-server
Command: npx skills add https://github.com/reason-machines/mcp-skills --skill alpaca-trading-mcp-server-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Connecting AI assistants to brokerage accounts normally requires writing custom API integration code. This Skill configures Alpaca's official MCP server so an AI assistant can place trades, query market data, and manage portfolios through natural language commands. ## Core Features & Use Cases - Trade Execution: Submit market, limit, stop, and trailing-stop orders for stocks, ETFs, crypto, and options via the Alpaca Trading API. - Market Data Access: Retrieve real-time and historical bars, quotes, option chains with Greeks, order books, screeners, and news. - Account & Portfolio Management: Check balances, buying power, positions, portfolio history, watchlists, and corporate actions, with paper and live trading modes. - Use Case: Ask your AI assistant "Buy 10 shares of AAPL at market price" or "Find call options for AAPL expiring next month with strike $180" and the server executes the request against your paper trading account. ## Quick Start Set up the Alpaca MCP server in Claude Desktop with my paper trading API keys and show my current account balance and buying power.

Frequently Asked Questions about alpaca-trading-mcp-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up the Alpaca MCP server in Claude Desktop?▼

Add an entry to claude_desktop_config.json with command "uvx", args ["alpaca-mcp-server"], and environment variables ALPACA_API_KEY, ALPACA_SECRET_KEY, and ALPACA_PAPER_TRADE. Restart Claude Desktop after saving the config.

How to trade stocks and crypto with natural language using Alpaca?▼

Once the MCP server is configured, prompt your AI assistant with commands like "Buy 10 shares of AAPL at market price" or "Buy $500 worth of Ethereum". The server translates these into Alpaca Trading API calls.

Does the Alpaca MCP server support paper trading?▼

Yes, paper trading is the default mode controlled by the ALPACA_PAPER_TRADE environment variable set to true. Set it to false with live API keys only after thorough testing, since live trading uses real money.

Can I restrict which Alpaca API tools are available?▼

Yes, set the ALPACA_TOOLSETS environment variable to a comma-separated list such as "account,trading,stock-data". Available toolsets include account, trading, watchlists, assets, stock-data, crypto-data, options-data, corporate-actions, and news.

Why is the Alpaca server not appearing in my MCP client?▼

Verify installation by running "uvx alpaca-mcp-server --version", validate the JSON syntax in your client config, and fully restart the client. Check logs in ~/Library/Logs/Claude/ on macOS or %APPDATA%\Claude\logs\ on Windows.

What order types does Alpaca trading support?▼

The server supports market, limit, stop, stop-limit, and trailing-stop orders. You can also cancel or modify orders, close positions, and exercise option contracts through the trading toolset.