Based Loans
NPM · @BASEDLOANS/MCP · 2 COMPONENTS
Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.
Available components
Last scanned (13 hours ago)
Scores higher than 38% of npm servers
Category Crypto and Web3
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security81
- No malware found by supply-chain analysis.Pass
- CVE check failed: a known high-severity CVE affects zod 3.25.76, a direct dependency. A fixed version is available. View diagnostics → Fail
- No install/post-install scripts declared.Pass
- 30 of 111 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency45
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 3 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability75
- AI-judged instruction clarity (good).Pass
- Context-footprint check failed: tool/resource definitions use about 2059 tokens (~108/item across 19 items; 19 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management17
- Stability observed for 5 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety75
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- 0 of 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "build_withdraw" implies "withdraw" and declares readOnlyHint instead, contradicting what its own name says it does. See how to fix → Fail
- An AI judge read all 20 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Checks we ran (16)
- Malware scan
- Known CVEs
- Install scripts
- Dependency health
- Source repository
- Provenance
- License
- Maintenance
- Security disclosure
- Schema quality
- Stability
- Tool coverage
- Injection markers
- Destructive annotations
- Judged manipulation
- MCP protocol
Does not apply to this package (2)
- Endpoint SecurityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
- Transport & ReachabilityScored on hosted endpoints only. A package has no live endpoint of its own for us to probe.
The score does not measure everything. What the score does not measure →
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 21 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 13 to 17. That category is still filling its 30-day observation window: 4 days of observed history at the previous scan, 5 at this one. The score rises as the window fills, whether or not the server changes.
- 19 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 7 to 10. That category is still filling its 30-day observation window: 2 days of observed history at the previous scan, 3 at this one. The score rises as the window fills, whether or not the server changes.
- 18 Nov 26 +4
- Malware scan: pass → unverified ▼ security
- Schema quality: pass → fail ▼ functional
- Tool coverage: 41% → 100% ▲ functional
- Stability: unverified → 0.07 ▲ functional
- Package version: 0.1.1 → 0.1.3 functional
- 16 Nov 26 60
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 21 Nov 2026 · Analysed npm/@basedloans/mcp@0.1.3
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | npm |
Background: How many MCP packages publish verified provenance →
Vulnerabilities 1 finding
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-mrhx-c7xc-m3w5 | CVE-2023-54404 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
Background: What a vulnerability scan can and cannot prove →
Dependencies 111 packages
| Packages resolved | 111 |
|---|---|
| Stale | 30 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
build_borrow Prepare a loan ~224
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.
| Name | Type | Req | Description |
|---|---|---|---|
| asset | string | yes | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| borrower | string | yes | Wallet that will sign; used to skip unneeded approvals and check balances |
| 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 | – | Loan amount before the fee, in USDC. Omit to borrow the most the collateral allows |
| max_shortfall_bps | integer | – | Max gap between requested and funded amount in basis points. Omit for the protocol default. |
| term | – | yes | Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info. |
No output schema declared.
No examples provided.
build_buyback Prepare a buyback ~103
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.
| Name | Type | Req | Description |
|---|---|---|---|
| borrower | string | yes | Borrower wallet that will sign; must be the wallet that opened the loan |
| loan_id | – | yes | Loan ID |
| payment_usdc | string | – | USDC to pay. Omit to pay everything left and get all collateral back |
No output schema declared.
No examples provided.
build_claim_collateral Prepare a collateral claim ~63
Returns the unsigned transaction for a lender to claim their share of collateral from loans that passed their due date without a full buyback.
| Name | Type | Req | Description |
|---|---|---|---|
| loan_ids | array | yes | IDs of past-due loans you funded, from get_lender_position (1 to 50) |
No output schema declared.
No examples provided.
build_claim_proceeds Prepare a proceeds claim ~98
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.
| Name | Type | Req | Description |
|---|---|---|---|
| loan_ids | array | yes | IDs of loans you funded, from get_lender_position (1 to 50) |
| mode | string | – | withdraw sends the USDC to your wallet (default); redeploy puts it back into lending |
No output schema declared.
No examples provided.
build_deposit Prepare a lending deposit ~120
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.
| Name | Type | Req | 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 | – | Per-token lending limits to set in the same transaction. A first deposit needs at least one to be lent |
No output schema declared.
No examples provided.
build_set_auto_redeploy Prepare auto re-lend setting ~53
Returns the unsigned transaction to turn automatic re-lending of repaid principal on or off.
| Name | Type | Req | Description |
|---|---|---|---|
| enabled | boolean | yes | true to re-lend repaid principal automatically, false to keep it available to withdraw |
No output schema declared.
No examples provided.
build_set_limits Prepare per-token lending limits ~70
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.
| Name | Type | Req | Description |
|---|---|---|---|
| lender | string | yes | Lender wallet that will sign |
| limits | array | yes | Tokens and the max USDC to lend against each |
No output schema declared.
No examples provided.
build_withdraw Prepare a withdrawal ~115
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.
| Name | Type | Req | Description |
|---|---|---|---|
| amount_usdc | – | yes | USDC to withdraw, or "max" for everything not in active loans |
| as_musdc | boolean | – | Receive mUSDC vault shares instead of USDC, skipping the 0.25% withdrawal fee |
| lender | string | yes | Lender wallet that will sign |
No output schema declared.
No examples provided.
explain_collateral_types Collateral types explained ~49
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.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
get_borrower_loans Borrower's loans ~55
Every loan a wallet has opened, with status (active, partially_repaid, repaid, defaulted), buyback remaining and time until due.
| Name | Type | Req | Description |
|---|---|---|---|
| borrower | string | yes | Borrower wallet address on Base |
No output schema declared.
No examples provided.
get_lender_position Lender position ~63
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.
| Name | Type | Req | Description |
|---|---|---|---|
| lender | string | yes | Lender wallet address on Base |
No output schema declared.
No examples provided.
get_loan Get a loan ~36
Status, collateral, buyback cost and remaining amount, due date and lenders for one loan.
| Name | Type | Req | Description |
|---|---|---|---|
| loan_id | – | yes | Loan ID |
No output schema declared.
No examples provided.
get_market Get one collateral token ~61
Price, max loan-to-value, USDC available to borrow, active loans and pricing type for one token.
| Name | Type | Req | Description |
|---|---|---|---|
| asset | string | yes | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
No output schema declared.
No examples provided.
get_protocol_info Protocol info ~47
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.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
get_risk_report Token risk report ~145
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.
| Name | Type | Req | Description |
|---|---|---|---|
| asset | string | yes | Token contract address on Base (preferred) or its symbol, e.g. WETH, VIRTUAL, esALB |
| skip_depth | boolean | – | Skip the pool depth calculation (faster) |
No output schema declared.
No examples provided.
list_markets List collateral tokens ~75
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.
| Name | Type | Req | Description |
|---|---|---|---|
| only_with_funds | boolean | – | Only tokens with USDC available to borrow right now |
No output schema declared.
No examples provided.
quote_borrow Quote a loan ~188
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.
| Name | Type | Req | 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 | – | Loan amount before the fee. Omit to borrow the most the collateral allows. |
| term | – | yes | Loan term: short, medium or long (or 0/1/2). Durations and costs come from get_protocol_info. |
No output schema declared.
No examples provided.
request_token_listing Request a new token ~59
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.
| Name | Type | Req | Description |
|---|---|---|---|
| token | string | yes | Token contract address on Base |
No output schema declared.
No examples provided.
simulate_transaction Simulate a transaction ~119
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.
| Name | Type | Req | Description |
|---|---|---|---|
| data | string | yes | The step's calldata, as returned by a build_ tool |
| from | string | yes | Wallet that would send the transaction |
| to | string | yes | The step's to address, as returned by a build_ tool |
| value | string | – | Native value in wei. Always 0 for Based Loans calls |
No output schema declared.
No examples provided.
How do I install the Based Loans MCP server?
Based Loans runs locally as an npm package, launched with npx -y @basedloans/mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · @basedloans/mcp
claude mcp add 0xvarius-basedloans -- npx -y @basedloans/mcp
What is the Based Loans MCP server?
Based Loans is an MCP server listed in the public MCP registry as io.github.0xVarius/basedloans. Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs. This page covers its npm package (@basedloans/mcp).
Is the Based Loans MCP server safe to use?
Based Loans scores 66 out of 100 on VerifyMCP. We recorded 1 known advisory against it as of 21 November 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Based Loans MCP server expose?
Based Loans exposes 19 tools: get_protocol_info, list_markets, get_market, get_risk_report, quote_borrow, and 14 more. Their descriptions and schemas cost roughly 1,743 tokens of context every time the server is loaded.
Is the Based Loans MCP server still maintained?
Based Loans is still listed as active in the MCP registry. We last reached this channel on 21 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Based Loans MCP server under?
Based Loans declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.
What did VerifyMCP test on the Based Loans MCP server?
VerifyMCP ran 16 checks on Based Loans, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.