Payments and finance - official Alpaca server
Alpaca MCP server
Local MCP server for Alpaca's Trading and Market Data APIs that lets an agent check account balances and positions, place and manage stock, options and crypto orders, manage watchlists, and query historical and live market data. Version 2 exposes 65 tools and supports filtering them by toolset. It runs locally from alpaca-mcp-server (pypi) with API key auth.
Last verified 15 tools6 sources
Install
Claude Code
About Claude Codeclaude mcp add alpaca --scope user --transport stdio uvx alpaca-mcp-server \
--env ALPACA_API_KEY=your_alpaca_api_key \
--env ALPACA_SECRET_KEY=your_alpaca_secret_keyCursor
About Cursor{
"mcpServers": {
"alpaca": {
"command": "uvx",
"args": ["alpaca-mcp-server"],
"env": {
"ALPACA_API_KEY": "your_alpaca_api_key",
"ALPACA_SECRET_KEY": "your_alpaca_secret_key"
}
}
}
}VS Code
{
"servers": {
"alpaca": {
"type": "stdio",
"command": "uvx",
"args": ["alpaca-mcp-server"],
"env": {
"ALPACA_API_KEY": "your_alpaca_api_key",
"ALPACA_SECRET_KEY": "your_alpaca_secret_key"
}
}
}
}Generic
{
"mcpServers": {
"alpaca": {
"command": "uvx",
"args": ["alpaca-mcp-server"],
"env": {
"ALPACA_API_KEY": "your_alpaca_api_key",
"ALPACA_SECRET_KEY": "your_alpaca_secret_key"
}
}
}
}Tools
get_account_info- Account balances, margin, and status
get_portfolio_history- Equity and P/L over time
get_account_activities- Fills, dividends, transfers
place_stock_order- Stocks/ETFs; market, limit, stop, stop-limit, trailing stop, brackets
place_crypto_order- Crypto; market, limit, stop-limit
place_option_order- Options; single-leg or multi-leg strategies
get_orders- Retrieve orders with filters
cancel_all_orders- Cancel all open orders
get_all_positions- All current positions
close_position- Close a specific position (full or partial)
create_watchlist- Create a new watchlist
get_option_contracts- Option contracts for underlying symbol(s)
get_stock_bars- Historical OHLCV bars
get_option_chain- Full option chain for an underlying
get_news- News articles for stocks and crypto
As documented on October 17, 2026. A running server reports its current list through tools/list.
Notes and caveats
- Requires Python 3.10+ and uv.
- Defaults to paper trading; set ALPACA_PAPER_TRADE=false with live keys for real-money trading.
- V2 is a full rewrite with no backward compatibility with V1 tool names (V1 can be pinned via alpaca-mcp-server==1.x.x).
- Streamable HTTP mode binds to localhost and the package does not configure MCP OAuth, so Alpaca warns against exposing it to the public internet.
- Some real-time data needs an Algo Trader Plus subscription.
- Docker image is built locally from the repo, not published.
More MCP servers for payments and finance
- AlpacaStatus: Beta
Alpaca Broker API MCP server
Hosted MCP server for Alpaca's Broker API that lets broker partners look up accounts, positions, transfers and activity, discover and call Broker API endpoints via search/get_schema/execute, and look up Alpaca docs. Sandbox exposes write operations including synthetic account creation; live is read-only.
Transport: Streamable HTTPAuth: OAuth - AdyenStatus: Preview
Adyen MCP server
Local MCP server that lets an LLM client call Adyen Checkout, Management, Configuration and Legal Entity Management APIs through function calling, for tasks such as creating payment sessions and links, refunds and cancellations, and managing terminals, webhooks and users.
Transport: stdioAuth: API key - BrexStatus: Beta
Brex MCP server
Hosted MCP server that lets AI assistants work with a Brex account: list and update expenses, look up users and cards, review business banking transactions, bills, vendors, accounting records and travel, and ask company spend questions.
Transport: Streamable HTTPAuth: OAuth or API key - Coinbase
Agentic Wallet MCP server
Local MCP server installed via `npx @coinbase/payments-mcp` that gives an AI agent a Coinbase wallet to check balances, discover x402 services in the Bazaar and pay for API calls in USDC within user-set spending limits.
Transport: stdioAuth: Other - Coinbase
CDP MCP server
Local MCP server started with `cdp mcp` that exposes every Coinbase Developer Platform API operation (EVM and Solana accounts, onchain data, policies, onramp, x402) as typed tools generated from the embedded OpenAPI spec.
Transport: stdioAuth: API key - Coinbase
Coinbase MCP server
Remote MCP server that connects AI apps to a Coinbase account for spot crypto, US derivatives and equities trading, portfolio management, conversions and x402 payments for premium data.
Transport: Streamable HTTPAuth: OAuth
Related reading
- What's New in Mastra (Late 2026): Harness, AgentController GA, Eval Gates and MCP 2.xMastra in late 2026: goals, schedules, signals, AgentController GA, eval gates and MCP 2.x, with type-checked TypeScript examples and honest tradeoffs.
- MCP vs A2A vs Function Calling: Which Layer Does What in 2026MCP vs A2A vs function calling compared on the 2026-07-28 MCP spec and A2A 1.0: what each protocol does, where they overlap, and how to stack them.
- Pydantic AI V2 in Late 2026: Capabilities, Graphs, Evals and MCPPydantic AI V2 explained through v2.57.0: capabilities, typed output, Conversation storage, caching, graphs, evals, MCP Apps and Logfire, with checked code.
- Reverse Engineer Anything (REA): What the MCP Server Does and Where the Line IsREA (Reverse Engineer Anything) is an MIT-licensed MCP server that lets Claude Code, Codex or Cursor inspect binaries, Electron apps and APKs. How to try it.
- Claude Opus 5.5 Built a Browser 3D World: The Higgsfield MCP WorkflowClaude Opus 5.5 and Higgsfield MCP built an interactive 3D Library of Alexandria in the browser. The verified connector setup and where the workflow holds up.
- Pi 1.0 Release Guide: MCP, Codemode and Pi DurablePi 1.0 adds built-in MCP through Codemode, a fullscreen TUI by default and Pi Durable. What changed, how to install it, and what breaks on upgrade.
FAQ
What does the Alpaca MCP server do?
Local MCP server for Alpaca's Trading and Market Data APIs that lets an agent check account balances and positions, place and manage stock, options and crypto orders, manage watchlists, and query historical and live market data. Version 2 exposes 65 tools and supports filtering them by toolset. The vendor documents 15 tools, including get_account_info, get_portfolio_history, get_account_activities and place_stock_order.
How do I add the Alpaca MCP server to Claude Code?
Alpaca documents a Claude Code config; copy it from the Claude Code section of this page. Snippets for Cursor, VS Code and Generic are there too.
Does the Alpaca MCP server need authentication?
Yes, API key. Transport: stdio, Streamable HTTP. Status: GA, last checked October 17, 2026.
Sources
Last verified against 6 Alpaca pages, then re-checked independently.
- docs.alpaca.marketshttps://docs.alpaca.markets/us/docs/trading-api-mcp
- docs.alpaca.marketshttps://docs.alpaca.markets/llms.txt
- github.comhttps://github.com/alpacahq/alpaca-mcp-server
- raw.githubusercontent.comhttps://raw.githubusercontent.com/alpacahq/alpaca-mcp-server/HEAD/README.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/alpacahq/alpaca-mcp-server/HEAD/LICENSE
- pypi.orghttps://pypi.org/pypi/alpaca-mcp-server/json
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.