# Treasury Risk Analyzer

> Treasury Risk Analyzer is a paid MCP server for finance and payments. Pay-per-call treasury risk, FX exposure, liquidity and payment verdicts for finance agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** CLI, API
- **Website:** https://portfolio-risk-analyzer-g9ao.onrender.com
- **Repository:** https://github.com/christianmatumona/treasury-risk-mcp
- **MCP Registry name:** io.github.christianmatumona/treasury-risk-mcp
- **Categories:** finance and payments
- **Listing updated:** 2026-11-14

## About

Treasury Risk Analyzer answers a question an AI CFO agent asks before moving money: can this payment be made safely today. It returns a PAY, REVIEW or DO NOT PAY verdict with a confidence score, backed by a cash forecast, FX exposure and treasury risk. Every figure comes from a deterministic engine rather than a language model, so the same input gives the same answer, and each result includes its methodology, warnings and limitations. It never moves funds.

The MCP server runs over stdio with npx and charges per call in USDC on Base through x402, with no account. Invalid input gets a free 400. A dedicated wallet key is set in X402_PRIVATE_KEY, and MAX_PAYMENT_USD caps each call at 2.00 by default. Without a key, paid tools only validate input and quote the price. Prices run from $0.10 for treasury risk to $2.00 for a payment decision.

It analyses only the data you supply and fetches no market data. Companies can instead buy a monthly licence invoiced in EUR with an API key, and a read-only Qonto bank connector is in testing.

## Features

- **Payment verdict:** PAY, REVIEW or DO NOT PAY with a confidence score and justification.
- **Liquidity forecast:** Daily cash projection, lowest cash date and buffer breach status.
- **FX exposure:** Gross and net exposure, natural hedges and stress scenarios.
- **Treasury risk:** Volatility, Sharpe, VaR, concentration and stress tests.
- **Spending cap:** A per-call limit stops any tool priced above it before signing.
- **Free demo:** Run a paid tool on fixed sample data without paying.

## Good for

- Check whether a EUR 750,000 supplier invoice is safe to pay
- Project daily cash and find the lowest balance
- Measure net FX exposure by currency
- Stress-test a portfolio's correlated risk
- Add a deterministic payment check to an agent workflow

## Install

### Claude Code (Terminal)

```sh
claude mcp add treasury-risk-mcp --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y treasury-risk-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "treasury-risk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "treasury-risk-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "treasury-risk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "treasury-risk-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "treasury-risk-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "treasury-risk-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "treasury-risk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "treasury-risk-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "treasury-risk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "treasury-risk-mcp"
      ],
      "env": {
        "X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>"
      }
    }
  }
}
```

## Tools

- `describe_service`: Describes the service, its prices and whether payments are configured.
- `get_example_input`: Returns a valid example input for any paid tool.
- `run_demo`: Runs a paid tool on fixed sample data and returns its full output.
- `treasury_risk`: Volatility, Sharpe, Sortino, Calmar, VaR, CVaR, concentration and stress tests.
- `fx_exposure`: Gross and net exposure by currency, hedges, stress scenarios and hedge priority.
- `liquidity_forecast`: Daily cash projection, minimum cash and date, buffer breach and liquidity status.
- `treasury_decision`: PAY, REVIEW or DO_NOT_PAY for a payment with a confidence score.

## FAQ

### How much does a call cost?

Treasury risk is $0.10, FX exposure $0.25, liquidity forecast $0.50 and payment decision $2.00, paid in USDC on Base.

### Do I need an account?

No. Agents pay per call over x402; companies can alternatively buy a licence with an API key.

### Will it move money?

No. It is decision support only.

### Is a language model involved in the numbers?

No. The site says every figure comes from a deterministic engine.

### Is Treasury Risk Analyzer free?

No. Treasury Risk Analyzer is a paid product.

### How do I add Treasury Risk Analyzer to Claude Code?

Run this command in your terminal: claude mcp add treasury-risk-mcp --env X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -- npx -y treasury-risk-mcp

### What are the best alternatives to Treasury Risk Analyzer?

The closest alternatives to Treasury Risk Analyzer are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.
- [Provyan](https://ai-powered.com/mcp/provyan): Provyan is a free MCP server for finance and payments.
- [TribuJus](https://ai-powered.com/mcp/tribujus): TribuJus is an open-source MCP server for legal and government.
- [L2WS](https://ai-powered.com/mcp/l2ws): L2WS is a paid MCP server for finance and payments.
- [Invoices](https://ai-powered.com/mcp/invoices): Invoices is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/treasury-risk-analyzer
