alpaca-mcp MCP Server

A Model Context Protocol (MCP) server that provides an interface to the Alpaca trading API, allowing you to manage your stock and crypto portfolio, place trades, and access market data.

Local serverstdio

What is the alpaca-mcp Server?

alpaca-mcp source profile. From the maintainer documentation: “A Model Context Protocol (MCP) server that provides an interface to the Alpaca trading API, allowing you to manage your stock and crypto portfolio, place trades, and access market data.”

Local setup

The project provides a local client configuration using uv. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_account_info_toolGet current account information
place_market_orderPlace a market order to buy or sell a stock
place_limit_orderPlace a limit order to buy or sell a stock at a specified price
place_stop_orderPlace a stop order to buy or sell a stock when it reaches a specified price
place_stop_limit_orderPlace a stop-limit order combining stop and limit order features
cancel_orderCancel an open order by its ID
close_positionClose an open position for a specific symbol
get_portfolio_summaryGet a comprehensive summary of the portfolio

How to install the alpaca-mcp Server

{
  "mcpServers": {
    "alpaca": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/alpaca-mcp-server",
        "run",
        "src/server.py"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.