What API credentials are required?
You need an Alpaca API key ID and secret key, which can be set in a `.env` file or directly in the `claude_desktop_config.json` environment variables.
@tedlikeskix
Basic information
Model Context Protocol (MCP) server for Alpaca trading API
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"alpaca-mcp-server": {
"command": "python",
"args": [
"alpaca_mcp_server.py"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Alpaca MCP Server is a Model Context Protocol (MCP) server that enables LLMs like Claude to interact with the Alpaca trading API through natural language. It allows trading stocks, checking positions, fetching market data, and managing account information.
Install Python 3.10+, Alpaca API keys, and an MCP client. Clone the repository, install required packages (mcp, alpaca-py, python-dotenv), create a .env file with your API credentials, and run python alpaca_mcp_server.py. Configure Claude for Desktop by adding the server to claude_desktop_config.json with the API keys.
You need an Alpaca API key ID and secret key, which can be set in a `.env` file or directly in the `claude_desktop_config.json` environment variables.
The server uses Alpaca's paper trading by default. To switch to real money trading, change `paper=True` to `paper=False` inside the `TradingClient` initialization.
The README explicitly shows configuration for Claude for Desktop, but the server should work with any MCP client.
After installing dependencies and setting up credentials, run `python alpaca_mcp_server.py` from the project directory.
Yes, the MCP server has access to your Alpaca account and can place real trades. Always review suggestions before approving any trades.

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Hindsight: Agent Memory That Learns
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
Comments