Alpaca Guard MCP Server
by evidaiio.github.evidai/alpaca-guardv0.1.1
Alpaca trading API with hard daily USD cap guard. Paper trading default; live opt-in.
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install Alpaca Guard MCP server
Install in Claude Code
claude mcp add alpaca-guard -e ALPACA_API_KEY='<alpaca-api-key>' -e ALPACA_SECRET_KEY='<alpaca-secret-key>' -- npx -y alpaca-guard-mcpInstall in Cursor
{
"mcpServers": {
"alpaca-guard": {
"command": "npx",
"args": [
"-y",
"alpaca-guard-mcp"
],
"env": {
"ALPACA_API_KEY": "<alpaca-api-key>",
"ALPACA_SECRET_KEY": "<alpaca-secret-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"alpaca-guard": {
"command": "npx",
"args": [
"-y",
"alpaca-guard-mcp"
],
"env": {
"ALPACA_API_KEY": "<alpaca-api-key>",
"ALPACA_SECRET_KEY": "<alpaca-secret-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"alpaca-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"alpaca-guard-mcp"
],
"env": {
"ALPACA_API_KEY": "<alpaca-api-key>",
"ALPACA_SECRET_KEY": "<alpaca-secret-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"alpaca-guard": {
"command": "npx",
"args": [
"-y",
"alpaca-guard-mcp"
],
"env": {
"ALPACA_API_KEY": "<alpaca-api-key>",
"ALPACA_SECRET_KEY": "<alpaca-secret-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| ALPACA_API_KEY | — | yes | Alpaca API key. Leave unset for paper trading mode. |
| ALPACA_SECRET_KEY | — | yes | Alpaca secret key. |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-06-17 · 4mo ago · GitHub
Latest release
2026-05-11 · 5mo ago · GitHub · xstocks-v0.1.0
Package published
no data · npm/PyPI
Registry entry updated
2026-05-16 · 5mo ago · official registry · v0.1.1
FAQ
›How do I install the Alpaca Guard MCP server in Claude Code?
Run: claude mcp add alpaca-guard -e ALPACA_API_KEY='<alpaca-api-key>' -e ALPACA_SECRET_KEY='<alpaca-secret-key>' -- npx -y alpaca-guard-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Alpaca Guard require an API key?
Yes. It expects ALPACA_API_KEY, ALPACA_SECRET_KEY, of which 2 are secrets.
›Can I use Alpaca Guard as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Alpaca Guard in the official MCP registry?
Yes, as io.github.evidai/alpaca-guard.
Alternatives to Alpaca Guard
Other finance & fintech MCP servers.