Server data from the Official MCP Registry
Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.
About
Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.
Remote endpoints: streamable-http: https://mcp.based.loans/mcp
Security Report
Valid MCP server (4 strong, 3 medium validity signals). 3 known CVEs in dependencies (2 critical, 0 high severity) ⚠️ Package registry links to a different repository than scanned source. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
19 tools verified · Open access · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: BASE_RPC_URL
Environment variable: BASEDLOANS_READ_ONLY
How to Install & Connect
Available as Local & Remote
This plugin can run on your machine or connect to a hosted endpoint. during install.
Documentation
View on GitHubFrom the project's GitHub README.
Based Loans for agents
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.
| Package | What it is |
|---|---|
@basedloans/sdk | TypeScript SDK (viem). Markets, risk reports, exact loan quotes, positions, unsigned transaction builders. |
@basedloans/mcp | MCP server (stdio and Streamable HTTP) plus a GET API for agents that cannot speak MCP. |
@basedloans/agentkit | Coinbase AgentKit action provider. |
skills/based-loans | Agent skill (SKILL.md) with borrowing and lending workflows. Its main home, with install steps and a Claude Code plugin, is 0xVarius/basedloans-skill. |
plugins/base-mcp | Custom plugin spec for Base MCP. |
integrations/bankr | Bankr skill (SKILL.md + catalog.json) for the BankrBot/skills catalog. |
docs | Collateral types guide and llms.txt. |
Quick start
# MCP server for Claude Desktop, Cursor, etc.
npx -y @basedloans/mcp
import { createBasedLoans } from "@basedloans/sdk"
const bl = createBasedLoans({ rpcUrl: process.env.BASE_RPC_URL })
const quote = await bl.quoteBorrow({ asset: "0x4200000000000000000000000000000000000006", collateralAmount: "0.5", term: "short" })
const plan = await bl.buildBorrow({ asset: quote.asset, collateralAmount: "0.5", term: "short", borrower: "0xYou" })
// plan.steps: sign and send in order with your wallet
Development
nvm use # Node 24
npm install
npm run build
npm run typecheck
node packages/sdk/scripts/e2e-fork.mjs http://127.0.0.1:8545 # against an Anvil fork of Base
node packages/mcp/scripts/smoke.mjs # stdio + HTTP server checks
npm run sync:assets # refresh the token list from the frontend
All protocol parameters (fees, terms, minimums, limits) are read on-chain. Contract addresses are resolved from Core at runtime.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
