Skip to content
MCP server
Registry

Treasury Risk Analyzer MCP Server

Treasury risk, FX exposure, liquidity & payment decisions for AI CFO agents. Pay per call in USDC.

Treasury Risk Analyzer scores 66 (Good), licensed ISC and written in JavaScript. It installs as a local process. It declares 7 tools. Filed under Finance. GitHub shows 0 stars. Package registries report about 70 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by christianmatumonaISCJavaScript0 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: isc.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity0 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 0 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "christianmatumona-treasury-risk-mcp": {      "command": "npx",      "args": [        "-y",        "treasury-risk-mcp@0.1.2"      ],      "env": {        "X402_PRIVATE_KEY": "YOUR_X402_PRIVATE_KEY",        "MAX_PAYMENT_USD": "2.00",        "TREASURY_API_URL": ""      }    }  }}

Environment variables

NameRequiredNotes
X402_PRIVATE_KEYSecretOptionalPrivate 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_USDOptionalHard per-call spending cap in USD (default 2.00). Tools priced above it are refused before signing.
TREASURY_API_URLOptionalOverride the service base URL (default: public production deployment).

Tools7Tool docs quality grade F

All capabilities

About

treasury-risk-mcp

MCP server for the Treasury Risk Analyzer: deterministic financial decision services for AI Treasury and CFO agents. It covers treasury risk, FX exposure, the liquidity forecast, and one question: "Can we safely execute this payment today?"

Each call is paid in USDC on Base via x402. There is no account, no API key and no subscription. Your agent pays per call from its own wallet, and only when the input is valid.

Tools

ToolPriceWhat it answers
describe_servicefreeWhat the service does, its prices, and whether payments are configured
get_example_inputfreeA valid example input for any paid tool
run_demofreeRuns a paid tool on fixed sample data and returns its real, full output (default: can we pay a EUR 750,000 invoice today?)
treasury_risk$0.10Volatility, Sharpe/Sortino/Calmar, VaR/CVaR, HHI concentration, risk contribution, correlated stress tests
fx_exposure$0.25Gross/net exposure by currency, natural hedges, FX stress scenarios, hedge priority
liquidity_forecast$0.50Daily cash projection, minimum cash and its date, buffer breach, liquidity status, optional DSO/DPO/DIO
treasury_decision$2.00PAY / REVIEW / DO_NOT_PAY for a payment, combining liquidity, FX and risk, with a confidence score

No LLM computes any figure: every metric is deterministic and documented in the response's methodology.

Install

Claude Desktop (claude_desktop_config.json), Cursor, or any MCP client:

{
  "mcpServers": {
    "treasury-risk": {
      "command": "npx",
      "args": ["-y", "treasury-risk-mcp"],
      "env": {
        "X402_PRIVATE_KEY": "0x…",
        "MAX_PAYMENT_USD": "2.00"
      }
    }
  }
}

Claude Code:

claude mcp add treasury-risk -e X402_PRIVATE_KEY=0x… -e MAX_PAYMENT_USD=2.00 -- npx -y treasury-risk-mcp
VariableDefaultMeaning
X402_PRIVATE_KEY(none)Private key of a Base wallet that holds USDC. Without it, paid tools only validate your input and return the price.
MAX_PAYMENT_USD2.00Hard per-call cap. A tool priced above it is refused before anything is signed.
TREASURY_API_URLproduction URLOverride the service URL.

Wallet safety: use a dedicated wallet that holds only a few USDC. The key stays in the MCP process on your machine. It is only used to sign an EIP-3009 USDC transfer for the exact price the service asks for, never more than MAX_PAYMENT_USD. No ETH is needed for gas, because the facilitator submits the transfer.

How payment works

  1. The tool sends your input to the API. Invalid input gets a free 400 and you are never charged.
  2. Valid input gets 402 Payment Required with the price.
  3. The server signs a USDC authorization for that price and retries.
  4. The payment settles on Base, and the analysis comes back with a _payment receipt (transaction hash, payer, network).

Limits

  • The output is analytics and decision support, not investment advice. It does not execute any payment.
  • It only analyses the data you supply. It does not fetch market data.
  • The HTTP API is also callable directly. Its OpenAPI spec is at /openapi.yaml and /openapi.json.

Frequently asked questions

What is Treasury Risk Analyzer MCP Server?

Treasury risk, FX exposure, liquidity & payment decisions for AI CFO agents. Pay per call in USDC.

How do I install Treasury Risk Analyzer MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Treasury Risk Analyzer MCP Server runs locally from the npm package treasury-risk-mcp with the command npx -y treasury-risk-mcp@0.1.2.

Is Treasury Risk Analyzer MCP Server free and open source?

Yes. Treasury Risk Analyzer MCP Server is released under the ISC license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Treasury Risk Analyzer MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Treasury Risk Analyzer MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does Treasury Risk Analyzer MCP Server provide?

Treasury Risk Analyzer MCP Server provides 7 tools, including describe_service, fx_exposure, get_example_input, and liquidity_forecast. See the full tool list for descriptions and parameters.

How is Treasury Risk Analyzer MCP Server's trust score calculated?

Treasury Risk Analyzer MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server