Alpaca Trading MCP. Execute trades and analyze market data from chat.
Works with every AI agent you already use
…and any MCP-compatible client
Just plug in your AI agents and start using Vinkius.
Alpaca Trading. This MCP Server connects your AI agent directly to Alpaca Markets. It lets you execute trades, monitor live quotes, and manage your brokerage account using natural language.
Check historical data for stocks and crypto, and track your open orders—all without leaving your workflow.
What your AI agents can do
Create broker account
Creates a new broker account using required identity and agreement data.
Create order
Sends a new trading order to buy or sell assets.
Delete all orders
Removes every open order currently placed in your account.
Your AI client can execute new trading orders (market, limit, stop) and delete all currently open orders.
The agent fetches the latest quotes and real-time trades for specific stocks and crypto assets.
You can retrieve historical price bars, quotes, and trades for both stock and crypto assets to run backtests.
The AI client reads your broker account details and updates configurations like shorting permissions.
List all assets available for trading directly from the Alpaca exchange.
Ask AI about this MCP
Supported MCP Clients
Waiting for input…
Alpaca Trading MCP Server: 14 Tools for Finance
These tools give your AI agent full access to Alpaca Markets functionality, from placing live orders to retrieving historical crypto and stock data.
019e3861create broker account
Creates a new broker account using required identity and agreement data.
019e3861create order
Sends a new trading order to buy or sell assets.
019e3861delete all orders
Removes every open order currently placed in your account.
019e3861get assets
Lists all financial assets that are currently available for trading.
019e3861get broker account
Retrieves details for a specific broker account ID.
019e3861get crypto bars
Fetches historical price bars for cryptocurrency assets.
019e3861get latest stocks quotes
Gets the most recent bid/ask quotes for specific stocks.
019e3861get latest stocks trades
Gets the most recent executed trades for specific stocks.
019e3861get orders
Retrieves a list of all your open and closed trading orders.
019e3861get stocks bars
Fetches historical price bars for specific stock assets.
019e3861get stocks quotes
Gets historical quotes for specific stock assets.
019e3861get stocks trades
Gets historical trade data for specific stock assets.
019e3861issue token
Issues OAuth2 tokens needed for machine-to-machine authentication.
019e3861update account configs
Changes settings like fractional trading or shorting permissions on your account.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Alpaca Trading, then connect any of our 4,500+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 4,500+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
What you can do with this MCP connector
Alpaca Trading MCP Server - Trade Stocks & Crypto with AI
Connect your AI agent directly to Alpaca Markets. You can execute trades, check live quotes, and manage your brokerage account using plain conversation. It's your whole trading desk, right inside your agent.
Placing and Managing Trades
Your agent can send new trading orders to buy or sell assets using create_order, and it's got the power to wipe out every open order in your account with delete_all_orders. You can also check what assets are available to trade by calling get_assets.
Getting Live Market Data
When you need to know what's happening right now, your agent grabs the most recent quotes for specific stocks using get_latest_stocks_quotes, and it fetches the real-time trades for stocks with get_latest_stocks_trades. For crypto, you get the latest quotes with get_latest_stocks_quotes and real-time trades using get_latest_stocks_trades. You can also get the current market data for specific stocks by calling get_stocks_quotes and get_stocks_trades.
Analyzing Historical Prices
Need to backtest a strategy? Your agent pulls historical price bars for stocks using get_stocks_bars, and it grabs crypto price bars using get_crypto_bars. You can also pull historical quotes for specific stocks with get_stocks_quotes, and historical trades for specific stocks by calling get_stocks_trades.
Checking Account Status and Settings
Your agent reads your specific broker account details with get_broker_account, and it lets you update settings like fractional trading or shorting permissions using update_account_configs. You can also create a new broker account when you need one using create_broker_account.
Getting Order History
To see what's going on with your trades, your agent retrieves a list of all your open and closed trading orders using get_orders.
Authentication
If your agent needs to talk to Alpaca, you'll have to issue an OAuth2 token first by calling issue_token.
How Alpaca Trading MCP Works
- 1 First, subscribe to the server and provide your Alpaca API Key ID and Secret Key.
- 2 Next, your AI client sends a request (e.g., 'What were AAPL's quotes last week?'). The agent determines which tools are needed.
- 3 The agent calls the tools (like
get_stocks_bars) sequentially, gets the data, and presents the final answer to you.
The bottom line is: your AI client handles the entire sequence of calls, taking your request and translating it into actionable financial data or executed orders.
Who Is Alpaca Trading MCP For?
Quantitative analysts, retail investors, and developers who need to manage financial data and execute trades without switching between specialized dashboards. This is for anyone whose job requires monitoring multiple asset classes (stocks, crypto) and making decisions based on real-time market data.
Automates the execution of complex, multi-asset strategies and fetches deep historical data for backtesting analysis.
Checks portfolio status and places quick, simple trades using conversational commands instead of clicking through web forms.
Integrates live financial market data and trading capabilities into a coding environment for application features.
What Changes When You Connect
- Place orders instantly. Use
create_orderto issue market, limit, or stop orders for both stocks and crypto. No more manually logging into a separate trading platform to execute a trade. - Access all market data. Tools like
get_stocks_barsandget_crypto_barslet you pull historical price data for backtesting, all while staying in your chat window. - Track trades easily. Use
get_ordersto query your entire order history with filters for status, symbol, and time frame. You get a full picture without digging through dashboards. - Keep your account current. Use
update_account_configsto change settings—like enabling shorting or fractional trading—without navigating complex account menus. - See real-time movement. Call
get_latest_stocks_quotesto get the current bid/ask spread on a stock, allowing immediate decision-making right when you need it.
Real-World Use Cases
I need to backtest a crypto strategy.
A quant trader needs to see how BTC/USD performed over the last six months. They ask their agent, and the agent calls get_crypto_bars to retrieve the historical data. The trader then runs the analysis on the returned data set, solving the problem without downloading files.
I need to place a quick stock trade.
A retail investor sees a stock drop and wants to buy 50 shares of MSFT immediately. They tell their agent, and the agent calls create_order for a market buy. The investor gets instant confirmation and the order ID.
I need to check my order status.
An operations manager wants to know if a limit order for NVDA filled yesterday. They ask the agent to run get_orders, filtering by date and status. The agent reports the status and execution price.
I need to integrate this data into a script.
A developer wants to use live stock quotes in a Python script. They connect their agent to the MCP and use get_latest_stocks_quotes to pull the data, feeding it directly into their code environment.
The Tradeoffs
Fetching everything at once
Asking for all orders over the last five years without filtering or pagination. The agent tries to run a single query that times out, giving you nothing.
→
Always use get_orders with specific filters for timeframes and statuses. If you need bulk data, run smaller, segmented calls, or use get_stocks_bars with defined start/end dates.
Treating data as static
Using old, manually saved quotes for a live decision. You get stale data and make a bad trade.
→
Use get_latest_stocks_quotes or get_latest_stocks_trades to pull real-time market data before making any decision. Always check the current bid/ask spread.
Forgetting account limits
Trying to place a large order without checking if your account supports shorting or fractional shares. The order fails silently.
→
Before trading, check your limits using update_account_configs or get_broker_account to ensure your account supports the desired actions.
When It Fits, When It Doesn't
Use this if your workflow involves a sequence of financial actions: 1) Checking market data (e.g., get_stocks_bars or get_crypto_bars); 2) Checking account limits (e.g., update_account_configs); and 3) Executing a trade (e.g., create_order). It's built for multi-step financial automation.
Don't use this if you just need to read a single, isolated piece of information (like a single quote). For that, a dedicated data retrieval tool might be cleaner. If you only need to list assets, get_assets works fine, but if you need to execute or track history, this server is necessary.
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Alpaca. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This server provides 14 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.
Available Capabilities
Checking your portfolio status used to mean jumping through half a dozen tabs.
You open your brokerage website. You click 'Dashboard,' then click 'Orders,' and then you have to filter by 'Status' and 'Date Range.' If you want to know if a specific limit order filled, you're clicking, copying data, and piecing together a picture in a spreadsheet. It takes time and you're guaranteed to miss something.
With the Alpaca Trading MCP Server, you just tell your agent, 'Show me all my closed orders for NVDA last week.' The agent runs `get_orders`, pulls the data, and hands you a clean summary. You get the answer without the clicks.
Alpaca Trading MCP Server: Execute trades and manage assets from chat.
You used to place a trade by logging into a separate site, finding the symbol, manually entering the quantity, and clicking 'Submit.' Then you had to log back in to check if it went through. It was slow, and you were always fighting latency.
Now, you tell your agent, 'Buy 10 shares of AAPL at market price.' The agent calls `create_order` and handles the entire transaction flow. It's a single, conversational action. That's the difference.
Common Questions About Alpaca Trading MCP
How do I use the `create_order` tool? +
You tell your agent to create the order. You specify the action (buy/sell), the symbol, the quantity, and the type (market/limit). The agent handles the API call and confirms the order ID.
What data does `get_crypto_bars` provide? +
get_crypto_bars fetches historical price bars for crypto. You must specify the cryptocurrency pair and the time frame you want the data for.
Can I check my account limits with `update_account_configs`? +
Yes, you can check and update configurations like fractional trading or shorting permissions using this tool. The agent will validate your request against your current account rules.
What is the difference between `get_stocks_bars` and `get_stocks_quotes`? +
get_stocks_bars provides historical candle data (OHLCV) for stocks. get_stocks_quotes provides historical snapshots of the best bid and ask prices for stocks.
How do I list all tradable assets using `get_assets`? +
Simply ask your agent to run get_assets. It returns a list of every symbol you can trade on the Alpaca exchange.
How do I check my current order history with the `get_orders` tool? +
The get_orders tool retrieves all your open and closed orders. You can filter the results by status, symbol, or a specific date range to narrow down your history.
What is the purpose of the `delete_all_orders` tool? +
The delete_all_orders tool cancels every open order associated with your account. It returns a 207 Multi-Status, confirming which orders were successfully removed.
How does the `get_broker_account` tool help me manage my finances? +
The get_broker_account tool fetches your account details, including current balances and configurations. This lets your agent confirm your available capital before executing a trade.
Can I place a trade for a specific dollar amount instead of shares? +
Yes, you can use the notional parameter in the create_order tool to specify the dollar amount you wish to trade for fractional-enabled assets.
How do I see only my open orders for a specific stock? +
Use the get_orders tool and set the status to 'open' and provide the ticker in the symbols parameter.
Can I cancel all my pending orders at once if the market moves against me? +
Absolutely. Use the delete_all_orders tool to instantly cancel all open orders in your account.
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
More in this category
Gusto
Manage employees, run payroll, view benefits and time-off policies — HR automation for AI agents.
MoonClerk
Accept recurring and one-time payments with beautifully designed checkout pages that embed anywhere on your website.
Marqeta
Issue cards, manage users, and process payments via Marqeta's modern card issuing platform.
You might also like
BrowserStack
Automate testing via BrowserStack — manage projects, track test builds, fetch session logs, and monitor execution pipelines from any AI agent.
Airbrake
Catch application errors in real time, track performance bottlenecks, and keep your codebase healthy with proactive monitoring.
TestMonitor
List QA projects, extract test runs, read user assignments, and fetch tracked issues strictly from your AI chat.