AITeamGuide

AITeamGuide Hub · MCP server

Alpaca MCP server

Alpaca's official MCP server for trading stocks, ETFs, crypto and options and pulling market data in plain English.

MCP server★ 1k starsMITFinance & accounting

View on GitHub

Key facts

Type
MCP server
Jobs it fits
Place trades; Pull market data
Fields
Finance & accounting
Works with
Claude Desktop, Claude Code, Cursor, VS Code, Any MCP client
GitHub
alpacahq/alpaca-mcp-server
Licence
MIT
Stars
1,029 as of October 21, 2026
Last updated
October 12, 2026 (last push to GitHub)
Author
@alpacahq
Submitted by
@aiteamguide
Added to the Hub
October 21, 2026

Can place real trades. Start with a paper-trading account.

Install / Use it

MITLocal MCP server

Download ZIP View source

Cursor

Add to Cursor

Replace the placeholder values (API keys, tokens) with your own after adding it.

Or paste into ~/.cursor/mcp.json

{
  "mcpServers": {
    "alpaca": {
      "command": "uvx",
      "args": [
        "alpaca-mcp-server"
      ],
      "env": {
        "ALPACA_API_KEY": "your_alpaca_api_key",
        "ALPACA_SECRET_KEY": "your_alpaca_secret_key"
      }
    }
  }
}

Claude Code

Run in your terminal

claude mcp add --transport stdio alpaca --env ALPACA_API_KEY=your_alpaca_api_key --env ALPACA_SECRET_KEY=your_alpaca_secret_key -- uvx alpaca-mcp-server

Replace the placeholder values (API keys, tokens) with your own after adding it.

Claude Desktop

Add to claude_desktop_config.json (Settings → Developer → Edit Config), then restart Claude

{
  "mcpServers": {
    "alpaca": {
      "command": "uvx",
      "args": [
        "alpaca-mcp-server"
      ],
      "env": {
        "ALPACA_API_KEY": "your_alpaca_api_key",
        "ALPACA_SECRET_KEY": "your_alpaca_secret_key"
      }
    }
  }
}

Replace the placeholder values (API keys, tokens) with your own after adding it.

VS Code

Add to VS Code

Replace the placeholder values (API keys, tokens) with your own after adding it.

Or from the command line

code --add-mcp '{"name":"alpaca","type":"stdio","command":"uvx","args":["alpaca-mcp-server"],"env":{"ALPACA_API_KEY":"your_alpaca_api_key","ALPACA_SECRET_KEY":"your_alpaca_secret_key"}}'

Codex

Run in your terminal

codex mcp add alpaca --env ALPACA_API_KEY=your_alpaca_api_key --env ALPACA_SECRET_KEY=your_alpaca_secret_key -- uvx alpaca-mcp-server

Replace the placeholder values (API keys, tokens) with your own after adding it.

Safety: Runs code from a third-party repo. Review the source and the permissions before installing.

Commands and configs are taken from the project's README and re-wrapped in each app's documented format. If they differ, the README wins.

Prefer a ready-made product?

Commercial agents for the same job, with real prices: Ramp, all bookkeeping & finance agents.

More from the Hub

Summary written by AITeamGuide in our own words. GitHub numbers come from the public GitHub API and refresh daily. Maintainer and want a correction or removal? Tell us. Got something similar? Submit it to the Hub.