Alpaca Trading
The Alpaca MCP Server is a protocol service that connects LLMs such as Claude with the Alpaca trading API, supporting stock trading, account management, and market data query through natural language.
rating : 2.5 points
downloads : 15
What is the Alpaca MCP Server?
The Alpaca MCP Server is an application based on the Model Context Protocol (MCP) that allows you to interact with the Alpaca stock trading API through natural language. You can easily view account information, manage your portfolio, obtain market data, and execute buy and sell operations.How to use the Alpaca MCP Server?
First, ensure that Python 3.10 or a higher version is installed and the Alpaca API key is configured. Then start the server and connect to it via Claude for Desktop. You can complete complex trading tasks with simple natural language instructions.Applicable Scenarios
Suitable for professional traders and retail investors who need automated trading, real - time market monitoring, or quick response to investment opportunities.Main Features
Get Account InformationCheck your account balance, available funds, and account status.
View PortfolioUnderstand your currently held stocks and their performance.
Get Stock QuoteGet the latest price of a stock in real - time.
Historical Price DataObtain the price change trend of a stock over a past period.
Place Market OrdersImmediately buy or sell a specified number of stocks at the current market price.
Place Limit OrdersSet a specific price to buy or sell stocks.
Cancel OrdersCancel all or part of the unexecuted orders.
Close PositionsClose all open positions.
Advantages and Limitations
Advantages
Simplify the complex investment decision - making process through natural language.
Support real - time market data updates.
Reduce the risk of errors caused by manual operations.
Limitations
Depend on the services provided by the Alpaca API.
It may take some time for beginners to get familiar with the operations.
Use with caution when dealing with real - money transactions.
How to Use
Clone the Project Repository
Download the Alpaca MCP Server code on your local computer.
Install Dependencies
Install the Python libraries required to run the server.
Configure Environment Variables
Create a.env file and add your Alpaca API key.
Start the Server
Execute the startup script to run the Alpaca MCP Server.
Usage Examples
Query Account BalanceSend a request to the server to get the current account's fund status.
Execute Market OrdersEnter natural language instructions to place orders.
Get Historical DataRequest the historical price records of a stock.
Frequently Asked Questions
Can multiple trading requests be processed simultaneously?
How to switch to the real - money trading mode?
What if I forget my API key?
Related Resources
Official Documentation
The complete official documentation of the Alpaca platform.
GitHub Repository
The source code address of the project.
Video Tutorial
A quick - start guide.
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
87
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
567
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points