Ankr (Web3 Node API)

Ankr (Web3 Node API) MCP Connector for Claude

A+

Access high-performance Web3 RPC nodes via Ankr. Query block data, check wallet balances, and interact with smart contracts across multiple EVM chains.

32 tools Official Updated Oct 1, 2026 Official Vinkius Partner

Connect your AI agent to Ankr's global node infrastructure and interact with blockchain data through natural language. This server provides a direct bridge to Ethereum and other EVM-compatible chains.

What you can do

  • Chain Queries — Fetch the latest block numbers and detailed block information by hash or number across supported networks.
  • Account Auditing — Check wallet balances, transaction counts (nonces), and retrieve the smart contract code at any address.
  • Transaction Analysis — Inspect transaction details and receipts, or estimate gas costs for potential on-chain operations.
  • Smart Contract Interaction — Execute eth_call to read contract states or simulate complex multi-transaction scenarios with eth_simulateV1.
  • State Inspection — Access raw storage slots with eth_getStorageAt and filter event logs with eth_getLogs for deep data analysis.

How it works

  1. Subscribe to this server
  2. Enter your Ankr JWT Token
  3. Start querying blockchain data from Claude, Cursor, or any MCP-compatible client

No more manual JSON-RPC requests or complex Postman setups. Your AI acts as a blockchain developer or data analyst.

Who is this for?

  • Web3 Developers — quickly debug smart contracts, check nonces, and verify deployments directly from the IDE.
  • DeFi Researchers — analyze on-chain state, simulate transactions, and fetch historical logs without writing custom scripts.
  • Data Analysts — retrieve real-time blockchain metrics and block data for reporting and monitoring.
web3ethereumrpc-nodeevmblockchain-api

32 tools expose this connector's capabilities to your AI agent.

eth_getTransactionByHash

Use this to check transaction status. Returns transaction details

ankr_getInteractions

Supply the chain alias and the wallet address. Lists all blockchains a wallet has interacted with

ankr_getNFTMetadata

Provide the chain alias and contract address. Retrieves metadata for a specific NFT

ankr_getTokenPrice

Provide the chain alias and token identifier. Returns the current USD price of a token

eth_estimateGas

Use this to prevent transaction failures due to insufficient gas. Estimates gas needed for a transaction

eth_getCode

Use this to verify contract deployment. Returns the code at a given address

eth_getTransactionReceipt

Use this to confirm execution results. Returns the receipt of a transaction

eth_sendRawTransaction

Ensure the transaction is correctly signed before calling this tool. Submits a signed transaction to the network

getAccountInfo

Supply the Pubkey for the target account. Returns all info associated with a Pubkey

getBlock

Specify the chain alias and block number. Returns identity and transaction info for a confirmed block

getTransaction

Provide the chain alias and transaction signature. Returns details for a confirmed transaction

eth_blockNumber

Returns the most recent block number

ankr_getTokenTransfers

Supply the chain alias and the target address or token. Returns historical token transfer data

eth_getBlockByHash

Use this to verify block existence. Returns block information by hash

eth_getBalance

Use this to check the available funds. Returns the balance of an address

eth_getBlockByNumber

Use this to check block history. Returns block information by number

eth_getTransactionCount

Use this value when constructing a new transaction. Returns the number of transactions sent from an address (nonce)

getBlockHeight

Only the chain alias is required. Returns the current block height

simulateTransaction

Provide the chain alias and the transaction object. Simulates a transaction to check for errors

ankr_getAccountBalance

Supply the chain alias and wallet address. Retrieves all token balances for a wallet

getLatestBlockhash

Specify the target chain alias. Returns the latest blockhash for transaction building

ankr_getBlocks

Supply the chain alias and the block range object. Retrieves full info for a range of blocks

ankr_getNFTHolders

Supply the chain alias and collection identifier. Lists all holders of a specific NFT collection

ankr_getNFTsByOwner

Provide the chain alias and wallet address. Retrieves all NFTs owned by an address across multiple chains

eth_call

Use this for pre-transaction validation. Executes a call without creating a transaction

eth_getLogs

Provide the required filter_criteria object. Returns logs matching filter criteria

eth_getStorageAt

Provide the contract address and storage slot. Returns the value from a storage position

eth_simulateV1

Provide a payload detailing the simulation scope. Simulates multiple blocks/transactions

getBalance

Include both the chain alias and account Pubkey. Returns the lamport balance of an account

getEpochInfo

Specify the target chain alias. Returns information about the current epoch

getProgramAccounts

Provide the chain alias and program ID. Returns all accounts owned by a program

sendTransaction

Provide the chain alias and the signed transaction data. Submits a signed transaction

See how to talk to your AI agent using Ankr (Web3 Node API).

What is the latest block number on Ethereum?

I've checked the Ethereum network. The most recent block number is 19,245,812.

Check the balance of address 0x742d35Cc6634C0532925a3b844Bc454e4438f44e on the 'eth' chain.

The balance for that address on Ethereum is 1,500,000,000,000,000,000 Wei (1.5 ETH).

Get the transaction receipt for hash 0x5c504ed432cb511db3b32169e5444570f9d0cad662f6e19df34ad57d57ad5 on eth.

I've retrieved the receipt. The transaction was successful, included in block 18,450,210, and used 21,000 gas.

Use the `eth_blockNumber` tool and provide the `chain_alias` (e.g., 'eth' for Ethereum). The agent will return the most recent block number recorded on that chain.

Related Connectors