# Risk-Aware Trading Agents

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 414 repo stars
- Author: jackson-cmd
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/jackson-cmd/risk-aware-trading-agents
- Updated: 2026-11-14
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/risk-aware-trading-agents

## What it 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`.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add risk-aware-trading-agents -- uvx 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>

### Codex

**Platform CLI**
```bash
codex mcp add risk-aware-trading-agents -- uvx 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>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "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>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "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>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add risk-aware-trading-agents uvx 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>

## When to use it
- 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
- 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.

## Similar
- [risk-management-trading](https://affpapa.org/en/nevibecode/skills/risk-management-trading.md) — skill · 415 installs
- [trading-risk-manager](https://affpapa.org/en/nevibecode/agents/trading-risk-manager.md) — subagent · 82 installs
- [solana-wallet-aware](https://affpapa.org/en/nevibecode/rules/solana-wallet-aware.md) — rule · ★ 41178 repo stars
- [Timezone Converter — All IANA Zones, DST-Aware](https://affpapa.org/en/nevibecode/mcp/timezone-converter-all-iana-zones-dst-aware.md) — MCP server · 2657 installs
- [cost-aware-llm-pipeline](https://affpapa.org/en/nevibecode/skills/cost-aware-llm-pipeline.md) — skill · 6400 installs
- [trading-signal](https://affpapa.org/en/nevibecode/skills/trading-signal.md) — skill · 12300 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
