npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rlp-agent-kit

v0.1.0

Published

MCP server that lets AI agents borrow and repay ETH on the Robinhood Lending Protocol.

Readme

RLP Agent Kit

An MCP server that lets any AI agent borrow and repay ETH on the Robinhood Lending Protocol (Robinhood Chain, chainId 4663). Install it into Claude Code, Claude Desktop, Cursor, or any MCP-capable agent, and RLP becomes a set of tools the agent can call.

What the agent gets

| Tool | What it does | Signs? | |---|---|---| | rlp_markets | List collateral tokens and protocol stats | No | | rlp_credit | A wallet's credit score, tier, and borrow limit | No | | rlp_loans | A wallet's loans and payoff amounts | No | | rlp_quote_borrow | Preview borrow terms without executing | No | | rlp_borrow | Borrow ETH against a token | Yes | | rlp_repay | Repay a loan in full and reclaim collateral | Yes |

Read tools work with no wallet. The two write tools sign from a dedicated agent wallet and are bounded by hard caps you set.

The safety fence

The agent signs on its own, but only inside a fence you control:

  • A dedicated agent wallet. You fund it with collateral tokens and a little ETH for gas. It is not your main wallet, so the blast radius is only what you put in it.
  • Per-loan cap (RLP_MAX_LOAN_ETH, default 0.05).
  • Daily cap (RLP_MAX_DAILY_ETH, default 0.2), tracked in a persistent ledger so it survives restarts.
  • Whitelist only. Borrows are restricted to RLP-whitelisted tokens (enforced by the protocol server-side too).
  • Funds can only ever move to the RLP treasury and back. There is no tool that sends funds anywhere else.

Leave RLP_AGENT_PRIVATE_KEY unset and the kit is read-only: the agent can research markets and credit but cannot move anything.

Install

npm install
npm run build

Configure

Environment variables:

| Variable | Default | Purpose | |---|---|---| | RLP_AGENT_PRIVATE_KEY | (none) | The agent wallet key. Omit for read-only mode. | | RLP_MAX_LOAN_ETH | 0.05 | Max ETH per single loan. | | RLP_MAX_DAILY_ETH | 0.2 | Max ETH borrowed per UTC day. | | RLP_ALLOW_WRITES | (on) | Set to 0 to force read-only even with a key present. | | RLP_API_URL | production | RLP API base URL. | | RLP_RPC_URL | public RH RPC | Robinhood Chain RPC. |

Claude Code

claude mcp add rlp -- node /absolute/path/to/agent-kit/dist/index.js

Then set the env vars in your shell, or add an env block to the generated config.

Claude Desktop / Cursor (mcp config JSON)

{
  "mcpServers": {
    "rlp": {
      "command": "node",
      "args": ["/absolute/path/to/agent-kit/dist/index.js"],
      "env": {
        "RLP_AGENT_PRIVATE_KEY": "0x...",
        "RLP_MAX_LOAN_ETH": "0.05",
        "RLP_MAX_DAILY_ETH": "0.2"
      }
    }
  }
}

Example agent flow

"Check my RLP credit, then borrow 0.02 ETH against my HOPPY for 3 days."

  1. rlp_credit reports the score and limit.
  2. rlp_quote_borrow previews the exact terms.
  3. rlp_borrow locks the collateral and disburses the ETH, within the caps.

Later:

"Repay loan 1183."

rlp_loans finds the payoff, rlp_repay sends it and reclaims the collateral, which lifts the credit score for next time.

Security notes

  • Treat the agent wallet key like any hot-wallet key. Fund it with only what the caps allow it to spend.
  • The caps are the whole safety story. Set them to the smallest values that let the agent do its job.
  • This kit signs Robinhood Chain (EVM) loans. Solana-collateral loans are not covered.