Basic information
About Alpaca MCP Server
Mirror of
Alpaca MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by MCP-Mirror. Supported transport: stdio. Runtime: python. License: MIT license. Source code is hosted on github.com. Related topics: alpaca, mcp-server, trading-assistant.
Setup
{
"mcpServers": {
"miguelyad26_alpaca-mcp-server": {
"command": "python",
"args": [
"alpaca_mcp_server.py"
]
}
}
}
{
"mcpServers": {
"miguelyad26_alpaca-mcp-server": {
"command": "python",
"args": [
"alpaca_mcp_server.py"
]
}
}
}
{
"servers": {
"miguelyad26_alpaca-mcp-server": {
"command": "python",
"args": [
"alpaca_mcp_server.py"
]
}
}
}
Alpaca MCP Server (MCP-Mirror/miguelyad26_alpaca-mcp-server) config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"miguelyad26_alpaca-mcp-server": {
"command": "python",
"args": [
"alpaca_mcp_server.py"
]
}
}
}
Alpaca MCP Server (MCP-Mirror/miguelyad26_alpaca-mcp-server) tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Alpaca MCP Server?
Alpaca MCP Server is a Model Context Protocol server for Alpaca, enabling LLMs like Claude to interact with the Alpaca trading API through natural language. It allows trading stocks, checking positions, fetching market data, and managing account details.
How to use Alpaca MCP Server?
Requires Python 3.10+, Alpaca API keys, and an MCP client such as Claude for Desktop. Clone the repository, install dependencies (mcp, alpaca-py, python-dotenv), create a .env file with credentials, and run python alpaca_mcp_server.py. Configure Claude for Desktop by adding the server to claude_desktop_config.json with the appropriate command, arguments, and environment variables. The server uses Alpaca’s paper trading by default; for live trading change paper=True to paper=False in the TradingClient initialization.
Key features of Alpaca MCP Server
- Access Alpaca SDK documentation
- Get real-time stock quotes and historical price data
- Check account balances, buying power, and status
- View current positions and their performance
- Place market and limit orders via natural language
- List, track, and cancel orders
Use cases of Alpaca MCP Server
- Check account balance and buying power
- View current positions and their performance
- Get the latest stock quote for a symbol
- Show historical price bars for a stock (e.g., last 10 days)
- Buy or sell shares at market or with a limit price
- Cancel all open orders or close all positions
Frequently asked questions
1 What are the prerequisites for using Alpaca MCP Server?
Python 3.10 or higher, valid Alpaca API keys, and an MCP client like Claude for Desktop.
2 How do I configure Claude for Desktop to use this server?
Add the server configuration to claude_desktop_config.json with the command (python), arguments (path to alpaca_mcp_server.py), and environment variables for API_KEY_ID and API_SECRET_KEY.
3 Does the server use paper trading or real money?
By default it uses Alpaca’s paper trading environment. To trade with real money, change paper=True to paper=False in the TradingClient initialization.
4 What trading tools are available?
The server exposes nine tools: get_account_info, get_positions, get_stock_quote, get_stock_bars, get_orders, place_market_order, place_limit_order, cancel_all_orders, and close_all_positions.
5 What security considerations should I be aware of?
The MCP server has access to your Alpaca account and can place real trades. Always review what Claude suggests before approving any trades.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In