alpaca-mcp-server

alpaca-mcp-server

16

The Alpaca MCP Server is designed to interface with the Alpaca trading API using a Model Context Protocol. It allows users to perform various trading operations through a natural language interface, making it easier to manage stock trading activities via AI models like Claude.

What is the Alpaca MCP Server?

The Alpaca MCP Server is a protocol server that allows LLMs to interact with the Alpaca trading API for tasks like trading stocks and managing accounts using natural language.

What are the prerequisites for using the Alpaca MCP Server?

You need Python 3.10+, Alpaca API keys, and Claude for Desktop or another MCP client.

How do I start the Alpaca MCP Server?

You can start the server by running the command python alpaca_mcp_server.py in your terminal.

Can I use the Alpaca MCP Server for real money trading?

Yes, but by default, it uses Alpaca's paper trading. To use real money trading, change paper=True to paper=False in the TradingClient initialization.

Is it safe to use the Alpaca MCP Server?

The server will have access to your Alpaca account and can place real trades. Always review what Claude is suggesting before approving any trades.