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

@junct/etherscan-api

v0.1.0

Published

etherscan-api tools for AI agents — 71 tools, MCP + OpenAI compatible. Generated by Junct.

Readme

@junct/etherscan-api

etherscan-api tools for AI agents — 71 tools

Generated by Junct. analytics domain.

Install

npm install @junct/etherscan-api

Usage — OpenAI

import { tools } from '@junct/etherscan-api';
import OpenAI from 'openai';

const client = new OpenAI();
const response = await client.chat.completions.create({
  model: 'gpt-4o',
  messages: [{ role: 'user', content: 'Query etherscan-api' }],
  tools,
});

Usage — MCP (Claude Desktop / Cursor)

Add to your MCP config:

{
  "mcpServers": {
    "etherscan-api": {
      "url": "https://etherscan-api.mcp.junct.dev/mcp",
      "transport": "streamable-http"
    }
  }
}

Usage — Direct Call

import { callTool } from '@junct/etherscan-api';

const result = await callTool('get_ether_balance_for_a_single_address', {});
console.log(result);

Tools (71)

  • get_ether_balance_for_a_single_address — Get Ether Balance for a Single Address — Returns the Ether balance of a given ad
  • get_ether_balance_for_multiple_addresses_in_a_single_call — Get Ether Balance for Multiple Addresses in a Single Call — Returns the balance
  • get_a_list_of_normal_transactions_by_address — Get a list of 'Normal' Transactions By Address — Returns the list of transaction
  • get_a_list_of_internal_transactions_by_address — Get a list of 'Internal' Transactions by Address — Returns the list of internal
  • get_internal_transactions_by_transaction_hash — Get 'Internal Transactions' by Transaction Hash — Returns the list of internal t
  • get_internal_transactions_by_block_range — Get "Internal Transactions" by Block Range — Returns the list of internal transa
  • get_a_list_of_erc20_token_transfer_events_by_address — Get a list of 'ERC20 - Token Transfer Events' by Address — Returns the list of E
  • get_a_list_of_erc721_token_transfer_events_by_address — Get a list of 'ERC721 - Token Transfer Events' by Address — Returns the list of
  • get_a_list_of_erc1155_token_transfer_events_by_address — Get a list of 'ERC1155 - Token Transfer Events' by Address — Returns the list of
  • get_list_of_blocks_validated_by_address — Get list of Blocks Validated by Address — Returns the list of blocks validated b
  • get_beacon_chain_withdrawals_by_address_and_block_range — Get Beacon Chain Withdrawals by Address and Block Range — Returns the beacon cha
  • get_historical_ether_balance_for_a_single_address_by_blockno — Get Historical Ether Balance for a Single Address By BlockNo — Returns the balan
  • get_contract_abi_for_verified_contract_source_codes — Get Contract ABI for Verified Contract Source Codes — Returns the Contract Appli
  • get_contract_source_code_for_verified_contract_source_codes — Get Contract Source Code for Verified Contract Source Codes — Returns the Solidi
  • get_contract_creator_and_creation_tx_hash — Get Contract Creator and Creation Tx Hash — Returns a contract's deployer addres
  • ... and 56 more

Links

  • Server: https://etherscan-api.mcp.junct.dev/mcp
  • Dashboard: https://junct.dev/servers/etherscan-api
  • All servers: https://junct.dev/servers