Best for
- Developers who want to automate trading
- Users who want to use AI assistants for investment research and trade execution
- Traders familiar with Alpaca brokerage services
The Alpaca MCP server is an official, feature-rich server covering multiple asset classes and trading operations, but requires careful use due to real trading risks.
Strongest · Documentation 16/20 Weakest · Reliability 10/20
Static review · not runListed 2026-08-07
Read the FMRS scoring method →Runtime:Python 3.10+ · Docker
ALPACA_API_KEY
Required Alpaca Trading API key; generate one in the Alpaca Dashboard after creating a free paper trading account at app.alpaca.markets.
ALPACA_SECRET_KEY
Required Alpaca API secret key, generated alongside the API key in the Alpaca Dashboard; treat as a sensitive credential.
ALPACA_PAPER_TRADE
Optional, defaults to true (paper trading); set to false to enable live trading.
ALPACA_TOOLSETS
Optional comma-separated list of toolsets (e.g. stock-data,crypto-data) to restrict which tools are enabled; all are enabled by default.
{
"mcpServers": {
"alpaca": {
"command": "uvx",
"args": ["alpaca-mcp-server"],
"env": {
"ALPACA_API_KEY": "your_alpaca_api_key",
"ALPACA_SECRET_KEY": "your_alpaca_secret_key"
}
}
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"alpaca": {
"command": "uvx",
"args": [
"alpaca-mcp-server"
],
"env": {
"ALPACA_API_KEY": "your_alpaca_api_key",
"ALPACA_SECRET_KEY": "your_alpaca_secret_key"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add alpaca -e ALPACA_API_KEY=your_alpaca_api_key -e ALPACA_SECRET_KEY=your_alpaca_secret_key -- uvx alpaca-mcp-server
Run it in a terminal; replace any <…> placeholders with your own values first.
Add the server to your MCP client config (uvx alpaca-mcp-server with your Alpaca keys) and restart the client; confirm get_account_info appears in the tool list, then ask "What's my current account balance on Alpaca?" — a returned balance proves the connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Alpaca's official MCP server, built with FastMCP and OpenAPI specs, provides 60+ tools covering account management, trading, positions, market data, news, and more. Supports stocks, options, crypto, fixed income, indices, and other asset classes. Users can execute trades, fetch real-time and historical market data, and manage portfolios through natural language instructions in AI assistants like Claude, Cursor, and VS Code.
Upstash's official server providing up-to-date third-party library docs for AI coding assistants
AI-powered NPM package analysis MCP server
An independent control layer that gives AI coding agents budgets, brakes, and receipts
GitHub's official MCP server for managing repos, issues, PRs, and workflows via natural language
Source revision a82ad1ccb740 Data synced 2026-10-12 Read the FMRS scoring method