Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Alpaca Open API MCP

MCP server by yagop Verified · npm:@alpaca-open-api

Exposes the Alpaca Markets API to AI assistants as MCP tools, covering Trading, Market Data, Broker and AuthX endpoints. Built for developers who want agents to read market data and manage Alpaca accounts.

  • Score 51
  • 0 stars
  • 20 a week
  • MIT
  • Updated

Install Alpaca Open API MCP

Built from the published package, never by AI.

claude mcp add alpaca-open-api-mcp -- npx -y @alpaca-open-api/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Alpaca Open API MCP in Claude Code

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-open-api-mcp block.

About

Alpaca Open API MCP is a Model Context Protocol server for the Alpaca Markets API. It registers every Alpaca operation as an alpaca_<operationId> tool, covering Trading, Market Data, Broker and AuthX. The package is @alpaca-open-api/mcp and runs through npx. The tools are generated from the OpenAPI specs with Orval.

Tools are grouped into toolsets set by the ALPACA_TOOLSETS variable. By default the trading and data toolsets are enabled, giving 101 tools. Setting all four toolsets exposes 256 tools. The server defaults to live trading, so paper keys and ALPACA_ENV=paper are recommended for testing. The project is unofficial and not affiliated with Alpaca. It suits developers building AI agents that need market data or account access.

Written from the project's README and checked against it.

Tools it gives your assistant

  • alpaca_getAccountReturns account details such as equity, cash and buying power.
  • alpaca_stockLatestQuoteSingleGets the latest quote for a single stock symbol.
  • alpaca_postOrderPlaces an order, for example a market buy. Can place real orders on live accounts.
  • getAllOpenPositionsLists the open positions in the account.
  • stockBarsReturns price bars for a stock, such as daily candles.
  • stockSnapshotsReturns current stock snapshots, including last trade prices.
  • cryptoSnapshotsReturns crypto snapshots, such as BTC and ETH prices.
  • newsReturns market news stories, optionally for a symbol.
  • optionChainReturns an option chain with quotes and greeks.
  • getAccountActivitiesLists account activities such as fills, fees and deposits.

What you need

  • Alpaca API key and secret
  • npx (npm) installed
  • Paper keys for testing, since live and paper keys are different

Try asking

  • Show my Alpaca account equity, cash and buying power.
  • Get the latest NVDA quote and its last 9 daily bars.
  • List my open positions and their profit or loss.

Good to know

  • Defaults to live trading and can place real orders.
  • Allows all verbs in enabled toolsets, including order placement.
  • Unofficial community project, not affiliated with or endorsed by Alpaca.
  • Default toolsets expose 101 tools. The full 256-tool set needs ALPACA_TOOLSETS changed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Alpaca Open API MCP

All alternatives →
mcp stripe
96

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.

AAA Remote 2.1k
TradingMCPatilaahmettaner
94

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.

AAA Remote 5.4k
CCXTccxt
94

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.

AAA Local 45k
Finance ToolkitJerBouma
94

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.

AAA Local and remote 5.6k
Vapi Network MCP vAPI-Network
94

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.

AAA Local 6.2k
Finance DatabaseJerBouma
94

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.

AAA Local and remote 9.7k

Compare with mcp, TradingMCP or CCXT

Alpaca Open API MCP: common questions

Does it place real trades?

It can. The server defaults to live, and the postOrder tool can place real orders. Set ALPACA_ENV=paper to trade against the paper account.

Which Alpaca APIs does it cover?

Trading, Market Data, Broker and AuthX. Each operation is registered as its own alpaca_<operationId> tool.

Is it an official Alpaca project?

No. The project describes itself as unofficial and community-built, and not affiliated with or sponsored by Alpaca.

How do I install Alpaca Open API MCP?

In Claude Code run claude mcp add alpaca-open-api-mcp -- npx -y @alpaca-open-api/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Alpaca Open API MCP the official server?

Alpaca Open API MCP is published by npm:@alpaca-open-api from its verified domain in the official MCP Registry.

Is Alpaca Open API MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Alpaca Open API MCP safe to use?

It scores 51 of 100. Grades: maintenance C, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Alpaca Open API MCP?

Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.

Does Alpaca Open API MCP 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.

Alpaca Open API MCP Install

Add to stack

Loading.