New advertisers: 50% off your first month with code FIRSTMONTHSee slots
0xVarius avatar

Based Loans

0xVarius/basedloans-agents

Borrow USDC against Base tokens without liquidation risk, or lend USDC, via Based Loans.

auth
Secret needed
transport
STDIO, HTTP
env vars
4
last updated
Nov 18, 2026
View on GitHub

What it does

  • Reads live markets, risk reports, and exact loan quotes through quoteBorrow, with positions and token data from the SDK and MCP server
  • Builds unsigned borrow and lend transactions that the user's own wallet signs; the server never holds keys
  • Runs locally via npx over stdio, or over Streamable HTTP, and needs no sign-in or API key
  • Designed for agents that need collateral quotes, loan planning, or lending workflows on Base

Configuration

BASE_RPC_URLsecret

Base mainnet RPC URL. Defaults to the public endpoint.

BASEDLOANS_READ_ONLY

Set to 1 to expose only read tools.

BASEDLOANS_BUILDER_CODE

Base Builder Code appended to every prepared transaction (ERC-8021). Empty string disables it

BASEDLOANS_DATA_SUFFIX

Raw hex suffix instead of a builder code

Readme

Based Loans for agents

Listed on mcpservers.org

Based Loans MCP server on MCPRush

Tools that let AI agents and apps use Based Loans, the no-liquidation lending protocol on Base.

  • Borrow: deposit a token, get USDC now, buy the token back at a fixed price before the due date. Price swings never trigger a sale.
  • Lend: deposit USDC and choose which tokens to lend against, with a limit per token.

Nothing here holds keys. Everything returns live data or unsigned transactions for the user's own wallet. No sign-in and no API key needed.


View the full README on GitHub

Details

Repository
github.com/0xVarius/basedloans-agents
Website
based.loans
Categories
Web3 & Crypto, Finance & Trading
Package
@basedloans/mcp
Transport
STDIO, HTTP

Similar to Based Loans

More Web3 & Crypto