Risk-Aware Trading Agents — Claude Code MCP server: features and setup
The Risk-Aware Trading Agents MCP server for Claude Code connects agents to US stock analysis and trading strategy tools. Use it to inspect a ticker, check news, or test a strategy against historical markets.
MIT ★ 414 updated 2026-11-14
claude mcp add risk-aware-trading-agents -- uvx risk-aware-trading-agentsWhat Risk-Aware Trading Agents does
The server exposes tools for analyzing US stocks, news, and trading strategies. Agents can inspect market conditions, review signals for a ticker, and run paper trades. The project also includes research tests on frozen markets from 2020, 2022, and 2026.
News in the backtests appears at its publication minute, while orders fill at the next market open. Each research run checks for look-ahead bias. Replaying news requires a source of its own: SEC 8-K filings, a news API key, or a CSV file. The MCP setup command uses uvx.
What it helps with
- test a trading strategy against historical markets
- compare trading signals for US stocks
- review news about a selected ticker
- run paper trades with AI agents
Example prompts for the agent
- Analyze NVDA and compare the trading agents’ views.
- Check the news for AAPL and review its trading signals.
- Test the swing_trend strategy on the 2022 market.
How to install Risk-Aware Trading Agents
Platform CLI
claude mcp add risk-aware-trading-agents -- uvx risk-aware-trading-agentsuvx runs the command named after the package; if the README names another one, use uvx --from risk-aware-trading-agents <command>
Platform CLI
codex mcp add risk-aware-trading-agents -- uvx risk-aware-trading-agentsuvx runs the command named after the package; if the README names another one, use uvx --from risk-aware-trading-agents <command>
Config file
{
"mcpServers": {
"risk-aware-trading-agents": {
"command": "uvx",
"args": [
"risk-aware-trading-agents"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from risk-aware-trading-agents <command>
Config file
{
"servers": {
"risk-aware-trading-agents": {
"type": "stdio",
"command": "uvx",
"args": [
"risk-aware-trading-agents"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from risk-aware-trading-agents <command>
Platform CLI
gemini mcp add risk-aware-trading-agents uvx risk-aware-trading-agentsuvx runs the command named after the package; if the README names another one, use uvx --from risk-aware-trading-agents <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Risk-Aware Trading Agents
How do I install Risk-Aware Trading Agents in Claude Code?
Run claude mcp add risk-aware-trading-agents -- uvx risk-aware-trading-agents. The command uses uvx.
What does Risk-Aware Trading Agents do?
The MCP server provides tools for US stock analysis, news checks, and strategy testing. The project includes paper trading and historical backtests with look-ahead checks.
What data can I use for news backtests?
Use SEC 8-K filings, your own news API key, or a CSV file. The benchmark’s headlines are licensed and aren’t distributed.