Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.
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.
Returns the unsigned transactions to open a loan: an approval (only if needed) then openLoan. Includes the quote and warnings. The user's wallet must sign and send each step in order.
Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info.
Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB
Wallet that will sign; used to skip unneeded approvals and check balances
Max gap between requested and funded amount in basis points. Omit for the protocol default.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http basedloans https://mcp.based.loans/mcp
Returns the unsigned transactions to open a loan: an approval (only if needed) then openLoan. Includes the quote and warnings. The user's wallet must sign and send each step in order.
| Argument | Type | Description |
|---|---|---|
| term* | any | Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info. |
| asset* | string | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| borrower* | string | Wallet that will sign; used to skip unneeded approvals and check balances |
| loan_amount_usdc | any | |
| collateral_amount* | string | |
| max_shortfall_bps | integer | Max gap between requested and funded amount in basis points. Omit for the protocol default. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"asset",
"collateral_amount",
"term",
"borrower"
],
"properties": {
"term": {
"anyOf": [
{
"enum": [
"short",
"medium",
"long"
],
"type": "string"
},
{
"type": "integer",
"maximum": 2,
"minimum": 0
}
],
"description": "Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info."
},
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"borrower": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Wallet that will sign; used to skip unneeded approvals and check balances"
},
"loan_amount_usdc": {
"$ref": "#/properties/collateral_amount"
},
"collateral_amount": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$"
},
"max_shortfall_bps": {
"type": "integer",
"maximum": 10000,
"minimum": 0,
"description": "Max gap between requested and funded amount in basis points. Omit for the protocol default."
}
},
"additionalProperties": false
}Returns the unsigned transactions to pay back a loan and get collateral back: a USDC approval (only if needed) then buyback. Omit payment_usdc to pay the full remaining amount.
| Argument | Type | Description |
|---|---|---|
| loan_id* | any | Loan ID |
| borrower* | string | |
| payment_usdc | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loan_id",
"borrower"
],
"properties": {
"loan_id": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+$"
},
{
"type": "integer",
"minimum": 0
}
],
"description": "Loan ID"
},
"borrower": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"payment_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$"
}
},
"additionalProperties": false
}Returns the unsigned transaction for a lender to claim their share of collateral from loans that passed their due date without a full buyback.
| Argument | Type | Description |
|---|---|---|
| loan_ids* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loan_ids"
],
"properties": {
"loan_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+$"
},
{
"type": "integer",
"minimum": 0
}
],
"description": "Loan ID"
},
"maxItems": 50,
"minItems": 1
}
},
"additionalProperties": false
}Returns the unsigned transaction to claim repaid USDC from loans you funded (mode withdraw) or put it straight back into lending (mode redeploy). Get loan IDs from get_lender_position.
| Argument | Type | Description |
|---|---|---|
| mode | string | |
| loan_ids* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loan_ids"
],
"properties": {
"mode": {
"enum": [
"withdraw",
"redeploy"
],
"type": "string"
},
"loan_ids": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+$"
},
{
"type": "integer",
"minimum": 0
}
],
"description": "Loan ID"
},
"maxItems": 50,
"minItems": 1
}
},
"additionalProperties": false
}Returns the unsigned transactions to deposit USDC for lending, optionally setting per-token lending limits in the same transaction (needed before a first deposit can be lent). Check get_risk_report for each token first.
| Argument | Type | Description |
|---|---|---|
| lender* | string | |
| limits | array | |
| amount_usdc* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"amount_usdc",
"lender"
],
"properties": {
"lender": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"limits": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"limit_usdc"
],
"properties": {
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"limit_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Max USDC to lend against this token; 0 removes it"
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1
},
"amount_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$"
}
},
"additionalProperties": false
}Returns the unsigned transaction to turn automatic re-lending of repaid principal on or off.
| Argument | Type | Description |
|---|---|---|
| enabled* | boolean |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"enabled"
],
"properties": {
"enabled": {
"type": "boolean"
}
},
"additionalProperties": false
}Returns the unsigned transaction to add, change or remove per-token lending limits. A limit cannot be set below what is already in active loans for that token.
| Argument | Type | Description |
|---|---|---|
| lender* | string | |
| limits* | array |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"limits",
"lender"
],
"properties": {
"lender": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"limits": {
"type": "array",
"items": {
"type": "object",
"required": [
"asset",
"limit_usdc"
],
"properties": {
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"limit_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Max USDC to lend against this token; 0 removes it"
}
},
"additionalProperties": false
},
"maxItems": 50,
"minItems": 1
}
},
"additionalProperties": false
}Returns the unsigned transaction to withdraw USDC that is not in active loans. Use "max" for everything available. as_musdc receives vault shares and skips the 0.25% withdrawal fee.
| Argument | Type | Description |
|---|---|---|
| lender* | string | |
| as_musdc | boolean | |
| amount_usdc* | any |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"amount_usdc",
"lender"
],
"properties": {
"lender": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"as_musdc": {
"type": "boolean"
},
"amount_usdc": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$"
},
{
"type": "string",
"const": "max"
}
]
}
},
"additionalProperties": false
}How Based Loans prices different kinds of collateral (regular tokens, two-hop priced tokens, staked and share tokens, escrowed tokens), with examples, and what each means for borrowers and lenders.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Every loan a wallet has opened, with status (active, partially_repaid, repaid, defaulted), buyback remaining and time until due.
| Argument | Type | Description |
|---|---|---|
| borrower* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"borrower"
],
"properties": {
"borrower": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
},
"additionalProperties": false
}A lender's deposit, USDC in active loans, USDC available to withdraw, per-token limits, and every loan they funded with any repaid USDC or defaulted collateral they can claim.
| Argument | Type | Description |
|---|---|---|
| lender* | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"lender"
],
"properties": {
"lender": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
}
},
"additionalProperties": false
}Status, collateral, buyback cost and remaining amount, due date and lenders for one loan.
| Argument | Type | Description |
|---|---|---|
| loan_id* | any | Loan ID |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"loan_id"
],
"properties": {
"loan_id": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d+$"
},
{
"type": "integer",
"minimum": 0
}
],
"description": "Loan ID"
}
},
"additionalProperties": false
}Price, max loan-to-value, USDC available to borrow, active loans and pricing type for one token.
| Argument | Type | Description |
|---|---|---|
| asset* | string | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"asset"
],
"properties": {
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
}
},
"additionalProperties": false
}Live protocol parameters: loan fee, the three loan terms with their durations and buyback costs, minimum loan and deposit sizes, per-token lending limit bounds, and whether the protocol is paused.
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Live risk data for lending against (or borrowing with) a token: how many price sources it has and whether they cross-check each other, how far back its pool price history goes, how much trading it would take to move its pool price 2x and 10x, USDC available to borrow against it, its active loan limit, and plain-language explanations of every flag. Use this before setting a lending limit on a token.
| Argument | Type | Description |
|---|---|---|
| asset* | string | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| skip_depth | boolean | Skip the pool depth calculation (faster) |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"asset"
],
"properties": {
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"skip_depth": {
"type": "boolean",
"description": "Skip the pool depth calculation (faster)"
}
},
"additionalProperties": false
}Every token currently accepted as collateral, with price, max loan-to-value, USDC available to borrow against it, active loans, and how it is priced. Set only_with_funds to see only tokens lenders are currently backing.
| Argument | Type | Description |
|---|---|---|
| only_with_funds | boolean | Only tokens with USDC available to borrow right now |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"only_with_funds": {
"type": "boolean",
"description": "Only tokens with USDC available to borrow right now"
}
},
"additionalProperties": false
}Exact loan quote using the same math the contract runs: USDC you receive after the fee, buyback cost, due date, and how much collateral is used. It replays the lender queue, so the funded amount matches what the loan would really get, and warns (with a suggested amount) when a loan would be funded short.
| Argument | Type | Description |
|---|---|---|
| term* | any | Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info. |
| asset* | string | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| loan_amount_usdc | string | Loan amount before the fee. Omit to borrow the most the collateral allows. |
| collateral_amount* | string | Collateral to offer, in token units, e.g. 0.5 |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"asset",
"collateral_amount",
"term"
],
"properties": {
"term": {
"anyOf": [
{
"enum": [
"short",
"medium",
"long"
],
"type": "string"
},
{
"type": "integer",
"maximum": 2,
"minimum": 0
}
],
"description": "Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info."
},
"asset": {
"type": "string",
"minLength": 1,
"description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB"
},
"loan_amount_usdc": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Loan amount before the fee. Omit to borrow the most the collateral allows."
},
"collateral_amount": {
"type": "string",
"pattern": "^\\d+(\\.\\d+)?$",
"description": "Collateral to offer, in token units, e.g. 0.5"
}
},
"additionalProperties": false
}Check whether a token is accepted as collateral. If it is not, returns a pre-filled link to the Based Loans request form for the user to open and submit. Nothing is submitted automatically.
| Argument | Type | Description |
|---|---|---|
| token* | string | Token contract address on Base |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "Token contract address on Base"
}
},
"additionalProperties": false
}Dry-runs one prepared transaction from a wallet against the latest block and explains the failure in plain language if it would revert. Steps that depend on an earlier approval only pass after that approval is mined.
| Argument | Type | Description |
|---|---|---|
| to* | string | |
| data* | string | |
| from* | any | |
| value | string |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"to",
"data",
"from"
],
"properties": {
"to": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$"
},
"data": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]*$"
},
"from": {
"$ref": "#/properties/to"
},
"value": {
"type": "string",
"pattern": "^\\d+$"
}
},
"additionalProperties": false
}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 16, 2026.
Takes a password, API key or token as an argument, so the secret passes through the model's context and chat logs.
Fix: Read credentials from the server's own configuration (environment, OAuth) instead of a tool argument.