Stop watching the markets.

Turn your words into action with Alpaca’s MCP Server

Ask. Build. Analyze. Automate. Execute. All inside your favorite AI interface powered by Alpaca’s Trading API.

 
Diagram showing how the Alpaca MCP Server connects to AI chat tools and IDEs

Research, Decide, and Trade in One Flow

Ask AI to analyze news, check portfolio P/L, and place an order in a single interface, no tab-hopping or scripting required. Stay in the flow while AI handles the heavy lifting.

Full Visibility Into Every AI Driven Trade

See every prompt, parameter, and order payload before anything goes to market. You get AI-powered reasoning with full control and auditability.

Natural Language Access to Market and Strategy

Trade fractional equities, crypto, ETFs, and multi-leg options (spreads, condors) with natural language commands. Pull live or historical market data, corporate actions, and portfolio details without writing code.

Test in Paper Mode, Go Live When You Are Ready

Try any workflow with $100K in simulated funds and real market data. When you’re ready, switch to live trading by just updating your API keys.

Want to build your algos with code instead?

Learn more
An example of code using Alpaca's API

Connect with the AI tools you use

Our MCP Server reinvents the trading experience by supporting leading AI platforms

Claude Desktop

Claude Desktop

Trade and pull market data inside Claude

Install in Claude Desktop

Claude Mobile

Claude Mobile

Trade hands-free using voice or text commands from your phone

Install in Claude Mobile

ChatGPT

ChatGPT

Place trades and view portfolio in ChatGPT

Install in ChatGPT

Cursor

Cursor

Choose AI models and Build trading algorithms inside your Cursor

Install in Cursor

Visual Studio Code

Visual Studio Code

Trade and build algos with Copilot in VS Code

Install in Visual Studio Code

PyCharm

PyCharm

Code, test, and trade Python strategies with PyCharm AI assistant

Install in PyCharm

Claude Code

Claude Code

Use Claude to generate and execute trades in the command line

Install in Claude Code

Gemini CLI

Gemini CLI

Run Gemini powered trading commands from your terminal

Install in Gemini CLI

More coming soon

More coming soon

Frequently Asked Questions

What is Alpaca’s MCP Server?
Alpaca’s MCP Server lets you connect AI chat apps, AI CLIs, or IDEs to Alpaca’s Trading API so you can research markets, analyze data with AI, and place trades using natural language instead of code.
How does Alpaca’s MCP Server work?
The server translates your AI prompt into structured API requests and sends them to the Alpaca’s Trading API. It also formats the responses so your AI tool can display market data, portfolio details, and order results clearly.
What do I need to use Alpaca’s MCP Server?
You only need four things to get started:
  • Python 3.10 or higher
  • The uv package manager
  • Alpaca’s Trading API keys
  • An MCP compatible client such as an AI chat app, AI CLI, or IDE
You can find setup instructions in the Alpaca’s MCP Server GitHub repository.
I am new to Alpaca. Where do I start?
Create a free Alpaca’s Trading API account, then generate your API keys from the dashboard. Store them securely, and use them to authenticate your AI tool with the MCP Server.
How much money do I need to start trading?
There is no minimum deposit requirement. You can open a live account for free or start in paper trading mode with simulated funds.
Where can I find documentation?
Full setup, usage, and examples are available in the Alpaca’s MCP Server GitHub repository.
Can I paper trade with Alpaca’s MCP Server?
Absolutely, try your trading workflow with simulated $100K fund. We offer step by step onboarding resources to get you started and paper trading quickly here.
Where can I share feedback or get support?
For technical questions or feature requests, open an Issue or Pull Request in the GitHub repo. For general support, contact us at [email protected].
What is Alpaca's Privacy Policy?
Alpaca processes and transmits data in accordance with our Privacy Policy. You can review additional disclosures in the Alpaca Disclosure Library.

Want to host the Alpaca’s MCP Server remotely?

Learn more