alpaca-mcp-server
Alpaca’s official MCP Server allows users to trade stocks, ETFs, crypto, and options using natural language through AI assistants.
The Alpaca MCP Server is a comprehensive solution that integrates with Alpaca's Trading API, enabling users to perform trading operations in plain English. It supports a wide range of financial instruments, including stocks, options, and cryptocurrencies, while also providing features for portfolio management and real-time market data analysis. This server is designed to work seamlessly with AI tools like Claude, Cursor, and IDEs such as VS Code, making it accessible for both novice and experienced traders. With the release of Alpaca MCP Server v2, users can expect a complete rewrite that enhances performance and usability. Built with FastMCP and OpenAPI, this version introduces significant changes in tool names, parameters, and configuration, ensuring a more streamlined experience for users upgrading from v1. The server empowers users to develop and implement trading strategies efficiently, leveraging the capabilities of advanced AI technologies.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"alpaca-mcp-server": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-alpaca-mcp-server"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions