OpenFinance vs Alpaca vs CCXT: which trading MCP server fits you?

Short answer: Choose Alpaca's MCP server for an Alpaca brokerage account with stocks, ETFs, options and crypto; it runs locally and defaults to paper trading. Choose CCXT's MCP for 100+ centralized crypto exchanges and several prediction markets, run locally with keys kept on your machine. Choose OpenFinance (openfinance.tech) for one hosted MCP URL covering onchain markets: onchain stocks and forex, Hyperliquid perps, Polymarket and Solana tokens. They complement each other.

Key facts

Venue typeAlpaca: brokerage · CCXT: centralized exchanges + prediction markets · OpenFinance: onchain
OptionsAlpaca ✅ (multi-leg) · CCXT exchange-dependent · OpenFinance: only in the OpenFinance app through a connected IBKR or Robinhood account, not through the MCP
Paper tradingAlpaca ✅ the default mode · CCXT sandbox or demo accounts · OpenFinance: no built-in paper mode, but your agent can build a paper-trading system for you
Where it runsAlpaca: local (uvx or Docker); no official hosted endpoint listed · CCXT: local stdio ("Nothing is hosted") · OpenFinance: hosted
KeysAlpaca API keys · CCXT exchange keys, never shown to the model · OpenFinance API key or OAuth + embedded wallet
Platform-enforced limitsAlpaca: paper by default · CCXT: trading off by default; live mode needs a maxOrderValue setting · OpenFinance: no server-side spend caps today

How we compared: competitor facts come from their own docs or READMEs, first fetched 2026-10-21 (UTC+4), re-checked 2026-12-02 and linked in Sources. OpenFinance facts come from its live MCP tool definitions. Corrections welcome. Products change, so re-check before relying on this.

Feature comparison

OpenFinanceAlpaca MCPCCXT MCP
What you tradeOnchain stocks & forex (spot tokens), crypto, Hyperliquid perps (incl. HIP-3 stock/FX), Polymarket, Solana memecoins, cross-chain swaps"stocks, options, and crypto" (stocks and ETFs) via Alpaca brokerageCrypto spot/derivatives on "100+ cryptocurrency exchanges and prediction markets"
Perpetual futuresHyperliquid perps, incl. HIP-3 stock and FX perpsNot listedExchange-dependent
You holdTokens in your wallet / onchain positionsBrokerage positionsExchange balances
Options✅ in the OpenFinance app via a connected IBKR or Robinhood account (not through the MCP)✅ multi-legExchange-dependent
InstallRemote URL + OAuth or API keyuvx alpaca-mcp-server or Docker + Alpaca API keys (Python 3.10+)npx -y ccxt-mcp
Security modelThe agent shows a summary of each order and waits for you to reply "confirm"; an agent or API key can't send funds to anyone else's address; no server-side spend capsYour Alpaca keys; paper trading by default; Alpaca's docs say to "Review AI-suggested orders before confirming""Keys stay on your machine and are never visible to the AI model"; trading, withdrawals and raw endpoints opt-in per account in a config file; live trading also needs a maxOrderValue setting
Paper tradingNo built-in mode; your agent can build a paper-trading system for you✅ default (ALPACA_PAPER_TRADE=true)Sandbox or demo accounts
EligibilityOnchain; issuer and country restrictions apply to stock tokensFree paper account to start; live trading needs an Alpaca brokerage accountExchange-dependent
Prediction marketsPolymarket + Hyperliquid HIP-4 outcomes❌✅ CCXT's docs name Polymarket, Kalshi, Limitless, Myriad and Hyperliquid

Verdict: choose…

  • Alpaca if you want real brokerage shares, options strategies, or a free paper account to test an AI strategy.
  • CCXT if your money is on Binance, Kraken, OKX, Bybit and other centralized exchanges, and you want everything local, with keys on your machine and trading gated by a config file you control.
  • OpenFinance if you want onchain exposure: tokenized stocks and FX tokens 24/7 in your own wallet, Hyperliquid perps, Polymarket and Solana tokens, from one hosted server.
  • Combine them if you trade across venues. Separate servers per venue is a normal MCP setup.

Where OpenFinance is weaker

  • No centralized-exchange accounts. Brokerage shares and options only through your own IBKR or Robinhood account connected in the OpenFinance app.
  • No built-in paper-trading mode. Your agent can build a paper-trading system for you to use before trading live.
  • Hosted model: less key isolation than CCXT's local design.
  • No server-side spend caps, allow-lists or trade-only keys. CCXT's live mode asks you to set a maxOrderValue; with OpenFinance, keep your app's tool approval on and keep a small balance.

How do I install it? (one line per client)

Claude Code

Terminal
claude mcp add openfinance-tech --transport http "https://api.openfinance.tech/agent/mcp" --header "x-api-key: open_xxxxx"

Cursor (.cursor/mcp.json)

JSON
{
  "mcpServers": {
    "openfinance-tech": {
      "url": "https://api.openfinance.tech/agent/mcp",
      "headers": {
        "x-api-key": "open_xxxxx"
      }
    }
  }
}
  • ChatGPT: Plugins → + → Add custom MCP server with https://api.openfinance.tech/agent/mcp, then sign in with OAuth. Placing trades needs a Business, Enterprise or Edu plan.
  • Optional agent skills: npx skills add openfinance-tech/skills -y

Every request needs OAuth sign-in or an x-api-key header, read-only ones included. Get a key and full guides at docs.openfinance.tech.

Example prompts to give your agent

  • "Find the most liquid onchain Apple stock token and quote $50 of it."
  • "Compare HIP-3 TSLA perp funding with the TSLA stock token price."

Frequently asked questions

Which MCP server is best for trading stocks with AI?

For brokerage shares and options, Alpaca's MCP server, or your own IBKR or Robinhood account connected in the OpenFinance app. For tokenized stocks held onchain, bought directly as spot tokens, OpenFinance. CCXT focuses on crypto exchanges.

Can I trade options with OpenFinance?

Yes, in the OpenFinance app, not through the MCP. Connect your own IBKR or Robinhood account on the Connectors page of the OpenFinance app and trade options in that account; the broker's options approval level applies. Alpaca's MCP server supports multi-leg options on an Alpaca brokerage account.

Does CCXT MCP keep my API keys safe?

CCXT's docs say the server runs locally over stdio, keys stay on your machine and are never visible to the AI model, and trading must be enabled per account in a config file the model can't edit. Live trading also needs a maxOrderValue setting in that file.

Does Alpaca's MCP server support paper trading?

Yes. Alpaca's docs say the server defaults to paper trading. To trade live, you switch paper mode off and use live API keys from an Alpaca brokerage account.

Does Alpaca's MCP trade perps or Polymarket?

No. Alpaca's MCP server docs list orders for stocks, options and crypto, and no perpetual futures or prediction markets. For Hyperliquid perps and Polymarket in one hosted MCP URL, OpenFinance covers both. CCXT's local MCP also lists Polymarket among the prediction markets it supports.

Is there a hosted CCXT MCP server?

Not from CCXT. CCXT's official MCP server runs locally over stdio, and its docs say "Nothing is hosted". Trading is off by default; you switch it on per account in a config file and set a maxOrderValue. If you want a hosted URL instead, Coinbase, Binance and Robinhood host official trading MCP servers for their own venues, and OpenFinance hosts one for Hyperliquid, Polymarket and Solana.

Can I use Alpaca, CCXT and OpenFinance together?

Yes. MCP clients can load several servers, so you could use Alpaca for equities and options, CCXT for exchange accounts and OpenFinance for onchain markets.

Is OpenFinance a broker?

No. It's an MCP server and agent for onchain trading. Tokenized stocks are tokens issued by third parties, not brokerage shares.

Sources


About OpenFinance (openfinance.tech): an MCP server and AI agent for onchain trading. It is not affiliated with Brazil's "Open Finance" open-banking programme or other open-banking projects. Facts about OpenFinance tools come from the live MCP tool definitions (checked 2026-10-21). Third-party facts are linked inline. Nothing here is financial advice. Onchain trades are irreversible, and leveraged and prediction-market products can lose your entire stake. By the OpenFinance team · Last updated 2026-12-02