Alpaca MCP Server

To install Alpaca Market Data Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@cesarvarela/alpaca-mcp):

Local serverstdio

What is the Alpaca MCP Server?

Alpaca MCP connects Alpaca MCP to AI assistants that speak the Model Context Protocol. To install Alpaca Market Data Server for Claude Desktop automatically via Smithery:.

What Alpaca MCP does

To install Alpaca Market Data Server for Claude Desktop automatically via Smithery:

Installing the Alpaca MCP

The server is distributed via npm as @smithery/cli, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 8 environment variables: ALPACA_ENDPOINT, ALPACA_BROKER_ENDPOINT, ALPACA_API_KEY, ALPACA_SECRET_KEY, YOUR_ALPACA_API_KEY, YOUR_ALPACA_SECRET_KEY, YOUR_API_KEY, YOUR_SECRET_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Alpaca MCP sits in that group, and the shape of its toolset — build, get, get-stock among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by cesarvarela.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the Alpaca MCP actually does with your data.

Recorded tools

  • build — npm run build (compiles to dist/)
  • get — assets** { assetClass?: "us_equity" | "crypto" }
  • get-stock — bars** { symbols: string[]; start: string; end: string; timeframe: string }
  • get-market — days** { start: string; end: string }

Setup and compatibility

This listing has no verified copy-paste launch configuration. Use the project documentation to confirm the entry point, runtime and authentication before registering it in your MCP client. A package name or repository alone is not a runnable configuration.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

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
buildnpm run build (compiles to dist/)
getassets** { assetClass?: "us_equity" | "crypto" }
get-stockbars** { symbols: string[]; start: string; end: string; timeframe: string }
get-marketdays** { start: string; end: string }

Configuration

VariableDescriptionRequired
ALPACA_ENDPOINTConfiguration value read at startup.Optional
ALPACA_BROKER_ENDPOINTConfiguration value read at startup.Optional
ALPACA_API_KEYCredential the server authenticates with.Yes
ALPACA_SECRET_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Alpaca MCP to build.”
  • “Use Alpaca MCP to get.”
  • “Use Alpaca MCP to get-stock.”

Frequently asked questions

To install Alpaca Market Data Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@cesarvarela/alpaca-mcp): Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.