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
- The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCPMCP co-creator David Soria Parra on why 2026 is about agent connectivity: skills, CLIs and MCP together, progressive discovery, programmatic tool calling, a stateless transport and skills over MCP.
- Gateways Are All You Need: How Anthropic Thinks About MCP in the EnterpriseAnthropic's Karan Sampath on why enterprises get stuck with a handful of MCP servers, and how one blessed gateway for auth, access control, routing and observability lets every team ship its own.
- Set Up Factory Droid Properly: AGENTS.md, Skills, Hooks, MCP and PermissionsA configuration guide for Factory Droid: where AGENTS.md, skills, hooks, MCP servers and settings live, what each one is for, and a starter setup you can commit to a repo today.
- Claude Code Just Got Code Mode: Save a Ton of TokensCode Mode lets Claude Code write JavaScript that makes all its tool calls at once and returns only what it needs. A real run: 11 tool calls in one 6 second step.
- Claude Code MCP Tasks: Long-Running Tools That Ask You ThingsClaude Code supports MCP Tasks and elicitations. What a tool call needs to become a task, what v2.1.319 changed for Bedrock and gateways, and what server authors change.
- Claude Security Continuous Scanning: Fix Tracking, API and MCPClaude Security now rescans repos as commits land, marks findings fixed when the fix ships, and adds an API, MCP connector and webhooks. Setup, limits and cost.
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.