alpaca-mcp-server
If you are the rightful owner of alpaca-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a Model Context Protocol (MCP) server for Alpaca, allowing LLMs like Claude to interact with the Alpaca trading API.
The Alpaca MCP Server is designed to facilitate seamless interaction between large language models (LLMs) and the Alpaca trading API. It enables users to perform various trading-related tasks such as trading stocks, checking positions, fetching market data, and managing accounts through natural language commands. This server is particularly useful for those who want to leverage the power of LLMs to automate and simplify their trading activities. By integrating with Claude or other MCP clients, users can execute trades, manage orders, and access real-time market data effortlessly. The server supports both paper and real money trading, providing flexibility for users to test strategies or engage in actual trading.
Features
- Market Data: Get real-time stock quotes and historical price data.
- Account Information: Check your balances, buying power, and status.
- Position Management: View current positions and their performance.
- Order Placement: Place market and limit orders through natural language.
- Order Management: List, track, and cancel orders.
Tools
get_account_info
Get account balances and status.
get_positions
List all current positions in the portfolio.
get_stock_quote
Get the latest quote for a stock.
get_stock_bars
Get historical price bars for a stock.
get_orders
List orders with specified status.
place_market_order
Place a market order.
place_limit_order
Place a limit order.
cancel_all_orders
Cancel all open orders.
close_all_positions
Close all open positions.