# Alpaca MCP connector

The Alpaca connector brings live and historical stock and crypto market data, news, and top movers into Claude, ChatGPT, Cursor, Microsoft Copilot, and the Elaichi Agent, so anyone on your team can ask about prices in plain language.

Source: https://elaichi.ai/connectors/alpaca/

## Facts

| | |
| --- | --- |
| Application | Alpaca |
| Category | Banking |
| AI tools | 74 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once Alpaca is connected

- Show me latest quotes for AAPL, MSFT and NVDA.
- Compare daily bars for SPY over the last two weeks.
- List crypto trades for BTC/USD from this morning.

## Connect Alpaca in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Alpaca.
2. Optionally set Share with, then press Connect.
3. Paste an Alpaca API key. One person generates a token in Alpaca and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Alpaca tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Alpaca MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Alpaca MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. In a terminal, run `claude mcp add` with the endpoint.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Alpaca MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Alpaca MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Alpaca MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Alpaca to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Alpaca tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Alpaca through Elaichi

### Check a price before the desk decides

Trading. Ask for the latest quote and trade on a ticker, plus the current bid and ask spread, and get the numbers back in the conversation before anyone commits.

### Pull a week of bars for a chart

Research. Request daily or intraday bars for a list of stocks over any date range and have the agent summarize the move, the range, and the volume without opening a spreadsheet.

### Mark the portfolio at today's prices

Finance. Fetch a snapshot for every holding at once and let the agent tally the day's change across the book for the morning update.

### Draft the market recap from live movers

Content. Ask for today's biggest gainers and losers and the latest Alpaca news on them, then have the agent draft the newsletter paragraph.

### Answer a client's question about a ticker

Client services. When a client asks why a stock dropped, pull the recent trades, the news headlines, and the day's snapshot in one ask and reply with a clear explanation.

### Compare crypto prices across venues

Product. Ask for the best bid and offer across exchanges for a coin and the latest crypto bars, so the team can see where liquidity sits before a launch.

## Elaichi vs Zapier MCP vs Composio for Alpaca

All three can connect Alpaca to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Alpaca tools | Allow or restrict single Alpaca tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Alpaca call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Alpaca to Claude?

Connect Alpaca in Elaichi first by pasting your Alpaca API key when prompted. There is no OAuth application to register and no client ID or secret to generate. Then in Claude go to Customize, then Connectors, then Add, and paste the endpoint https://api.elaichi.ai/mcp. Sign in to Elaichi as yourself and Alpaca market data is available in Claude.

### Does Alpaca work with ChatGPT and Cursor as well as Claude?

Yes. Once Alpaca is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, Microsoft Copilot, any other MCP client, and the Elaichi Agent. You connect Alpaca once and every client picks it up.

### What can an AI agent actually do with my Alpaca data?

With Alpaca connected, an agent can look up the latest quote, trade, and snapshot for a stock or crypto pair, pull historical bars over any date range, show the spread between bid and ask, list today's top movers, and read recent market news. Because Alpaca has a large set of actions, short concrete asks such as "latest quote for AAPL" work better than long sentences. The agent finds the right action and returns the numbers in the conversation.

### Does connecting Alpaca give the AI access to everything in my account?

No. The agent can only reach what the Alpaca API key you connected can reach, and this connector covers market data such as bars, quotes, trades, snapshots, news, and movers. Elaichi can narrow that further with restrictions, but it can never widen it beyond what the connected Alpaca key allows.

### Can my team share one Alpaca connection?

Yes. One person connects Alpaca with their API key and shares the connection with a team in Elaichi. Nobody else ever sees or handles the key, and each teammate still signs in to Elaichi as themselves, so the audit log names the person who asked for each Alpaca quote or bar.

### Can I stop an agent from deleting or changing things in Alpaca?

The Alpaca connector in Elaichi reads market data, so its actions look up bars, quotes, trades, snapshots, news, and movers rather than placing orders or editing anything. Restrictions still apply per action, so you can switch off any Alpaca action you do not want used. A restricted action still appears in Elaichi's tool search, flagged as restricted, but Claude, ChatGPT, Cursor or Microsoft Copilot cannot run it, whatever the prompt says.

### What happens to an Alpaca connection when someone leaves?

Offboarding a person in Elaichi ends their access to Alpaca at once, in every client they used. If the Alpaca connection was shared with a team, it keeps working for everyone else. Disconnecting Alpaca once in Elaichi removes it from Claude, ChatGPT, Cursor, Microsoft Copilot, and every other client at the same time.

### Does the Alpaca MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Alpaca is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Alpaca?

Yes. Both let Claude, ChatGPT or Cursor use Alpaca. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Alpaca call.

### How is Elaichi different from Composio for Alpaca?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Alpaca: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 74 Alpaca tools

Every tool below is callable through https://api.elaichi.ai/mcp once Alpaca is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all Alpaca stocks bars** (List). List aggregate historical OHLCV bar data for multiple stock symbols in Alpaca over a specified time period. Returns bars keyed by symbol, each with t (timestamp), o (open), h (high), l (low), c (close), v (volume), n (trade count), and vw (volume-weighted average price). Required: symbols.
- **List all Alpaca stock bars** (List). List aggregate historical bars for a single stock symbol in Alpaca. Returns: bars, symbol. Required: symbol.
- **List all Alpaca stocks trades** (List). List historical trade data for multiple Alpaca stock symbols over a specified time period. Returns: trades, next_page_token. Required: symbols.
- **List all Alpaca stock trades** (List). Trades. Required: symbol.
- **List all Alpaca stocks quotes** (List). List NBBO quotes for multiple Alpaca stock symbols over a specified time period. Returns the quotes object — a map of symbol to arrays of NBBO quote objects including t, ax, ap, as, bx, bp, bs, c, z — plus next_page_token. Required: symbols. Results sorted by symbol then timestamp; the first page may contain only one symbol if it fills the page limit.
- **List all Alpaca stock quotes** (List). List NBBO quotes for a single stock symbol in Alpaca. Returns: t, ax, ap, as, bx, bp, bs, c, z. Required: symbol.
- **List all Alpaca stocks snapshots** (List). List snapshots for multiple stock symbols in Alpaca, providing the latest trade, latest quote, minute bar, daily bar, and previous daily bar for each requested ticker. Returns: latestTrade, latestQuote, minuteBar, dailyBar, prevDailyBar. Required: symbols.
- **List all Alpaca stock snapshots** (List). Get a market data snapshot for a single Alpaca stock symbol, including the latest trade, latest quote, minute bar, daily bar, and previous daily bar. Returns: symbol, latestTrade, latestQuote, minuteBar, dailyBar, prevDailyBar. Required: symbol.
- **List all Alpaca crypto trades** (List). List historical crypto trades from Alpaca's US crypto venue (v1beta3) for one or more pairs (BASE/QUOTE, e.g. BTC/USD) between start and end. Returns trades keyed by symbol with t, p (price), s (size), i (id), tks (taker side); paginates with next_cursor. Required: symbols.
- **List all Alpaca crypto bars** (List). List historical crypto bars (OHLCV aggregates) from Alpaca's US crypto venue (v1beta3) for one or more pairs between start and end at the given timeframe. Symbols use BASE/QUOTE form such as BTC/USD. Returns bars keyed by symbol with t, o, h, l, c, v, n, vw; paginates with next_cursor. Required: symbols, timeframe.
- **List all Alpaca crypto quotes** (List). List historical crypto quotes (best bid and ask) from Alpaca's US crypto venue (v1beta3) for one or more pairs (BASE/QUOTE, e.g. BTC/USD) between start and end. Returns quotes keyed by symbol with t, bp, bs, ap, as; paginates with next_cursor. Required: symbols.
- **List all Alpaca crypto snapshots** (List). Get snapshots for one or more crypto pairs (BASE/QUOTE, e.g. BTC/USD) from Alpaca's US crypto venue (v1beta3): latest trade, latest quote, latest minute bar, latest daily bar and previous daily bar per symbol. Required: symbols.
- **List all Alpaca news** (List). List latest news articles across stocks and crypto from Alpaca. Returns articles with id, headline, author, created_at, updated_at, summary, content, url, images, symbols, and source. By default returns the latest 10 articles.
- **List all Alpaca movers** (List). List top market movers (gainers and losers) by market type from Alpaca. Returns: gainers, losers, market_type, last_updated. Required: market_type. The optional top parameter controls how many of each to fetch (maximum 50, defaults to 10).
- **List all Alpaca logos** (List). Get the logo image for a crypto or stock symbol from Alpaca. Returns the requested logo as a binary image file (e.g., PNG, SVG). When placeholder is true (the default), Alpaca generates a placeholder image if no logo is found for the symbol; a 404 is only returned when placeholder is false. Required: crypto_or_stock_symbol.
- **List all Alpaca meta exchanges** (List). List the stock exchanges supported by Alpaca. Returns a map of exchange short-form codes (A, B, C, N, Q, V, etc.) to their respective full names.
- **List all Alpaca meta conditions** (List). List Alpaca trade and quote condition codes mapped to plain text descriptions for a given condition type and tape. Returns a JSON object mapping condition codes (e.g. " ", "4", "F") to description strings. Required: type, tape.
- **Alpaca assets list trading** (List). List Alpaca assets available for trade and data consumption, sorted by asset class, exchange and symbol. Returns: id, issuer, network. Filter by status, asset_class, exchange, and attributes.
- **Alpaca assets get trading** (Get). Get a single Alpaca asset by symbol, asset_id or CUSIP for US equities. Returns: id, issuer, network. Required: asset_id.
- **List all Alpaca corporate actions announcements** (List). List corporate actions from Alpaca market data (GET /v1/corporate-actions): dividends, splits, mergers, spin-offs, name changes and more, filtered by symbols, cusips, types, ids and a process_date range. Returns corporate_actions grouped by type; paginates with next_cursor. Replaces the retired /v1/corporate_actions/announcements endpoint.
- **List all Alpaca account** (List). Get your Alpaca trading account details. Returns: id, account_number, status, cash, equity, buying_power, portfolio_value. No parameters required.
- **Alpaca account get config** (Get). Get the current Alpaca account configuration values controlling trading settings. Returns: disable_overnight_trading, fractional_trading, max_margin_multiplier, max_options_trading_level, no_shorting, ptp_no_exception_entry, suspend_trade, trade_confirm_email.
- **Alpaca account bulk update** (Update). Update Alpaca account configuration settings such as fractional trading, margin multiplier, and options trading level. Returns: disable_overnight_trading, fractional_trading, max_margin_multiplier, max_options_trading_level, no_shorting, ptp_no_exception_entry, suspend_trade, trade_confirm_email.
- **List all Alpaca option contracts** (List). List Alpaca option contracts with filtering by underlying symbol, status, expiration date range, strike price range, type, style, root symbol, and penny-program eligibility. Returns: id, symbol, underlying_symbol, root_symbol, expiration_date, strike_price, type, style, status, deliverables, ppind. Max 10000 contracts per page.
- **Get single Alpaca option contract by ID** (Get). Get a single Alpaca option contract by its symbol or contract ID. Returns the contract object including id, symbol, status, type, style, strike_price, expiration_date, underlying_symbol, root_symbol, ppind, and deliverables. Required: id.
- **Create a Alpaca order** (Create). Create a new order in Alpaca. Returns the created order object including id, client_order_id, status, symbol, qty, side, type, time_in_force, created_at, and submitted_at. Required: type, time_in_force.
- **List all Alpaca orders** (List). List orders in Alpaca filtered by status, symbols, side, asset class, and submission time. Returns an array of order objects with id, client_order_id, status, symbol, qty, side, type, time_in_force, created_at, and submitted_at. Max 500 per page.
- **Alpaca orders delete all** (Delete). Cancel all open orders in Alpaca. Returns an array of objects with id and status for each cancellation attempt.
- **Alpaca orders get by client order ID** (Get). Get a single Alpaca order by its client-assigned order ID. Returns: id, client_order_id, created_at, updated_at, submitted_at, filled_at, expired_at, canceled_at, failed_at, replaced_at, replaced_by, replaces, asset_id, symbol, asset_class, notional, qty, filled_qty, filled_avg_price, order_class, order_type, type, side, time_in_force, limit_price, stop_price, status, extended_hours, legs,…
- **Get single Alpaca order by ID** (Get). Get a single Alpaca order by its server-assigned order ID. Returns: id, client_order_id, created_at, updated_at, submitted_at, filled_at, expired_at, canceled_at, failed_at, replaced_at, replaced_by, replaces, asset_id, symbol, asset_class, notional, qty, filled_qty, filled_avg_price, order_class, order_type, type, side, time_in_force, limit_price, stop_price, status, extended_hours, legs,…
- **Update a Alpaca order by ID** (Update). Replace a single Alpaca order by id with updated parameters. Returns the new Order object including id, client_order_id, status, symbol, qty, side, type, time_in_force, and created_at. Required: id. qty and notional are mutually exclusive; notional is only valid for IPO indications of interest.
- **Delete a Alpaca order by ID** (Delete). Cancel an open Alpaca order by id. Returns an empty 204 response on success. Required: id. The order must be in a cancelable status; a 422 is returned if the order status is not cancelable.
- **List all Alpaca positions** (List). List all open positions in an Alpaca trading account. Returns: asset_id, symbol.
- **Alpaca positions delete all** (Delete). Close (liquidate) all open long and short positions in an Alpaca account, optionally canceling open orders first. Returns an array of PositionClosed responses, each containing symbol, status, and the order body.
- **Get single Alpaca position by ID** (Get). Get a single open position in an Alpaca account by symbol or asset id. Returns: asset_id, symbol. Required: id.
- **Delete a Alpaca position by ID** (Delete). Close (liquidate) an open position in an Alpaca account by symbol or asset id, optionally specifying a quantity or percentage to liquidate. Returns the order created to close the position including id, symbol, qty, side, and status. Required: id. qty and percentage are mutually exclusive.
- **Alpaca positions exercise option** (Action). Exercise an options position in an Alpaca account by contract symbol or ID. Returns: message. Required: symbol_or_asset_id.
- **Alpaca positions do not exercise** (Action). Submit a do-not-exercise (DNE) instruction for a held option contract in Alpaca to prevent automatic exercise at expiry. Returns a success confirmation. Required: symbol_or_asset_id.
- **Alpaca account portfolio get history** (Get). Get timeseries equity and profit/loss (P/L) history for the Alpaca account over a requested timespan. Returns: timestamp, equity, profit_loss, profit_loss_pct, base_value, base_value_asof, timeframe. Only two of start, end, and period may be specified simultaneously; intraday timeframes (&lt;1D) are limited to 30 days or less.
- **List all Alpaca watchlists** (List). List all watchlists registered under the account in Alpaca. Returns: id, account_id, name, assets, created_at, updated_at.
- **Create a Alpaca watchlist** (Create). Create a new watchlist in Alpaca with an initial set of asset symbols. Returns the created watchlist object including its id, name, account_id, assets, created_at, and updated_at. Required: name.
- **Get single Alpaca watchlist by ID** (Get). Get a single Alpaca watchlist by its id. Returns the full watchlist object including its id, account_id, name, and the array of assets it contains. Required: id.
- **Update a Alpaca watchlist by ID** (Update). Update the name and/or content of an Alpaca watchlist by id. Returns the updated watchlist object including its id, name, and asset symbols. Required: id. The request body accepts a new watchlist name and a list of asset symbols to replace the current contents.
- **Alpaca watchlists add asset** (Add). Add an asset to an existing Alpaca watchlist by appending its symbol to the end of the watchlist's asset list. Returns the updated watchlist including its id, account_id, name, created_at, updated_at, and assets. Required: watchlist_id, symbol.
- **Delete a Alpaca watchlist by ID** (Delete). Delete an Alpaca watchlist by id. This is a permanent deletion. Returns an empty 204 response on success. Required: id.
- **Alpaca watchlists get by name** (Get). Get an Alpaca watchlist by its name. Returns: account_id, id, name, created_at, updated_at, assets. Required: name.
- **Alpaca watchlists add asset by name** (Add). Add an asset to an Alpaca watchlist identified by name, appending the symbol to the end of the watchlist's asset list. Returns the updated watchlist including account_id, id, name, created_at, updated_at, and assets. Required: name, symbol.
- **Alpaca watchlists delete by name** (Delete). Delete an Alpaca watchlist by name. This is a permanent deletion. Returns an empty 204 response on success. Required: name.
- **Alpaca watchlists remove asset** (Delete). Remove an asset from an Alpaca watchlist by symbol. Returns the updated watchlist including its id, account_id, name, created_at, updated_at, and assets. Required: watchlist_id, symbol.
- **Alpaca watchlists bulk update** (Update). Update the name and/or content of a watchlist in Alpaca by watchlist name. Returns the updated watchlist object including id, account_id, name, created_at, updated_at, and assets. Required: name.
- ...and 24 more tools. Call `tools/list` via the MCP endpoint, or see the full catalog via the API, for the complete set.
