Ankr Agent RPC logo

Ankr Agent RPC

Read decoded blockchain data across 200+ networks and Sui through Ankr RPC using MCP tools.

Install Ankr Agent RPC

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ankr-agent-rpc": {
      "command": "npx",
      "args": [
        "-y",
        "@w3tech.io/agent-rpc-mcp"
      ],
      "env": {
        "ANKR_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 25 tools correctly ().

Overview

An Ankr Agent RPC MCP server connects AI agents to Ankr RPC for read-only blockchain queries across 200+ networks and Sui. It provides focused tools for transactions, logs, blocks, balances, tokens, NFTs, cross-chain activity, and Sui Move data, plus a generic read-only RPC escape hatch. Responses can use TORPC formatting and ABI decoding, while paged results can be continued with cursors. Reach for it when an agent needs multi-chain blockchain reads without wallet signing or transaction submission.

Use cases

  • Inspect transactions and receipts across supported networks
  • Track wallet activity, balances, NFTs, and token holdings
  • Query decoded contract logs over paged block ranges
  • Explore Sui Move objects, packages, and events
  • Run permitted read-only JSON-RPC methods

Key features

  • Multi-chain EVM and Sui blockchain reads
  • ABI-decoded transactions and event logs
  • Balances, prices, NFTs, and token holders
  • Cross-chain address activity and chain discovery
  • Read-only JSON-RPC escape hatch
  • Sui Move object and event tooling

Tools25

What Ankr Agent RPC lets your agent do. Expand a tool for its parameters.

Verified live~8.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

8/8 checks healthy over the last 32d

What it can do

From the 25 tools this server returned when we ran it; 25 declare their own safety hints.

Runs commands · 1Handles credentials · 10Makes network requests · 24Read-only tools · 24
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceNot published
Package age80 days
Maintainers3

Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · @w3tech.io/agent-rpc-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.1kPackage downloads in the last 30 days.
Last commit13d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed25Callable tools this server registers over MCP.

How Ankr Agent RPC works

What Ankr Agent RPC does

An Ankr Agent RPC MCP server gives MCP-compatible agents structured access to blockchain reads through Ankr RPC. It covers EVM-compatible networks and Sui, with separate routing for Sui's gRPC-based data path. The server does not act as a wallet or signer: transaction construction, signing, broadcast, and other mutating operations are rejected.

For EVM-oriented work, the focused tools retrieve transactions and receipts, blocks, decoded event logs, native and ERC-20 balances, wallet activity, NFTs, token holders, prices, price history, and cross-chain address interactions. Agents can also inspect contracts, resolve hashes and addresses, discover supported chains, and continue paginated responses. Sui tools cover Move objects, owned objects, dynamic fields, packages, function signatures, SuiNS names, transaction simulation, and resumable event watching.

How it works

The Ankr Agent RPC MCP server can be used as a hosted MCP endpoint or launched locally over stdio. The hosted endpoint is https://mcp.ankr.com/rpc; callers provide their own API key in the x-ankr-api-key header or as a bearer token. Local deployments use the @w3tech.io/agent-rpc-mcp package and read ANKR_API_KEY from the environment.

Most EVM reads are sent through TORPC. Tier 1 normalizes fields and numeric values, while tier 2 adds ABI decoding for supported transactions and logs. The actual tier is reported in _meta.tier, so clients should inspect that field before expecting decoded fields. Sui calls use gRPC and may include node-decoded Move event arguments even when the response reports tier 0.

rpcCall forwards read methods not covered by the specialized tools, subject to the endpoint's chain schema and tenant permissions. It refuses writes, signing, transaction submission, transaction building, administrative methods, and the mutating portion of the debug_* namespace.

Setup and configuration

Create an Ankr RPC API key before connecting. For a hosted configuration, add the MCP URL and pass the key as a request header. For a local configuration, run the package with npx -y and set ANKR_API_KEY in the client environment. The README gives configuration examples for Claude Desktop, Cursor, and Windsurf, and the same JSON can be adapted for other MCP clients.

Use chain: "sui" for supported general tools when querying Sui. EVM-only operations such as resolveContract and searchChain refuse Sui requests and identify the Sui-specific alternative where one exists.

Tools and capabilities

The Ankr Agent RPC MCP server exposes 25 tools, including:

  • Retrieve transactions, receipts, blocks, decoded logs, balances, token data, NFTs, and wallet activity.
  • Resolve contracts, hashes, block numbers, addresses, supported chains, and JSON-RPC method parameters.
  • Continue paginated results with expandResult.
  • Call additional read-only JSON-RPC methods with rpcCall.
  • Query Sui objects, packages, functions, names, dynamic fields, and owned objects.
  • Simulate a Sui transaction without submitting it and watch Move events from a resumable cursor.

Amounts in decoded results remain raw base units. Agents should obtain token decimals, such as through resolveContract, before presenting human-readable values. Block numbers above 2^53 should be passed as strings to avoid JSON precision loss.

Limitations and notes

API access, chain coverage, indexer availability, and permitted RPC methods vary by chain and tenant. listChains reports relevant coverage information, while a forwarded method can still be refused by the blockchain schema.

Wide log ranges may be chunk-scanned and paged. Many indexed results are paginated, so clients must retain and pass cursors when using expandResult. Responses are minified and include metadata such as token counts; token counts use the o200k_base tokenizer and may be estimated for larger output. ABI decoding is not guaranteed on every call because the proxy can return tier 0 when a response exceeds its compression budget or when a method is not compressed.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ankr Agent RPC

Ankr Agent RPC is an MCP server that connects AI agents to Ankr RPC across 200+ networks and Sui. Its main tools read transactions, logs, blocks, balances, tokens, NFTs, wallet activity, and Sui Move data, while `rpcCall` provides additional permitted read-only JSON-RPC methods.

Run it locally with `npx -y @w3tech.io/agent-rpc-mcp` and set `ANKR_API_KEY` to an Ankr RPC key. You can instead use the hosted endpoint at `https://mcp.ankr.com/rpc` and provide the key through the `x-ankr-api-key` header or bearer authorization.

Yes, Ankr Agent RPC works with Cursor. Add the hosted MCP URL and API-key header to Cursor's MCP configuration, or use Cursor's command form with `ANKR_API_KEY` and the local `npx` command.

No, Ankr Agent RPC cannot sign, build, or broadcast transactions. Its `rpcCall` tool is read-only and rejects transaction submission, signing, transaction building, mutating methods, and specified administrative operations.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAnkr Agent RPC AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ankr-agent-rpc?style=directory)](https://allmcps.com/mcp/ankr-agent-rpc)
HTML Embed
<a href="https://allmcps.com/mcp/ankr-agent-rpc"><img src="https://allmcps.com/api/badge/ankr-agent-rpc?style=directory" alt="Ankr Agent RPC on AllMCPs" /></a>