alpacahq/alpaca-mcp-server

Alpaca’s official MCP Server lets you trade stocks, ETFs, crypto, and options, run data analysis, and build strategies in plain English directly from your favorite LLM tools and IDEs

82
/ 100
Verified

Built with FastMCP and OpenAPI, it dynamically generates trading tools from Alpaca's API specifications rather than hand-crafting them, enabling automatic schema alignment and toolset filtering via `ALPACA_TOOLSETS`. Integrates with Claude, Cursor, VS Code, and PyCharm through the Model Context Protocol (MCP) stdio transport, allowing LLMs to execute trading operations with real-time market data access and portfolio management directly within IDE environments.

545 stars and 13,166 monthly downloads. Actively maintained with 7 commits in the last 30 days. Available on PyPI.

Maintenance 20 / 25
Adoption 19 / 25
Maturity 18 / 25
Community 25 / 25

How are scores calculated?

Stars

545

Forks

175

Language

Python

License

MIT

Last pushed

Mar 10, 2026

Monthly downloads

13,166

Commits (30d)

7

Dependencies

7

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/alpacahq/alpaca-mcp-server"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.