Based Loans
io.github.0xVarius/basedloans
Serveur MCP OK 19 outils
À quoi ça sert
Permet de consulter des prêts en USDC garantis par des tokens Base : marchés, rapport de risque, devis d'emprunt, positions, et préparation de transactions non signées.
Résumé rédigé par L’Atlas le 29 nov. 2026, reformulé seulement à partir de la description de l’auteur et des outils vus par notre test. Texte de l’auteur ci-dessous.
Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.
Fiche technique
- Auteur
- 0xVarius (espace de noms du registre)
- Dépôt
- github.com/0xVarius/basedloans-agents
- Site
- based.loans
- Version
- 0.1.4
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mcp.based.loans/mcp Streamable HTTP
- Paquets
- @basedloans/mcp 0.1.3 npm stdio
- Outils
- 19
- Catégories
- —
- Dernière mise à jour
- 18 nov. 2026
- Publication
- 18 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.0xVarius/basedloans)<a href="https://latlas.dev/mcp/io.github.0xVarius/basedloans"><img src="https://latlas.dev/badge/fiche/io.github.0xVarius/basedloans.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://mcp.based.loans/mcp
- Dernier résultat
- OK 28 nov. 2026, 11:10
- Temps de réponse
- 463 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- basedloans 0.1.2
- Outils
- 19
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 11:10 | OK | 463 ms | 19 |
Outils exposés (19, réponse à 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.
Aucun paramètre.
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| only_with_funds | boolean | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| asset | string | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| asset | string | oui | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| skip_depth | boolean | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| asset | string | oui | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| collateral_amount | string | oui | Collateral to offer, in token units, e.g. 0.5 |
| loan_amount_usdc | string | non | Loan amount before the fee. Omit to borrow the most the collateral allows. |
| term | enum: "short" | "medium" | "long" | integer | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| loan_id | string | integer | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| borrower | string | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| lender | string | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| token | string | oui | 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.
Aucun paramètre.
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| asset | string | oui | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| collateral_amount | string | oui | 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 | non | Loan amount before the fee, in USDC. Omit to borrow the most the collateral allows |
| term | enum: "short" | "medium" | "long" | integer | oui | Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info. |
| borrower | string | oui | Wallet that will sign; used to skip unneeded approvals and check balances |
| max_shortfall_bps | integer | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| loan_id | string | integer | oui | Loan ID |
| payment_usdc | string | non | USDC to pay. Omit to pay everything left and get all collateral back |
| borrower | string | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| amount_usdc | string | oui | USDC to deposit, e.g. 500 |
| lender | string | oui | Lender wallet that will sign; used to skip unneeded approvals and check balances |
| limits | array<object> | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limits | array<object> | oui | Tokens and the max USDC to lend against each |
| lender | string | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| amount_usdc | string | string | oui | USDC to withdraw, or "max" for everything not in active loans |
| lender | string | oui | Lender wallet that will sign |
| as_musdc | boolean | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| loan_ids | array<string | integer> | oui | IDs of loans you funded, from get_lender_position (1 to 50) |
| mode | enum: "withdraw" | "redeploy" | non | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| loan_ids | array<string | integer> | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| enabled | boolean | oui | 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| to | string | oui | The step's to address, as returned by a build_ tool |
| data | string | oui | The step's calldata, as returned by a build_ tool |
| value | string | non | Native value in wei. Always 0 for Based Loans calls |
| from | string | oui | Wallet that would send the transaction |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mcp.based.loans/mcp. Formats repris de la documentation de chaque client.
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"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Based Loans · L’Atlas · Test du
[Based Loans — L’Atlas](https://latlas.dev/mcp/io.github.0xVarius/basedloans)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.