Browse/AI & ML/Alpaca Trading

Alpaca Trading

by alpacahq · Added 26d ago

573

Install

git clone https://github.com/alpacahq/alpaca-mcp-server

About

This MCP server provides complete Alpaca trading platform integration, enabling AI assistants to manage stock and options trading accounts through paper and live trading environments. Built using Python with the alpaca-py SDK and FastMCP framework, it offers account monitoring with real-time balance and position tracking, comprehensive order management supporting market, limit, stop, stop-limit, and trailing stop orders, historical and real-time market data retrieval including quotes, bars, and trade history, position management with partial and full closure capabilities, watchlist creation and management, and market calendar information with corporate action announcements. The implementation includes proper error handling for API rate limits and trading restrictions, environment variable configuration for secure credential management, and support for both stock and options trading workflows, making it valuable for algorithmic trading development, portfolio management automation, and financial analysis workflows that require programmatic access to brokerage account functionality.

Tags

AI & MLmcp-server