solana-infra

solana-infra is a skill for Claude Code from rpc-edge/solana-infra-mcp. It costs 81 tokens per session (467 once invoked), scanned A, original, MIT.

A set of live-data tools for Solana, a blockchain network, covering its connection endpoints, transaction fees, chain timing, slot leaders, and transaction submission.

In plain words
What is it for?
Use it to monitor RPC health and latency, compare endpoints, estimate priority fees, inspect epochs and upcoming leaders, and submit a previously signed transaction with landing confirmation.
Why use it?
It lets agents check current network conditions instead of relying on fixed assumptions, and confirms actual on-chain inclusion after submission.

Skill for Claude Code

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

Part of the solana-infra plugin — 1 skill, 1 MCP server shipped together

Good fit Use it to monitor RPC health and latency, compare endpoints, estimate priority fees, inspect epochs and upcoming leaders, and submit a previously signed transaction with landing confirmation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rpc-edge/solana-infra-mcp/solana-infra
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 rpc-edge/solana-infra-mcp --skill solana-infra
Clone the repo
git clone --depth 1 https://github.com/rpc-edge/solana-infra-mcp

Made for: Claude Code.

Or install solana-infra, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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 solana-infra

README.md
[![agentmods](https://agentmods.dev/badge/skills/rpc-edge/solana-infra-mcp/solana-infra/github.svg)](https://agentmods.dev/skills/rpc-edge/solana-infra-mcp/solana-infra)
Your own site
<a href="https://agentmods.dev/skills/rpc-edge/solana-infra-mcp/solana-infra"><img src="https://agentmods.dev/badge/skills/rpc-edge/solana-infra-mcp/solana-infra/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for solana-infra

Your own site · 80×15
<a href="https://agentmods.dev/skills/rpc-edge/solana-infra-mcp/solana-infra"><img src="https://agentmods.dev/badge/skills/rpc-edge/solana-infra-mcp/solana-infra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 467 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00081 $0.00467
Opus 5 $0.00041 $0.00234
Sonnet 5 $0.00016 $0.00093
Haiku 4.5 $0.00008 $0.00047

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

Security

Grade A, and why

solana-infra scanned grade A with 0 findings 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 11d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/solana-infra/SKILL.md · 35 lines

What it actually says

Solana infra

These capabilities come from the solana-infra MCP server. Prefer them over guessing — they return live chain data.

When to reach for each tool

  • Pricing a transaction to land? Call priority_fee_estimate and set your compute-unit price near p75-p90 during congestion. Don't hardcode a fee.
  • Is an endpoint usable / how fast? rpc_health (version, slot, latency) and latency_compare (this endpoint vs a public baseline). Read latency is network-inclusive — it reflects distance to the server, not landing performance.
  • Timing a submission? next_leaders shows the upcoming slot leaders; epoch_info gives slot/epoch position.
  • Sending a transaction? Sign it upstream (the server never holds keys), then call submit_transaction with the base64-signed tx — it relays and confirms actual on-chain inclusion (landed slot + time), not just a sendTransaction success.

Configuration

Every tool defaults to SOLANA_RPC_URL (set it to a low-latency endpoint such as https://rpc.rpcedge.com/?api-key=…; unset → public mainnet-beta), or takes an explicit url argument. The API key stays in the environment and is never printed — only the host is shown.

Notes

  • All read tools are safe/side-effect-free. submit_transaction broadcasts a transaction you already signed — it does not sign anything itself.
  • For the metrics that reflect co-located infra (gRPC first-seen, landing under load), use the companion tool solbench run from your edge.
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. 11d ago First seen · 35 lines · 81 tokens per session scan A c1d9c482ab01

Subscribe to this mod's changes

solana-infra is a skill published in the GitHub repository rpc-edge/solana-infra-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 81 tokens to every session and 467 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories