- CPZAI
CPZAI
What it does
CPZAI MCP gives any AI agent (Claude, Cursor, GPT, custom) read/write access to a quantitative trading platform. Build strategies in natural language, run backtests, manage portfolios, route orders to Alpaca / Interactive Brokers / FIX, and compute risk — all from your agent.
Why it's safe
- Paper-only by default. Live trading on a strategy requires explicit per-strategy promotion in the platform, not from the agent.
- Per-request API key validation. Every tool call re-validates your
X-CPZ-Keyagainst the platform. No long-lived sessions. - User-scoped data. Every tool only sees data owned by the authenticated key.
- Open source. The full server code is at github.com/CPZ-Lab/cpzai-mcp-server (MIT). Audit before you connect.
18 tools
Strategies — list_strategies, get_strategy, create_strategy, update_strategy
Backtests — get_backtest_results
Trading — list_orders, place_order, list_positions, sync_portfolio, list_accounts
Market data — get_market_data
Risk — compute_risk, list_risk_snapshots
Execution — execute_strategy
Webhooks — list_webhooks, create_webhook, delete_webhook
User — get_profile
Get started
- Create an API key at ai.cpz-lab.com/settings/api-keys
- Paste the server config above into your MCP client
- Ask your agent: "List my strategies and run a 1-year backtest on the top 3"
Free to try at ai.cpz-lab.com.
Server Config
{
"mcpServers": {
"cpzai": {
"url": "https://mcp.cpz-lab.com/mcp",
"headers": {
"X-CPZ-Key": "YOUR_KEY",
"X-CPZ-Secret": "YOUR_SECRET"
}
}
}
}