Alpaca Trading MCP Server
@MardiantoS
Alpaca Trading MCP Server について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"alpaca-mcp-server-mardiantos": {
"command": "uv",
"args": [
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
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.
「金融とコマース」の他のコンテンツ
Armor Crypto MCP
armorwalletThe MCP server for interacting with Blockchain, Swaps, Strategic Planning and more.
Polygon.io MCP Server
polygon-ioAn MCP server for Massive.com Financial Market Data
Yahoo Finance MCP Server
Alex2Yang97This is a Model Context Protocol (MCP) server that provides comprehensive financial data from Yahoo Finance. It allows you to retrieve detailed information about stocks, including historical prices, company information, financial statements, options data, and market news.
Crypto Sentiment MCP Server
kukapayAn MCP server that delivers cryptocurrency sentiment analysis to AI agents.
Futu Stock MCP Server
shuizhengqi1mcp server for futuniuniu stock
コメント