SBOR
Check a lending rate before your agent borrows. Stacks benchmark, read from contract state. No key.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"sbor": {
"command": "npx",
"args": [
"sbor-mcp"
]
}
}
}可執行的套件
1.2.0stdio遠端端點
https://mcp.sbor.xyz/mcpstreamable-http它能做什麼
工具清單
工具(6)
🟢get_rate(index)
The benchmark borrow and supply rate for lending on Stacks, read from lending contract state. Use this to judge whether a lending offer is good: borrowing above the SBOR borrow rate means paying more than the market, supplying below the supply rate means earning less. Returns every currency index unless one is named. Always read the freshness line first.
輸入結構描述
{
"type": "object",
"properties": {
"index": {
"type": "string",
"enum": [
"SBOR-USD",
"SBOR-BTC",
"SBOR-STX",
"BTC-COLLATERAL-USDC"
],
"description": "Currency index, or BTC-COLLATERAL-USDC for borrowing USDC against bitcoin on Base and Ethereum. Omit for all of them."
}
},
"additionalProperties": false
}🟢compare_rate(rate, side, index)
Given a rate you have been offered, say whether it is above or below the market for that currency, and by how much. This is the main reason SBOR exists. Recommended use: if a borrow offer is more than 50 basis points above the benchmark, stop and ask a human. Use SBOR to stop, never to start. For a USDC loan against bitcoin (cbBTC or WBTC) on Base or Ethereum, compare with BTC-COLLATERAL-USDC; for lending on Stacks, with the index for the currency. This tool refuses rather than guesses: an error result means there is no trustworthy answer, not that the rate is bad.
輸入結構描述
{
"type": "object",
"properties": {
"rate": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 100,
"description": "The rate offered, as a percentage between 0 and 100. 4.2 means 4.2%, not 0.042."
},
"side": {
"type": "string",
"enum": [
"borrow",
"supply"
],
"description": "Whether you would be borrowing or supplying."
},
"index": {
"type": "string",
"enum": [
"SBOR-USD",
"SBOR-BTC",
"SBOR-STX",
"BTC-COLLATERAL-USDC"
],
"description": "Which benchmark: a Stacks currency index, or BTC-COLLATERAL-USDC for borrowing USDC against bitcoin on Base and Ethereum."
}
},
"required": [
"rate",
"side",
"index"
],
"additionalProperties": false
}🟢list_markets(index)
Every venue and asset in an index, with its borrow rate, supply rate, utilization, depth and weight. Utilization explains why a rate sits where it does.
輸入結構描述
{
"type": "object",
"properties": {
"index": {
"type": "string",
"enum": [
"SBOR-USD",
"SBOR-BTC",
"SBOR-STX",
"BTC-COLLATERAL-USDC"
],
"description": "Currency index, or BTC-COLLATERAL-USDC. Omit for the Stacks indices."
}
},
"additionalProperties": false
}🟢get_history(index, days)
Daily fixings since the index began. Use this to see whether a rate is unusual, or how the cost of capital has moved. Means are given per methodology version, never across a change in how the number is built.
輸入結構描述
{
"type": "object",
"properties": {
"index": {
"type": "string",
"enum": [
"SBOR-USD",
"SBOR-BTC",
"SBOR-STX"
],
"description": "Which currency."
},
"days": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"description": "How many days back, up to 200. Default 30."
}
},
"required": [
"index"
],
"additionalProperties": false
}🟢compare_chains(index)
The same asset classes on the largest lending markets on Ethereum, Base, Hyperliquid and Solana, plus SOFR, the US repo rate, and what it costs to borrow USDC against bitcoin on Base and Ethereum. Context only: none of these is ever a constituent of an SBOR index. Aave on Ethereum and Base and the bitcoin-collateral markets are read from contract state; the other venues come from DefiLlama, so small differences are expected for those.
輸入結構描述
{
"type": "object",
"properties": {
"index": {
"type": "string",
"enum": [
"SBOR-USD",
"SBOR-BTC",
"SBOR-STX"
],
"description": "Only markets comparable to this index. Omit for all."
}
},
"additionalProperties": false
}🟢get_methodology
The full methodology and integration policy: how the fixing is built, what is excluded and why, and what SBOR will and will not do. Read this before quoting a rate in anything that matters.
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}社群
證據