$ timeahead.in
/ servers/pypi/alpaca-mcp-server
pypi

alpaca-mcp-server

Alpaca’s official MCP Server lets you trade stocks, ETFs, crypto, and options, run data analysis, and build strategies in plain English directly from your favorite LLM tools and IDEs

882 stars6k/wkupdated 0d agogithub ↗
54poor
▣ Overview

What it does

This is Alpaca's official MCP server for trading. It exposes trading APIs (stocks, ETFs, crypto, options) as natural-language tools, letting you execute trades, fetch portfolio data, and analyze markets through Claude, Cursor, or VS Code. V2 is a complete rewrite built with FastMCP and OpenAPI spec alignment; it is not backward compatible with V1.

Who it's for

Traders and investors who want to manage positions and analyze markets from their IDE without switching tools. Also useful for developers building trading bots or portfolio dashboards that integrate with Alpaca's APIs.

Common use cases

  • Query live market prices and portfolio holdings from Claude
  • Place stock or options trades via natural-language instructions
  • Fetch and analyze historical price data for technical analysis
  • Build paper-trading strategies and backtest ideas through conversation
  • Monitor account status and positions across multiple asset classes

Setup pitfalls

  • V2 is not backward compatible with V1 — tool names and schemas differ. Update your MCP client config, restart it, and start a new session so the LLM discovers current tools.
  • The scanner detected 16 secrets in the repository; use paper trading or sandbox accounts only and never hardcode live credentials in version control.
  • Requires Alpaca API keys provided via environment variables in your MCP client config, not version-controlled files.
  • The server reads the filesystem; run it in a sandboxed container or restricted directory to prevent unintended file access.
17 credentials detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
0
0.0
Freshness
25%
100
25.0
Adoption
20%
74
14.9
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
53.9
⚿ Capabilities & Risk Explainer
fs readnetworkexecsecrets
◆ Risk level: high
fs read + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "alpaca-1": {
      "command": "uvx",
      "args": [
        "alpaca-mcp-server"
      ]
    }
  }
}
📈 Score historylast 46 snapshots
5/10/20267/21/2026 · 46 snapshots
⚙ Maintenance health
36/ 100 · is this project alive?
contributors (1y)13
top contributor share71%
releases (1y)0
ci✓ passing
⛁ Raw data
weekly downloads6k
github stars882
forks258
open issues26
license✓ present
readme length29429 chars
last publish0d ago
last commit0d ago
last updated5d ago
install verified✓ pass · 67d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points