alpaca-trading-mcp-server — Claude Code skill: setup and features
Connects AI coding assistants to Alpaca Trading API for equities, crypto, and options orders using natural language instructions.
no license 186 installs ★ 9 updated 2026-10-09
npx skills add reason-machines/mcp-skills --skill alpaca-trading-mcp-server -a claude-codeWhat alpaca-trading-mcp-server does
This skill connects your coding environment to Alpaca's official MCP server. It enables the assistant to pull live market feeds, inspect order books, submit trades, and check balances. Supported asset classes include equities, ETFs, crypto pairs, and options. If you want to limit active endpoints, define ALPACA_TOOLSETS in the configuration to restrict tools to subsets such as account, trading, or news.
The setup requires Python 3.10 or newer, the uv tool, and registered Alpaca API keys. Because ALPACA_PAPER_TRADE defaults to true, initial prompts run against a virtual simulator without risking real money. You can run the server directly via uvx alpaca-mcp-server or package it into a Docker container.
What it helps with
- place limit and market orders directly from agent conversation
- fetch historical candle data, quotes, and crypto order books
- filter option chains by expiration date and calculate Greeks
- track account balance, buying power, and active positions
Example prompts for the agent
- Buy 10 shares of AAPL at market price
- Show me the order book for BTC/USD and current buying power
How to install alpaca-trading-mcp-server
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill alpaca-trading-mcp-server -a claude-code2Manually: put the files in place
~/.claude/skills/alpaca-trading-mcp-server/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/alpaca-trading-mcp-server/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill alpaca-trading-mcp-server -a codex2Manually: put the files in place
.agents/skills/alpaca-trading-mcp-server/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill alpaca-trading-mcp-server -a cursor2Manually: put the files in place
.cursor/skills/alpaca-trading-mcp-server/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/mcp-skills skills/alpaca-trading-mcp-server2Manually: put the files in place
.github/skills/alpaca-trading-mcp-server/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill alpaca-trading-mcp-server -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/mcp-skills --path skills/alpaca-trading-mcp-serverManually: put the files in place
.devin/skills/alpaca-trading-mcp-server/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/mcp-skills --skill alpaca-trading-mcp-server -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about alpaca-trading-mcp-server
How to install alpaca-trading-mcp-server in Claude Code?
Run npx skills add reason-machines/mcp-skills --skill alpaca-trading-mcp-server -a claude-code in your terminal.
What dependencies does this skill require?
You need Python 3.10 or higher, the uv package installer, and valid API keys from an Alpaca account.
Does the server trade live capital automatically?
No, the ALPACA_PAPER_TRADE setting defaults to true, routing all operations to the paper trading sandbox until explicitly disabled.