Risk Aware Trading Agents logo

Risk Aware Trading Agents

MCP tools for risk-aware US stock research, news-aware backtesting, strategy testing, and paper or live trading.

Install Risk Aware Trading Agents

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "risk-aware-trading-agents": {
      "command": "uvx",
      "args": [
        "risk-aware-trading-agents",
        "mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio risk-aware-trading-agents -- uvx risk-aware-trading-agents mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 22 tools correctly ().

Overview

The risk-aware-trading-agents MCP server gives LLM clients access to US stock trading workflows that account for macro regimes, VIX conditions, and verified news. It supports strategy generation and testing, step-by-step agent runs over a point-in-time 2026 dataset, and paper or live trading across 10 brokers. Every backtest includes a look-ahead check, while generated strategies run in a separate process with checks for future data access and side effects. Reach for it when an agent needs to research or evaluate trading decisions without exposing it to future market information.

Use cases

  • Backtest news-aware US stock strategies
  • Generate and test strategies through an LLM
  • Replay trading-agent decisions without future data
  • Run paper-trading agents across supported brokers
  • Inspect the information behind historical trades

Key features

  • Point-in-time 2026 prices, VIX, news, and SEC filings
  • Automatic look-ahead checks for backtests
  • Macro-, regime-, and news-aware trading decisions
  • Separate-process strategy execution with side-effect checks
  • Paper and live trading across 10 brokers
  • MCP setup for Claude, Codex, and Gemini clients

Tools22

What Risk Aware Trading Agents lets your agent do. Expand a tool for its parameters.

Verified live~4.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

8/8 checks healthy over the last 19d

What it can do

From the 22 tools this server returned when we ran it; 22 declare their own safety hints.

Makes changes · 7Makes network requests · 22Read-only tools · 15
Network at startup2 connections
Files written at startup16

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · risk-aware-trading-agents (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars503Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed22Callable tools this server registers over MCP.

How Risk Aware Trading Agents works

What risk-aware-trading-agents does

risk-aware-trading-agents provides MCP access to a US stock research and trading system built around risk checks. LLM clients can describe a strategy, have it converted into code, test it against historical data, and run an agent through market conditions one step at a time. The package also supports paper-trading agents and live trading, with a deterministic risk manager making the final decision on each order.

The system evaluates more than price signals. Its market context includes the macro calendar, VIX and VIX term structure, sector breadth, credit appetite, safe-haven demand, and a fear-and-greed measure. Trading decisions can also use company information, earnings, and cross-verified news.

How it works

The research kit includes a frozen, point-in-time 2026 dataset covering prices, VIX data, 16,945 headlines and SEC filings for 64 built-in stocks. During a historical run, the agent sees only information available before the relevant market close. A look-ahead check runs on every backtest, and generated strategies are checked for future-data access and side effects before execution.

News can be inspected alongside individual trades, including the headlines available at that close, the news assessment, and the resulting order. This makes the system suitable for examining what an agent could have known at the time rather than evaluating it with a complete hindsight view.

The trading approach uses market regimes and risk profiles to shape decisions. Its stated discipline includes retaining a cash reserve, adding cautiously during high fear when earnings remain sound, trimming extended positions, and avoiding panic-selling into uncertainty.

Setup and configuration

Install the package with its dashboard and MCP extras from the Git repository:

Terminal
pip install "risk-aware-trading-agents[dashboard,mcp] @ git+https://github.com/jackson-cmd/risk-aware-trading-agents"

The MCP server can be configured through the package's setup command for supported clients, including Claude Desktop, Claude Code, Codex, and Gemini. The repository also publishes a Docker image for running the dashboard or MCP server without a local Python installation. The dashboard starts with:

bash
riskaware dashboard

It provides an English and Chinese web interface on the local dashboard address shown by the quick-start command.

Tools and capabilities

  • Generate and test strategies described in natural language through an LLM client.
  • Run news-aware backtests against the bundled point-in-time 2026 market.
  • Check each run for look-ahead bias.
  • Replay agent decisions step by step over historical data.
  • Inspect the news and order associated with a backtest trade.
  • Operate paper-trading agents and support live trading through 10 brokers.
  • Review technical, earnings, news, and macro components of signals.

Limitations and notes

The bundled research market covers 2026 data and a defined set of 64 stocks, so results depend on that dataset and should not be treated as a general forecast. The project describes the trading system as not financial advice. It starts in paper mode; live trading requires three explicit switches. Generated strategies are intended to be checked before execution, but users remain responsible for reviewing code, orders, broker configuration, and risk settings.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Risk Aware Trading Agents

risk-aware-trading-agents is an MCP server that connects LLM clients to US stock research and trading workflows. Its main tools support strategy generation and testing, point-in-time news backtests, step-by-step historical agent runs, and paper or live trading. Look-ahead checks help prevent strategies from using information unavailable at the time.

Install it with the package's dashboard and MCP extras from the Git repository using pip. The command is `pip install "risk-aware-trading-agents[dashboard,mcp] @ git+https://github.com/jackson-cmd/risk-aware-trading-agents"`. The repository also provides a Docker image for running the dashboard or MCP server without installing Python.

Yes, Claude Desktop is supported through the package's MCP setup command. The repository also documents setup targets for Claude Code, Codex, and Gemini, allowing those clients to connect to the MCP workflow.

Yes, its backtests use a point-in-time dataset and restrict each day to news published before that day's close. Every run receives a look-ahead check, and the package can show the headlines and order associated with an individual historical trade.

Yes, the project supports paper and live trading through 10 brokers, but it starts in paper mode. Live trading requires three explicit switches, so the configuration and order behavior should be reviewed before enabling it.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewRisk Aware Trading Agents AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/risk-aware-trading-agents?style=directory)](https://allmcps.com/mcp/risk-aware-trading-agents)
HTML Embed
<a href="https://allmcps.com/mcp/risk-aware-trading-agents"><img src="https://allmcps.com/api/badge/risk-aware-trading-agents?style=directory" alt="Risk Aware Trading Agents on AllMCPs" /></a>