Based Loans
io.github.0xVarius/basedloans
MCP server OK 19 tools
What it is for
Lets an assistant explore USDC loans backed by Base tokens: markets, risk report, borrow quotes, loan and lender positions, and building unsigned transactions.
Summary written by L’Atlas on 29 Nov 2026, rewritten only from the author’s description and the tools seen by our test. Author’s text below.
Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.
Technical sheet
- Author
- 0xVarius (registry namespace)
- Repository
- github.com/0xVarius/basedloans-agents
- Site
- based.loans
- Version
- 0.1.4
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://mcp.based.loans/mcp Streamable HTTP
- Packages
- @basedloans/mcp 0.1.3 npm stdio
- Tools
- 19
- Categories
- —
- Last updated
- 18 Nov 2026
- Published
- 18 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.0xVarius/basedloans)<a href="https://latlas.dev/en/mcp/io.github.0xVarius/basedloans"><img src="https://latlas.dev/badge/fiche/io.github.0xVarius/basedloans.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://mcp.based.loans/mcp
- Last result
- OK 28 Nov 2026, 11:10
- Response time
- 463 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- basedloans 0.1.2
- Tools
- 19
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 11:10 | OK | 463 ms | 19 |
Exposed tools (19, from tools/list, 28 Nov 2026)
get_protocol_info
Protocol info
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 parameters.
list_markets
List collateral tokens
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| only_with_funds | boolean | no | Only tokens with USDC available to borrow right now |
get_market
Get one collateral token
Price, max loan-to-value, USDC available to borrow, active loans and pricing type for one token.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | yes | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
get_risk_report
Token risk report
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | yes | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| skip_depth | boolean | no | Skip the pool depth calculation (faster) |
quote_borrow
Quote a loan
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | yes | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| collateral_amount | string | yes | Collateral to offer, in token units, e.g. 0.5 |
| loan_amount_usdc | string | no | Loan amount before the fee. Omit to borrow the most the collateral allows. |
| term | enum: "short" | "medium" | "long" | integer | yes | Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info. |
get_loan
Get a loan
Status, collateral, buyback cost and remaining amount, due date and lenders for one loan.
| Parameter | Type | Required | Description |
|---|---|---|---|
| loan_id | string | integer | yes | Loan ID |
get_borrower_loans
Borrower's loans
Every loan a wallet has opened, with status (active, partially_repaid, repaid, defaulted), buyback remaining and time until due.
| Parameter | Type | Required | Description |
|---|---|---|---|
| borrower | string | yes | Borrower wallet address on Base |
get_lender_position
Lender position
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| lender | string | yes | Lender wallet address on Base |
request_token_listing
Request a new token
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| token | string | yes | Token contract address on Base |
explain_collateral_types
Collateral types explained
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 parameters.
build_borrow
Prepare a loan
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset | string | yes | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| collateral_amount | string | yes | Collateral to offer, in token units, e.g. 0.5. It is a maximum: only what the loan needs is taken |
| loan_amount_usdc | string | no | Loan amount before the fee, in USDC. Omit to borrow the most the collateral allows |
| term | enum: "short" | "medium" | "long" | integer | yes | Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info. |
| borrower | string | yes | Wallet that will sign; used to skip unneeded approvals and check balances |
| max_shortfall_bps | integer | no | Max gap between requested and funded amount in basis points. Omit for the protocol default. |
build_buyback
Prepare a 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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| loan_id | string | integer | yes | Loan ID |
| payment_usdc | string | no | USDC to pay. Omit to pay everything left and get all collateral back |
| borrower | string | yes | Borrower wallet that will sign; must be the wallet that opened the loan |
build_deposit
Prepare a lending deposit
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| amount_usdc | string | yes | USDC to deposit, e.g. 500 |
| lender | string | yes | Lender wallet that will sign; used to skip unneeded approvals and check balances |
| limits | array<object> | no | Per-token lending limits to set in the same transaction. A first deposit needs at least one to be lent |
build_set_limits
Prepare per-token lending limits
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| limits | array<object> | yes | Tokens and the max USDC to lend against each |
| lender | string | yes | Lender wallet that will sign |
build_withdraw
Prepare a withdrawal
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| amount_usdc | string | string | yes | USDC to withdraw, or "max" for everything not in active loans |
| lender | string | yes | Lender wallet that will sign |
| as_musdc | boolean | no | Receive mUSDC vault shares instead of USDC, skipping the 0.25% withdrawal fee |
build_claim_proceeds
Prepare a proceeds claim
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| loan_ids | array<string | integer> | yes | IDs of loans you funded, from get_lender_position (1 to 50) |
| mode | enum: "withdraw" | "redeploy" | no | withdraw sends the USDC to your wallet (default); redeploy puts it back into lending |
build_claim_collateral
Prepare a collateral claim
Returns the unsigned transaction for a lender to claim their share of collateral from loans that passed their due date without a full buyback.
| Parameter | Type | Required | Description |
|---|---|---|---|
| loan_ids | array<string | integer> | yes | IDs of past-due loans you funded, from get_lender_position (1 to 50) |
build_set_auto_redeploy
Prepare auto re-lend setting
Returns the unsigned transaction to turn automatic re-lending of repaid principal on or off.
| Parameter | Type | Required | Description |
|---|---|---|---|
| enabled | boolean | yes | true to re-lend repaid principal automatically, false to keep it available to withdraw |
simulate_transaction
Simulate a transaction
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| to | string | yes | The step's to address, as returned by a build_ tool |
| data | string | yes | The step's calldata, as returned by a build_ tool |
| value | string | no | Native value in wei. Always 0 for Based Loans calls |
| from | string | yes | Wallet that would send the transaction |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://mcp.based.loans/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http basedloans https://mcp.based.loans/mcpCustomize > Connectors > + Add > Add custom connector ; Name : basedloans ; URL : https://mcp.based.loans/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : basedloans ; Server URL : https://mcp.based.loans/mcp ; Create as a plugin{
"mcpServers": {
"basedloans": {
"url": "https://mcp.based.loans/mcp"
}
}
}{
"mcpServers": {
"basedloans": {
"type": "http",
"url": "https://mcp.based.loans/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"basedloans": {
"url": "https://mcp.based.loans/mcp"
}
}
}{
"mcpServers": {
"basedloans": {
"httpUrl": "https://mcp.based.loans/mcp"
}
}
}[mcp_servers.basedloans]
url = "https://mcp.based.loans/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
Based Loans · L’Atlas · Tested on
[Based Loans — L’Atlas](https://latlas.dev/en/mcp/io.github.0xVarius/basedloans)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.