Paid Restaking Risk API via x402. Unpaid tool calls return 402.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Calculate unique collateral, gross exposure, and overlap when caller-supplied vault collateral is reused across networks. Simultaneous scenarios slash the starting balance and cap the combined percent at 100%. Sequential scenarios reduce the remaining balance after each event. audit_status is calculated, warnings, incomplete, or invalid. Amounts are integers in the caller-supplied unit. Prices and conversion rates are used only when supplied. No balance or price is fetched. Price $0.05 USDC. POST /api/v1/restaking-risk/cross-network-slashing-exposure. An unpaid call returns the x402 payment terms and does not run.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http restaking-risk https://www.brainiac.software/mcp/restaking-risk
Calculate unique collateral, gross exposure, and overlap when caller-supplied vault collateral is reused across networks. Simultaneous scenarios slash the starting balance and cap the combined percent at 100%. Sequential scenarios reduce the remaining balance after each event. audit_status is calculated, warnings, incomplete, or invalid. Amounts are integers in the caller-supplied unit. Prices and conversion rates are used only when supplied. No balance or price is fetched. Price $0.05 USDC. POST /api/v1/restaking-risk/cross-network-slashing-exposure. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| rates | array | |
| reuse | array | |
| prices | array | |
| vaults* | array | |
| slashing* | array | |
| scenarios* | array | |
| allocations* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"vaults",
"allocations",
"slashing",
"scenarios"
],
"properties": {
"rates": {
"type": "array",
"items": {
"type": "object",
"required": [
"base",
"quote",
"rate"
],
"properties": {
"base": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"rate": {
"type": "string",
"pattern": "^(?:0|[1-9]\\d{0,24})(?:\\.\\d{1,8})?$"
},
"quote": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 32
},
"reuse": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"asset",
"amount",
"allocations"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"asset": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$"
},
"allocations": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"maxItems": 16,
"minItems": 2
}
},
"additionalProperties": false
},
"maxItems": 32
},
"prices": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"quote",
"price"
],
"properties": {
"asset": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"price": {
"type": "string",
"pattern": "^(?:0|[1-9]\\d{0,24})(?:\\.\\d{1,8})?$"
},
"quote": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 32
},
"vaults": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"collateral"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"collateral": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"amount"
],
"properties": {
"asset": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$"
}
},
"additionalProperties": false
},
"maxItems": 16,
"minItems": 1
}
},
"additionalProperties": false
},
"maxItems": 32,
"minItems": 1
},
"slashing": {
"type": "array",
"items": {
"type": "object",
"required": [
"network",
"percent"
],
"properties": {
"network": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"percent": {
"type": "string",
"pattern": "^(100(?:\\.0{1,4})?|(?:0|[1-9]\\d?)(?:\\.\\d{1,4})?)$"
},
"operator": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 64
},
"scenarios": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"ordering",
"events"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"network"
],
"properties": {
"network": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"percent": {
"type": "string",
"pattern": "^(100(?:\\.0{1,4})?|(?:0|[1-9]\\d?)(?:\\.\\d{1,4})?)$"
},
"operator": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 16,
"minItems": 1
},
"ordering": {
"enum": [
"simultaneous",
"sequential"
],
"type": "string"
}
},
"additionalProperties": false
},
"maxItems": 16,
"minItems": 1
},
"allocations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"vault",
"network",
"operator",
"asset",
"amount"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"asset": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"vault": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"amount": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,77})$"
},
"network": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"operator": {
"type": "string",
"maxLength": 80,
"minLength": 1
}
},
"additionalProperties": false
},
"maxItems": 64,
"minItems": 1
}
},
"additionalProperties": false
}Subtract the unbonding time and the withdrawal delay from the soonest caller-supplied slash horizon. The buffer is that remainder in hours. The feasibility score is the buffer divided by the soonest horizon, and it is zero when the buffer is negative. No queue is read from a network. Price $0.04 USDC. POST /api/v1/restaking-risk/exit-window. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| events* | array | |
| unbonding_hours* | integer | |
| withdrawal_delay_hours* | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"unbonding_hours",
"withdrawal_delay_hours",
"events"
],
"properties": {
"events": {
"type": "array",
"items": {
"type": "object",
"required": [
"network",
"hours_until_slash"
],
"properties": {
"network": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"hours_until_slash": {
"type": "integer",
"maximum": 8760,
"exclusiveMinimum": 0
}
}
},
"maxItems": 20,
"minItems": 1
},
"unbonding_hours": {
"type": "integer",
"maximum": 8760,
"minimum": 0
},
"withdrawal_delay_hours": {
"type": "integer",
"maximum": 8760,
"minimum": 0
}
}
}Cap each operator's network weights at 100 percent of its stake, then weight that exposure by stake. The correlation score is the share of stake that sits on more than one network. Weights are the caller's risk weights. No stake is fetched. Price $0.04 USDC. POST /api/v1/restaking-risk/slashing-correlation. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| operators* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"operators"
],
"properties": {
"operators": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"stake",
"networks"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"stake": {
"type": "integer",
"maximum": 9007199254740991,
"exclusiveMinimum": 0
},
"networks": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"weight"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"weight": {
"type": "integer",
"maximum": 100,
"minimum": 1
}
}
},
"maxItems": 20,
"minItems": 1
}
}
},
"maxItems": 100,
"minItems": 1
}
}
}Compare caller-supplied slashing stages with an available window. Each duration is an integer in seconds, or in epochs when its unit is epochs. Epoch length is seconds. Stages run in detection, evidence, submission, veto, execution, and finality order. Consecutive stages listed in parallel start together and the timeline uses the longest. A missing stage is incomplete and is not treated as zero. feasibility_status is feasible, margin_exceeded, infeasible, incomplete, or invalid. A fit is arithmetic only. No protocol parameters are fetched. Price $0.05 USDC. POST /api/v1/restaking-risk/slashing-window-feasibility. An unpaid call returns the x402 payment terms and does not run.
| Argument | Type | Description |
|---|---|---|
| veto | object | |
| epoch* | object | |
| margin | object | |
| window* | object | |
| evidence | object | |
| finality | object | |
| parallel | array | |
| detection | object | |
| execution |
We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 19, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
| object |
| submission | object |
| alternatives | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"epoch",
"window"
],
"properties": {
"veto": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"epoch": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"margin": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"window": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"evidence": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"finality": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"parallel": {
"type": "array",
"items": {
"type": "object",
"required": [
"stages"
],
"properties": {
"stages": {
"type": "array",
"items": {
"enum": [
"detection",
"evidence",
"submission",
"veto",
"execution",
"finality"
],
"type": "string"
},
"maxItems": 6,
"minItems": 2
}
},
"additionalProperties": false
},
"maxItems": 3
},
"detection": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"execution": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"submission": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"alternatives": {
"type": "array",
"items": {
"type": "object",
"required": [
"epoch",
"window",
"id"
],
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"veto": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"epoch": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"margin": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"window": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"evidence": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"finality": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"parallel": {
"type": "array",
"items": {
"type": "object",
"required": [
"stages"
],
"properties": {
"stages": {
"type": "array",
"items": {
"enum": [
"detection",
"evidence",
"submission",
"veto",
"execution",
"finality"
],
"type": "string"
},
"maxItems": 6,
"minItems": 2
}
},
"additionalProperties": false
},
"maxItems": 3
},
"detection": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"execution": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
},
"submission": {
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"unit": {
"enum": [
"seconds",
"epochs"
],
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(0|[1-9][0-9]{0,12})$"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"maxItems": 8
}
},
"additionalProperties": false
}