Enterprise DNA
M MCP Servers Developer low

laukikk/alpaca-mcp

by Various

MCP for the Alpaca trading API to manage stock and crypto portfolios, place trades, and access market data

L

MCP

laukikk/alpaca-mcp

Added 1 June 2026

Overview

A Python-based MCP server that wraps the Alpaca trading API, enabling LLMs to manage stock and crypto portfolios, place trades, and retrieve market data. It exposes Alpaca endpoints as tool calls for automated trading workflows.

Best for

Best for
Developers building AI agents that need programmatic access to Alpaca trading functionality

Use cases

  • Build a conversational agent that can check portfolio balances and recent trades
  • Automate trade execution based on natural language instructions from a user
  • Integrate real-time market data queries into an AI assistant for financial analysis

How to use

Install

npx -y @smithery/cli install @laukikk/alpaca-mcp --client claude

Tools exposed

  • get_account_info_tool
  • place_market_order
  • place_limit_order
  • place_stop_order
  • place_stop_limit_order
  • cancel_order
  • close_position
  • get_portfolio_summary

Tested with

Claude Desktop

Example client config

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

Notes

A Python-based MCP server that wraps the Alpaca trading API, enabling LLMs to manage stock and crypto portfolios, place trades, and retrieve market data. It exposes Alpaca endpoints as tool calls for automated trading workflows.

32 stars on GitHub. Last updated 2025-07-14. Licensed MIT.

Use cases

  • Build a conversational agent that can check portfolio balances and recent trades
  • Automate trade execution based on natural language instructions from a user
  • Integrate real-time market data queries into an AI assistant for financial analysis

Pros

  • Directly connects LLMs to a live brokerage API for hands-on trading automation
  • Lightweight Python implementation with a clear MCP interface
  • Supports both stocks and cryptocurrencies in a single tool

Cons

  • Low community adoption (32 stars) may mean limited support and fewer examples
  • Requires users to have an Alpaca account and API keys, adding setup friction
  • No built-in risk management or trade validation beyond what Alpaca provides

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Directly connects LLMs to a live brokerage API for hands-on trading automation
  • Lightweight Python implementation with a clear MCP interface
  • Supports both stocks and cryptocurrencies in a single tool

Cons

  • Low community adoption (32 stars) may mean limited support and fewer examples
  • Requires users to have an Alpaca account and API keys, adding setup friction
  • No built-in risk management or trade validation beyond what Alpaca provides

Pairs with

Other entries in the index that connect to this one. Click through to see the chain.

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks