Alpaca Trading MCP Server
@MardiantoS
About Alpaca Trading MCP Server
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"alpaca-mcp-server-mardiantos": {
"command": "uv",
"args": [
"venv"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Alpaca Trading MCP Server?
A Model Context Protocol (MCP) server that enables Large Language Models like Anthropic Claude to interact with the Alpaca trading API. It allows LLMs to manage accounts, access market data, place orders, and track positions through standardized tools and resources.
How to use Alpaca Trading MCP Server?
Clone the repository, install dependencies with uv sync, and create a .env file with your Alpaca API key and secret (defaulting to paper trading). Configure the server in Claude Desktop’s claude_desktop_config.json by specifying the absolute paths to uv and the project directory. Relaunch Claude and ask queries such as "What's my current Alpaca portfolio balance?" or "Place a buy limit order for 10 shares of JPMorgan Chase at $238."
Key features of Alpaca Trading MCP Server
- View account information and portfolio summary
- Access real-time quotes and historical price bars
- Place market and limit orders
- Monitor current positions and recent orders
- Paper trading enabled by default for safety
Use cases of Alpaca Trading MCP Server
- Query current portfolio balance through natural language
- Place market or limit buy/sell orders via chat
- Cancel existing orders using order IDs
- Retrieve real-time quotes and historical bars for symbols
- Review recent orders and open positions
FAQ from Alpaca Trading MCP Server
What trading operations does the server support?
It supports placing market and limit orders, canceling orders, and retrieving portfolio summaries. Order execution depends on the Alpaca account (paper or live).
How do I obtain Alpaca API credentials?
Alpaca API keys can be acquired from the Alpaca developer web console. Refer to the Alpaca documentation for getting started.
Is this server safe for live trading?
The server defaults to paper trading (ALPACA_PAPER=TRUE) and includes error handling and logging. The README includes a disclaimer that trading involves risk and the author is not responsible for financial losses.
What are the prerequisites to run the server?
You need uv (Python package manager) and optionally Claude for Desktop for testing. Python and the dependencies listed in uv.lock are installed automatically.
Does real-time market data require a specific account?
Real-time quotes and historical bars may only be fully accessible with a Live trading account, depending on the Alpaca subscription level. Paper trading accounts might have limited market data.
Frequently asked questions
What trading operations does the server support?
It supports placing market and limit orders, canceling orders, and retrieving portfolio summaries. Order execution depends on the Alpaca account (paper or live).
How do I obtain Alpaca API credentials?
Alpaca API keys can be acquired from the Alpaca developer web console. Refer to the Alpaca documentation for getting started.
Is this server safe for live trading?
The server defaults to paper trading (`ALPACA_PAPER=TRUE`) and includes error handling and logging. The README includes a disclaimer that trading involves risk and the author is not responsible for financial losses.
What are the prerequisites to run the server?
You need `uv` (Python package manager) and optionally Claude for Desktop for testing. Python and the dependencies listed in `uv.lock` are installed automatically.
Does real-time market data require a specific account?
Real-time quotes and historical bars may only be fully accessible with a Live trading account, depending on the Alpaca subscription level. Paper trading accounts might have limited market data.
Basic information
More Finance & Commerce MCP servers
AI看线 - A股技术分析与AI预测工具
QuantML-GithubPython-based stock analysis tool that combines traditional technical analysis with AI prediction capabilities. Providing comprehensive stock analysis and forecasting using K-line charts, technical indicators, financial data, and news data. With CMD/WEB/MCP supported.
Polygon.io MCP Server
polygon-ioAn MCP server for Massive.com Financial Market Data
AKShare One MCP Server
zwldarrenMCP server that provides access to Chinese stock market data using akshare-one
Yahoo Finance MCP Server
narumiruna
Exact Online
iWebDevelopmentExact AI Connect is a remote MCP server that connects AI assistants like Claude, ChatGPT, Copilot, Gemini and Perplexity directly to your Exact Online administration. Ask questions about your finances in plain language a
Comments