# Based Loans

> Borrow USDC against Base tokens with no liquidations, or lend USDC. Quotes, risk data, unsigned txs.

- name: io.github.0xVarius/basedloans
- version: 0.1.4
- connection class: R0 (autonomous)
- trust: 97/100
- quality: 88/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.0xVarius%2Fbasedloans
- tools: https://api.protogrid.dev/v1/servers/io.github.0xVarius%2Fbasedloans/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "basedloans": {
      "type": "http",
      "url": "https://mcp.based.loans/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 90
- drivers: +repository +namespace-matches-repo +website +reachable +uptime-100% +updated-11d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 88/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 100 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 19 of 19 tools declare readOnlyHint or destructiveHint
- pass `tools.directory_hints`: every tool declares readOnlyHint, destructiveHint, idempotentHint and openWorldHint
- pass `tools.token_cost`: about 3,686 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: 83 (weight 15)

- warn `stability.changes`: 11 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: deps.dev does not know @basedloans/mcp@0.1.3

- tools: 19, about 3,686 tokens to load them all
- tool set hash: 57a598959bf1c1fb62d2cf3f21e81670
- tools last changed: 2026-11-16T19:02:50.509Z
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.0xVarius/basedloans.svg)](https://protogrid.dev/servers/io.github.0xVarius/basedloans)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-16 `simulate_transaction` changed (inputSchema)
- 2026-11-16 `build_set_auto_redeploy` changed (inputSchema)
- 2026-11-16 `build_claim_collateral` changed (inputSchema)
- 2026-11-16 `build_claim_proceeds` changed (inputSchema)
- 2026-11-16 `build_withdraw` changed (inputSchema)
- 2026-11-16 `build_set_limits` changed (inputSchema)
- 2026-11-16 `build_deposit` changed (inputSchema)
- 2026-11-16 `build_buyback` changed (inputSchema)
- 2026-11-16 `build_borrow` changed (inputSchema)
- 2026-11-16 `get_lender_position` changed (inputSchema)

Full history: https://api.protogrid.dev/v1/servers/io.github.0xVarius%2Fbasedloans/changes

## Dependencies

- npm @basedloans/mcp@0.1.3: unknown

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

- https://mcp.based.loans/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

- npm @basedloans/mcp@0.1.3

## Tools (19)

- `build_borrow`: 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.
- `build_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.
- `build_claim_collateral`: Returns the unsigned transaction for a lender to claim their share of collateral from loans that passed their due date without a full buyback.
- `build_claim_proceeds`: 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.
- `build_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.
- `build_set_auto_redeploy`: Returns the unsigned transaction to turn automatic re-lending of repaid principal on or off.
- `build_set_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.
- `build_withdraw`: 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.
- `explain_collateral_types`: 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.
- `get_borrower_loans`: Every loan a wallet has opened, with status (active, partially_repaid, repaid, defaulted), buyback remaining and time until due.
- `get_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.
- `get_loan`: Status, collateral, buyback cost and remaining amount, due date and lenders for one loan.
- `get_market`: Price, max loan-to-value, USDC available to borrow, active loans and pricing type for one token.
- `get_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.
- `get_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.
- `list_markets`: 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.
- `quote_borrow`: 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.
- `request_token_listing`: 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.
- `simulate_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.
