Skip to content
MCP server

Treasury Risk Analyzer

Pay-per-call treasury risk, FX exposure, liquidity and payment verdicts for finance agents

Runs locallyStatus and history
Install
Pricing
Paid
Platforms
CLI, API
Runs
Locally
Version
0.1.2
Listing updated
3 days ago

About Treasury Risk Analyzer

Treasury Risk Analyzer is a paid MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

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.

Install

Run in a terminal

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

Add to claude_desktop_config.json

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

Add to ~/.cursor/mcp.json

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

Add to .vscode/mcp.json

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

Add to ~/.codeium/windsurf/mcp_config.json

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

Add to your client's MCP settings (most use this shape)

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

Configuration

  • X402_PRIVATE_KEYPrivate key of a dedicated Base wallet holding a few USDC, used to sign per-call x402 payments. Without it, paid tools only validate input and quote the price.
  • MAX_PAYMENT_USDHard per-call spending cap in USD (default 2.00). Tools priced above it are refused before signing.
  • TREASURY_API_URLOverride the service base URL (default: public production deployment).

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

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.

What it does

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

Pricing

Paid

Pay per call in USDC: $0.10 to $2.00; monthly licence in EUR for companies

Prices change. Check portfolio-risk-analyzer-g9ao.onrender.com before you buy.

Treasury Risk Analyzer 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 to Treasury Risk Analyzer

  1. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  2. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  3. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments
  4. Stock scores, what a price assumes, earnings quality and quiet profit revisions

    • 11 tools
    • Remote
    • Free
    • Finance and payments
  5. Provyan

    MCP server

    Backtested crypto signal results on 94 coins, with luck odds and sources

    • 4 tools
    • Remote
    • Free
    • Finance and payments
  6. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • Legal and government