Alpaca MCP Server
About
Interact with Alpaca's market data and brokerage services via its API.
Explore
Setup
Install Alpaca MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/cesarvarela/alpaca-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
Interact with Alpaca's market data and brokerage services via its API.
Expose Alpaca Market Data & Broker API as MCP tools.
To install Alpaca Market Data Server for Claude Desktop automatically viaSmithery:
npx -y @smithery/cli install @cesarvarela/alpaca-mcp --client claude
git clone <repo-url> cd alpaca-mcp npm install
ALPACA_ENDPOINT=https://data.alpaca.markets ALPACA_BROKER_ENDPOINT=https://broker-api.alpaca.markets ALPACA_API_KEY=YOUR_ALPACA_API_KEY ALPACA_SECRET_KEY=YOUR_ALPACA_SECRET_KEY
- start(dev):npm start(runsnpx tsx index.ts)
- build:npm run build(compiles todist/)
- run compiled:node dist/index.js
Once running, the MCP server listens on stdin/stdout. Use any MCP client or the CLI:
npm link # optional alpaca-mcp # starts server globally
- get-assets{ assetClass?: "us_equity" | "crypto" }
- get-stock-bars{ symbols: string[]; start: string; end: string; timeframe: string }
- get-market-days{ start: string; end: string }
- get-news{ start: string; end: string; symbols: string[] }
Each returns JSON incontent[0].textor an error.
To integrate viamcp.config.json, add the following under themcpServerskey:
{ "mcpServers": { "alpaca-mcp": { "command": "npx", "args": [ "-y", "alpaca-mcp" ], "env": { "ALPACA_ENDPOINT": "https://data.alpaca.markets", "ALPACA_BROKER_ENDPOINT": "https://broker-api.alpaca.markets", "ALPACA_API_KEY": "<YOUR_API_KEY>", "ALPACA_SECRET_KEY": "<YOUR_SECRET_KEY>" } } } } ## Publishing bash npm publish
```
Realtime and Historical Exchange Rate Data, FX pairs, bid/ask, OHLC and Crypto prices
Interact with the Alpaca trading API for stock trading, account management, and market data using LLMs.
Provides real-time financial market data using the Alpha Vantage API.
Streams real-time Binance Alpha token prices and liquidity data for AI agents and workflows.
Access Alpha Vantage financial data APIs to get real-time and historical stock data, forex rates, and cryptocurrency information.
Query cryptocurrency prices, market trends, details, and K-line data.
Real-time A-share market signal engine — Phi/Delta/Chi indicators, phase detection, cross-market resonance via MCP. Built for AI agents making investment decisions.
Remote MCP server for historical crypto & prediction-market data: search ~500K instruments, live market stats (OHLC, turnover, spreads, depth, slippage) and tick-data purchase. Keyless for catalog & stats; optional OAuth for account tools. Endpoint: https://cryptostruct.com/mcp
Read-only MCP server for your Evibe investment portfolio + live market data (holdings, performance, dividends, benchmarks, screeners). Works with Claude & ChatGPT.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



