Riskstate
@likidodefi
About Riskstate
Deterministic risk governance for crypto trading agents. Answers "How much can I risk?" with policy level, max position size, leverage limits, and blocked actions — computed from 9+ real-time data sources (on-chain, derivatives, macro, sentiment). Supports BTC and ETH. One tool:
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"riskstate": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"RISKSTATE_API_KEY",
"ghcr.io/likidodefi/riskstate-mcp"
],
"env": {
"RISKSTATE_API_KEY": "<your_api_key>"
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Riskstate?
Riskstate is a risk governance API designed for autonomous crypto trading agents, providing deterministic policy computations from 9+ real-time data sources.
How to use Riskstate?
Invoke the get_risk_policy tool with the required asset parameter (either "BTC" or "ETH"), and optionally supply wallet_address, protocol ("spark" or "aave"), and include_details to receive a full risk policy and classification response.
Key features of Riskstate
- Five policy levels from BLOCK (survival) to GREEN (expansion)
- Max position size as percentage of portfolio (0–100)
- Leverage limit – maximum allowed multiplier
- Allowed and blocked actions for the agent
- Confidence score reflecting signal agreement and data quality
- Classification: cycle phase, market regime, macro regime, direction
- Auditability with composite score, policy hash, and TTL
Use cases of Riskstate
- A trading agent queries risk policy before opening a new position
- Automated rebalancing based on policy level changes
- Compliance logging via policy hash for audit trails
- Multi-source risk assessment with confidence and subscores
FAQ from Riskstate
What parameters does get_risk_policy require?
The asset parameter (BTC or ETH) is required. Optional parameters include wallet_address, protocol (spark or aave), and include_details.
What does the response contain?
The response includes exposure_policy (policy level, max size, leverage, allowed/blocked actions), classification (cycle phase, market regime, macro regime, direction), and auditability (composite score, confidence score, policy hash, TTL).
What do the policy levels mean?
There are five levels: BLOCK, CAUTIOUS, MODERATE, AGGRESSIVE, and GREEN – representing a spectrum from survival to expansion.
How is the confidence score calculated?
The confidence score is a number between 0 and 1, representing the agreement of multiple signals times data quality.
How often is the policy updated?
The policy has a TTL of 60 seconds, meaning it is cached for that duration before a fresh computation is required.
Frequently asked questions
What parameters does `get_risk_policy` require?
The `asset` parameter (BTC or ETH) is required. Optional parameters include `wallet_address`, `protocol` (spark or aave), and `include_details`.
What does the response contain?
The response includes `exposure_policy` (policy level, max size, leverage, allowed/blocked actions), `classification` (cycle phase, market regime, macro regime, direction), and `auditability` (composite score, confidence score, policy hash, TTL).
What do the policy levels mean?
There are five levels: BLOCK, CAUTIOUS, MODERATE, AGGRESSIVE, and GREEN – representing a spectrum from survival to expansion.
How is the confidence score calculated?
The confidence score is a number between 0 and 1, representing the agreement of multiple signals times data quality.
How often is the policy updated?
The policy has a TTL of 60 seconds, meaning it is cached for that duration before a fresh computation is required.
Basic information
More Finance & Commerce MCP servers

Savi Tools
Savi Gurus AI Innovation LabsAsk your AI assistant about your Savi Tools business: invoices, expenses, mileage, contacts, projects, taxes, and more. Read-only and OAuth-secured — your assistant sees only your own data at getsavitools.com, and you
Armor Crypto MCP
armorwalletThe MCP server for interacting with Blockchain, Swaps, Strategic Planning and more.
AKShare One MCP Server
zwldarrenMCP server that provides access to Chinese stock market data using akshare-one
Synci
SynciSynci connects your real bank, brokerage, and crypto-exchange accounts to AI assistants, read-only. Ask about balances, transactions, holdings, and spending across all your accounts in one place.
Crypto Fear & Greed Index MCP Server
kukapayProviding real-time and historical Crypto Fear & Greed Index data
Comments