Based Loans
v0.1.4Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.
Endpoint health
online- Last checked
- 11/20/2026, 3:18:46 AM
- Latency
- 78 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:io.github.0xVarius%2Fbasedloans
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"io.github.0xVarius/basedloans": {
"url": "https://mcp.based.loans/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
19 shown · authentication unknown
Prepare a loan
build_borrow
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.
Schema valid · SHA-256 4eb1d7b4b4ff…
View input schema
{ "type": "object", "properties": { "asset": { "type": "string", "minLength": 1, "description": "Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB" }, "collateral_amount": { "type": "string", "pattern": "^\\d+(\\.\\d+)?$" }, "loan_amount_usdc": { "$ref": "#/properties/collateral_amount" }, "term": { "anyOf": [ { "type": "string", "enum": [ "short", "medium", "long" ] }, { "type": "integer", "minimum": 0, "maximum": 2 } ], "description": "Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info." }, "borrower": { "type": "string", "pattern": "^0x[0-9a-fA-F]{40}$", "description": "Wallet that will sign; used to skip unneeded approvals and check balances" }, "max_shortfall_bps": { "type": "integer", "minimum": 0, "maximum": 10000, "description": "Max gap between requested and funded amount in basis points. Omit for the protocol default." } }, "required": [ "asset", "collateral_amount", "term", "borrower" ], "additionalProperties": false, "$schema": "http://json-schema.org/draft-07/schema#" }Prepare a buyback
build_buyback
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.
Connections
streamable-http
https://mcp.based.loans/mcp