drpc-rpc

drpc-rpc is a skill for Claude Code from drpcorg/drpc-agent-skills. It costs 63 tokens per session (965 once invoked), scanned A, original, MIT.

A way to access blockchain networks through DRPC, a service that provides RPC endpoints. RPC is the interface software uses to request blockchain data or actions.

In plain words
What is it for?
Reading balances, transactions, blocks, gas prices, logs, and smart-contract data across supported Ethereum-compatible and other networks.
Why use it?
It avoids building separate connections for every blockchain network when an agent needs on-chain information or contract access.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the drpc-agent-skills plugin — 2 skills shipped together

Good fit Reading balances, transactions, blocks, gas prices, logs, and smart-contract data across supported Ethereum-compatible and other networks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/drpcorg/drpc-agent-skills/drpc-rpc
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add drpcorg/drpc-agent-skills --skill drpc-rpc
Clone the repo
git clone --depth 1 https://github.com/drpcorg/drpc-agent-skills

Made for: Claude Code.

Or install drpc-agent-skills, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for drpc-rpc

README.md
[![agentmods](https://agentmods.dev/badge/skills/drpcorg/drpc-agent-skills/drpc-rpc.svg)](https://agentmods.dev/skills/drpcorg/drpc-agent-skills/drpc-rpc)
Your own site
<a href="https://agentmods.dev/skills/drpcorg/drpc-agent-skills/drpc-rpc"><img src="https://agentmods.dev/badge/skills/drpcorg/drpc-agent-skills/drpc-rpc.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 965 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.00965
Opus 5 $0.00032 $0.00483
Sonnet 5 $0.00013 $0.00193
Haiku 4.5 $0.00006 $0.00097

Measured 8d ago against content hash 85780c76635e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

drpc-rpc scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

See [direct-http.md](direct-http.md) for the curl format.
skills/drpc-rpc/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DRPC RPC — Blockchain Access for AI Agents

100+ blockchains, 200+ networks via DRPC decentralized RPC gateway.

Step 1: Detect Transport

Check if DRPC MCP tools are available (look for list_networks, eth_getBalance, rpc_call).

  • MCP tools found → use them directly. Go to Step 5.
  • MCP tools NOT found → go to Step 2.

Step 2: Auto-Acquire API Key via x402

If you have access to an EVM wallet (private key or signer), try to get an API key automatically using the x402 protocol. See x402-auto-key.md for the full flow.

Summary:

  1. Sign in with wallet (SIWE) — if wallet is known, get key for free.
  2. If wallet is new, pay with USDC (EIP-3009) — get key after on-chain settlement.
  • Got api_key → go to Step 4.
  • No wallet or any failure → go to Step 3.

Step 3: Fallback — Ask User for API Key

Ask user for their DRPC API key. If they don't have one, direct them to https://drpc.org (free tier available).

Step 4: Configure MCP + Execute Current Request

Once you have an API key (from Step 2 or Step 3):

  1. Execute the current request now using direct HTTP calls — no restart needed. See direct-http.md for the curl format.
  2. Configure MCP for future sessions. See setup.md for platform-specific commands.
  3. Tell the user: "Done. Next session will use native MCP tools (faster)."

Step 5: Route by Query Type

User wants... Reference
Tool parameters, return formats tools-reference.md
Single-network query (balance, tx, block, gas, contract) recipes-simple.md
Multi-network comparison, cross-chain tracking recipes-crosschain.md
DeFi: portfolio, approvals, LP tokens, staking recipes-defi-basics.md
DeFi: Aave, Uniswap, Lido, Morpho, Curve recipes-defi-protocols.md
x402 auto-key flow x402-auto-key.md
Client-specific routing/repro (reth, geth, erigon, etc.) client-selection.md
Error handling, billing issue errors.md
Setup or reconfigure MCP setup.md

Read the full file on GitHub · 75 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 75 lines · 63 tokens per session scan A 85780c76635e

Subscribe to this mod's changes

drpc-rpc is a skill published in the GitHub repository drpcorg/drpc-agent-skills (23 stars, last pushed 2mo ago), licensed MIT. It adds 63 tokens to every session and 965 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories