MCP Server Studio

Based Loans MCP server

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

Registry name: io.github.0xVarius/basedloans

Publisher
0xVarius
Runs
Local or hosted
Package
npm
Version
0.1.4
Category
Finance & crypto
Updated
2026-11-18

Source code on GitHub

Set up Based Loans (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "basedloans": {
      "command": "npx",
      "args": [
        "-y",
        "@basedloans/[email protected]"
      ],
      "env": {
        "BASE_RPC_URL": "<BASE_RPC_URL>",
        "BASEDLOANS_READ_ONLY": "<BASEDLOANS_READ_ONLY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add basedloans -e BASE_RPC_URL='<BASE_RPC_URL>' -e BASEDLOANS_READ_ONLY='<BASEDLOANS_READ_ONLY>' -- npx -y @basedloans/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "basedloans": {
      "command": "npx",
      "args": [
        "-y",
        "@basedloans/[email protected]"
      ],
      "env": {
        "BASE_RPC_URL": "<BASE_RPC_URL>",
        "BASEDLOANS_READ_ONLY": "<BASEDLOANS_READ_ONLY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "basedloans": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@basedloans/[email protected]"
      ],
      "env": {
        "BASE_RPC_URL": "<BASE_RPC_URL>",
        "BASEDLOANS_READ_ONLY": "<BASEDLOANS_READ_ONLY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "basedloans": {
      "command": "npx",
      "args": [
        "-y",
        "@basedloans/[email protected]"
      ],
      "env": {
        "BASE_RPC_URL": "<BASE_RPC_URL>",
        "BASEDLOANS_READ_ONLY": "<BASEDLOANS_READ_ONLY>"
      }
    }
  }
}

Set up Based Loans (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "basedloans": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.based.loans/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http basedloans https://mcp.based.loans/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "basedloans": {
      "url": "https://mcp.based.loans/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "basedloans": {
      "type": "http",
      "url": "https://mcp.based.loans/mcp"
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "basedloans": {
      "serverUrl": "https://mcp.based.loans/mcp"
    }
  }
}

Settings

NameRequiredWhat it is
BASE_RPC_URLNoBase mainnet RPC URL. Defaults to the public endpoint.
BASEDLOANS_READ_ONLYNoSet to 1 to expose only read tools.

More finance & crypto MCP servers