Alpaca MCP server
MCP server by MardiantoS Verified · gh:mardiantos
A Model Context Protocol (MCP) server implementation for Alpaca trading that enables Large Language Models (LLMs) like Anthropic Claude to interact with Alpaca's trading API. The instructions and commands provided in this README are primarily for MacOS/Linux users.
Install Alpaca MCP server
Built from the published package, never by AI.
claude mcp add alpaca-mcp-server -- uvx alpaca-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"alpaca-mcp-server": {
"command": "uvx",
"args": [
"alpaca-mcp-server"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"alpaca-mcp-server": {
"command": "uvx",
"args": [
"alpaca-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"alpaca-mcp-server": {
"command": "uvx",
"args": [
"alpaca-mcp-server"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add alpaca-mcp-server -- uvx alpaca-mcp-server{
"mcpServers": {
"alpaca-mcp-server": {
"command": "uvx",
"args": [
"alpaca-mcp-server"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add alpaca-mcp-server uvx alpaca-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the alpaca-mcp-server block.
Alternatives to Alpaca MCP server
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
Alpaca MCP server: common questions
How do I install Alpaca MCP server?
In Claude Code run claude mcp add alpaca-mcp-server -- uvx alpaca-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Alpaca MCP server the official server?
Alpaca MCP server is published by gh:mardiantos from its verified domain in the official MCP Registry.
Is Alpaca MCP server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Alpaca MCP server safe to use?
It scores 29 of 100. Grades: maintenance F, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Alpaca MCP server?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does Alpaca MCP server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
