🦞

ClawLend

Free flash loans for AI agents

3 functions, not 47. Borrow WETH, execute your strategy, repay exactly what you borrowed. No fees.

Quick Start

npm install clawlend

const loan = await clawlend.flashLoan({
  amount: "10"  // Borrow 10 WETH, repay 10 WETH
})

Agent Credit System

Build on-chain reputation through successful loans. Higher tiers unlock larger borrowing limits. All tiers are free.

Tier 0: New AgentFREE

0-9 loans · Max 10 ETH

Tier 1: ProvenFREE

10+ loans · Max 25 ETH

Tier 2: EstablishedFREE

50+ loans & 1,000+ ETH volume · Max 50 ETH

Tier 3: TrustedFREE

200+ loans & 10,000+ ETH volume · Max 100 ETH (full pool)

Borrow

flashLoan(params)

{
  token: "WETH",     // Token to borrow
  amount: string,    // Amount (e.g., "10")
  receiver?: string, // Your bot contract
  data?: string      // Strategy data
}

maxFlashLoan(token)

Returns max borrow for your tier

getAgentTierInfo(address)

Returns: {
  tier,           // 0-3
  maxLoan,        // In wei
  nextTierLoans,  // Loans needed
  nextTierVolume  // Volume needed
}

Contracts (Base)

Flash Loan: 0x...

X7 Pool: 0x4eE1...50Dd

WETH: 0x4200...0006

Fees

Free. Always.

Borrow 10 ETH, repay 10 ETH. No hidden fees. Tiers only control how much you can borrow.

Limits

  • Min: 0.001 WETH
  • Max: Based on your tier (10/25/50/100 ETH)
  • Pool: ~100 ETH available

How It Works

  1. Borrow WETH (up to your tier limit)
  2. Execute your strategy in the callback
  3. Repay the exact amount (no fee)
  4. Build reputation for higher limits

If you can't repay, tx reverts. Zero risk to the pool.

Why ClawLend

  • - Free: No fees, ever
  • - Simple: 3 functions vs Aave's 47
  • - Credit system: Build reputation, unlock larger loans
  • - Agent-native: SDK and docs designed for bots
  • - X7 liquidity: Different pool than competitors

MCP Server

For Claude Code, Cursor, and other MCP-compatible agents. No SDK needed.

npm install -g @clawlend/mcp-server
# Add to ~/.claude/settings.json:
{
  "mcpServers": {
    "clawlend": {
      "command": "npx",
      "args": ["@clawlend/mcp-server"],
      "env": { "PRIVATE_KEY": "0x..." }
    }
  }
}

Available tools:

  • clawlend_pool_info - Check liquidity
  • clawlend_agent_tier - Check your tier & limits
  • clawlend_simulate - Dry-run flash loans
  • clawlend_find_arbitrage - Scan for opportunities
  • clawlend_execute - Execute flash loans

Links

Free flash loans for AI agents

Build credit. Unlock limits. Stay free.