alpaca-mcp-server
Alpaca Trading API access for AI assistants via MCP
Install
See setup instructions on alpaca.marketsWhat it does
A Model Context Protocol server that connects AI assistants to Alpaca's Trading API, letting users place and manage stock, options, and crypto orders in natural language. It is aimed at traders and developers who already have an Alpaca account and want to query account balances, positions, market data, and order state from inside a chat client. It installs as a Python package using uv (uvx alpaca-mcp-server) and runs over stdio, with setup examples for Claude Desktop, Claude Code, Cursor, VS Code, PyCharm, and Antigravity CLI, plus a Docker image. Configuration is entirely through environment variables in the client config: an API key and secret are required, paper trading is the default, and an optional variable limits which toolsets are exposed. Credentials are not stored to files.
Notable limitations:
- Version 2 is a rewrite and is not backward compatible with v1 tool names or parameters.
- It requires a local stdio client; remote-hosted clients such as ChatGPT and Claude Mobile are not supported without separate authentication, and exposing it publicly with your keys is discouraged.
- Only Trading, Market Data, and Authentication API docs are included, not Broker API.
Available capabilities cover account and portfolio history, order placement and cancellation, position management, watchlists, asset lookup, stock/crypto/options market data including Greeks, news, corporate actions, and fixed income quotes.
Compatibility and authentication
- Connection
- Local
- Transports
- Unspecified
- Authentication
- Unknown
Security and permissions
- When you run the server locally, it runs with your user permissions.
- Authentication type: Unknown.
Repository data
- Stars
- 1,111
- Last push
- Nov 13, 2026
- License
- MIT
- Archived
- No
FAQ
- What license does alpaca-mcp-server use?
- MIT
- Does alpaca-mcp-server run locally or remotely?
- It runs locally.
- Is alpaca-mcp-server an official server?
- It is listed as a community server.
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/mcp/alpaca-mcp-server"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.