What is the Alpaca MCP Server?
The Alpaca MCP Server is a Model Context Protocol (MCP) server that allows Large Language Models (LLMs) like Claude to interact with the Alpaca trading API. It enables trading stocks, checking positions, fetching market data, and managing your account through natural language.
What are the prerequisites for using the Alpaca MCP Server?
You need Python 3.10+, Alpaca API keys, and an MCP client like Claude for Desktop.
How do I install the Alpaca MCP Server?
- Clone the repository:
git clone https://github.com/YOUR_USERNAME/alpaca-mcp.git - Install the required packages:
pip install mcp alpaca-py python-dotenv - Create a
.envfile with your Alpaca API credentials.
How do I configure Claude for Desktop to use the Alpaca MCP Server?
- Open Claude for Desktop and go to Settings.
- Click on “Developer” and then “Edit Config”.
- Add the server configuration to
claude_desktop_config.jsonwith your API keys and server path. - Save and restart Claude for Desktop.
What tools are available through the Alpaca MCP Server?
The server exposes tools like get_account_info(), get_positions(), get_stock_quote(symbol), get_stock_bars(symbol, days), get_orders(status, limit), place_market_order(symbol, side, quantity), place_limit_order(symbol, side, quantity, limit_price), cancel_all_orders(), and close_all_positions(cancel_orders).
Can I use real money for trading with this server?
Yes, but by default, it uses Alpaca’s paper trading. To use real money, change paper=True to paper=False in the TradingClient initialization.
Is the Alpaca MCP Server secure?
This server will have access to your Alpaca account and can place real trades. Always review what Claude is suggesting before approving any trades. Protect your API keys and monitor your account activity.
What is UBOS?
UBOS is a full-stack AI Agent Development Platform focused on bringing AI Agents to every business department. Our platform helps you orchestrate AI Agents, connect them with your enterprise data, build custom AI Agents with your LLM model and Multi-Agent Systems.
How does the Alpaca MCP Server relate to UBOS?
The Alpaca MCP Server is an asset available on the UBOS Asset Marketplace, showcasing how UBOS enables developers to build and deploy AI-driven solutions. UBOS provides the platform and tools to manage and integrate this server into larger AI agent workflows.
What can I do with the Alpaca MCP Server on UBOS?
You can integrate it with other AI agents, automate trading strategies, connect it to your enterprise data for informed decisions, and build personalized trading assistants.
Alpaca MCP Server
Project Details
- miguelyad26/alpaca-mcp-server
- MIT License
- Last Updated: 4/1/2025
Recomended MCP Servers
MCP server for accessing Dutch World War II archives through the Oorlogsbronnen API. Provides structured access to historical...
pocketbase-mcp-server
Connecting your Obsidian Vaults that are stored in local to AI via the Model Context Protocol (MCP)
MCP AI Monitor 🦊
MCP server for browser automation using Playwright
An MCP Server and sample client for Selector AI
This project is an MCP (Model Context Protocol) server for querying ATT&CK (Adversarial Tactics, Techniques, and Common Knowledge)...
This read-only MCP Server allows you to connect to CockroachDB data from Claude Desktop through CData JDBC Drivers....
This MCP server helps build Memory Bank - structured documentation system for context preservation
Shell and coding agent on claude desktop app
A server application designed on top of MCP to interact with Cursor and MySQL.
A Model Context Protocol (MCP) server that provides tools for Tabnews





