Alpaca Trading MCP Server
@laukikk
About Alpaca Trading MCP Server
MCP for the Alpaca trading API to manage stock and crypto portfolios, place trades, and access market data
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"alpaca-mcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@laukikk/alpaca-mcp",
"--client",
"claude"
]
}
}
}Tools
8Get current account information
Place a market order to buy or sell a stock
Place a limit order to buy or sell a stock at a specified price
Place a stop order to buy or sell a stock when it reaches a specified price
Place a stop-limit order combining stop and limit order features
Cancel an open order by its ID
Close an open position for a specific symbol
Get a comprehensive summary of the portfolio
Overview
What is Alpaca Trading MCP Server?
The Alpaca Trading MCP Server is a Model Context Protocol (MCP) server that provides an interface to the Alpaca trading API. It allows users to manage their stock and crypto portfolio, place trades, and access market data via MCP-compatible clients.
How to use Alpaca Trading MCP Server?
Install the server via Smithery using npx -y @smithery/cli install @laukikk/alpaca-mcp --client claude or manually by cloning the repository and installing dependencies with pip install -e . or uv pip install -e .. Configure your Alpaca Paper Trading API key and secret in a .env file, then run python src/server.py to start the server. For Claude Desktop, add the server configuration to claude_desktop_config.json.
Key features of Alpaca Trading MCP Server
- Account Management: view account details, balances, and portfolio status.
- Trading: place market, limit, stop, and stop-limit orders.
- Portfolio Management: view positions, calculate performance, close positions.
- Market Data: access real-time quotes and historical price data.
- Asset Information:
Basic information
More Finance & Commerce MCP servers
Financial Modeling Prep MCP Server
cdtaitFinancial Modeling Prep MCP Server
中国股票数据
elsejj这是一个为大模型提供 A 股数据的的 MCP(Model Content Protocol) 服务。
Financial Modeling Prep MCP (Model Context Protocol)
imbenrabiA Model Context Protocol (MCP) implementation for Financial Modeling Prep, enabling AI assistants to access and analyze financial data, stock information, company fundamentals, and market insights.
MetaTrader 5 MCP Server
QoyyuumA Model Context Protocol (MCP) server for interacting with the MetaTrader 5 trading platform. This server provides AI assistants with tools and resources to access market data, perform trading operations, and analyze trading history.
Boba MCP
Able-labs-xyzBoba CLI - The bridge between agents and decentralized trading.
Comments