Alpaca Trading

by alpacahq · AI & ML · mcp-server

Integrates with Alpaca trading platform to manage stock and options accounts through paper and live trading environments, enabling order execution, portfolio monitoring, market data retrieval, and watchlist management for algorithmic trading and financial analysis workflows.

This MCP server provides complete Alpaca trading platform integration, enabling AI assistants to manage stock and options trading accounts through paper and live trading environments. Built using Python with the alpaca-py SDK and FastMCP framework, it offers account monitoring with real-time balance and position tracking, comprehensive order management supporting market, limit, stop, stop-limit, and trailing stop orders, historical and real-time market data retrieval including quotes, bars, and trade history, position management with partial and full closure capabilities, watchlist creation and management, and market calendar information with corporate action announcements. The implementation includes proper error handling for API rate limits and trading restrictions, environment variable configuration for secure credential management, and support for both stock and options trading workflows, making it valuable for algorithmic trading development, portfolio management automation, and financial analysis workflows that require programmatic access to brokerage account functionality.

Source: https://github.com/alpacahq/alpaca-mcp-server

Install

git clone https://github.com/alpacahq/alpaca-mcp-server

Tags: mcp-server

573 GitHub stars · Source: pulsemcp

About AI & ML MCP servers and Claude skills

AI & ML MCP servers extend what AI agents can do inside Claude Code, Cursor, Copilot, Codex, and Windsurf. The Skiln directory indexes 16,000+ such integrations across 22 categories.

Alpaca Trading is one of hundreds of AI & ML entries indexed on Skiln. Browse the full AI & ML category or the complete directory of Claude skills, MCP servers, agents, commands, and hooks.

Related AI & ML MCPs and skills

  • Trello by delorenj

    Enables Trello board interactions for task and project management using the Trello REST API.

  • Tree-sitter by wrale

    Provides code analysis capabilities through tree-sitter parsing, enabling structured understanding and manipulation of source code across multiple programming languages for tasks like code review, refactoring, and documentation generation.

  • MCP Reasoner by jacck

    Implements beam search and thought evaluation for structured problem-solving, enabling exploration of multiple solution paths in complex reasoning tasks.

  • BaZi Astrology by cantian-ai

    Provides a bridge to Chinese BaZi astrology calculations, enabling fortune-telling and personality analysis based on birth date and time without specialized knowledge of the complex calculation systems.

  • Flyto Core by flytohub

    Secure execution engine for AI agents with 300+ modules.

  • Perplexity Research Assistant by dainfernalcoder

    Integrates with Perplexity Sonar Pro API to provide real-time research assistance for developers, enabling efficient documentation retrieval, API discovery, and code analysis

  • ImageSorcery by sunriseapps

    Provides powerful image manipulation capabilities including resizing, cropping, object detection, OCR text extraction, and finding objects based on text descriptions using Python with OpenCV and Ultralytics

  • Aider by disler

    Aider MCP Server offloads AI coding tasks to Aider's specialized implementation, reducing costs and enhancing development efficiency through natural language code changes and model selection.

Frequently asked questions

How do I install Alpaca Trading?

Add the install command above to your Claude Code, Cursor, or Windsurf MCP configuration. Most servers register via npx, a local command, or a Docker image. Refer to the source repository for environment variables and credential requirements.

Which clients support Alpaca Trading?

Any MCP-compatible client works: Claude Desktop, Claude Code CLI, Cursor, Windsurf, Zed, and VS Code with the official MCP extension. OpenAI Codex and GitHub Copilot increasingly support MCP via adapter bridges.

Is Alpaca Trading free?

The server itself is typically open source. Any upstream service (API keys, paid tiers, hosted infrastructure) may have its own pricing. Check the source repository for details.