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

@starkscan/mcp

v0.3.0

Published

MCP launcher for using Starkscan API tools from agent clients.

Readme

@starkscan/mcp

MCP launcher for connecting agent clients to Starkscan tools.

Release target: 0.3.0. This release carries the address-activity truth schema through the matching CLI and hosted MCP tool contract. Use the untagged command only after the live latest verifier passes; pin 0.3.0 for reproducible configs after that promotion.

Default command

npx -y @starkscan/mcp

Exact pin for unattended services:

npx -y @starkscan/[email protected]

Prerelease tags such as @beta are maintainer-directed test channels only. Normal users and agents should use the default package or the exact 0.3.0 pin above.

The published global binary name is starkscan-mcp, not mcp, to avoid colliding with unrelated MCP tools. Prefer the package-scoped npx command above for agent client configs.

With no arguments, the launcher runs:

starkscan mcp start --transport remote

It delegates to the exact matching @starkscan/cli package, which verifies and executes the prebuilt native Starkscan binary.

Environment

export STARKSCAN_API_KEY="<store this in your shell or MCP host secret store>"
export STARKSCAN_CHAIN="SN_MAIN"
# Optional: only set this for preview or self-hosted hosts.
# export STARKSCAN_BASE_URL="https://preview.example.com/api"

The launcher defaults to https://api.starkscan.co; do not set STARKSCAN_BASE_URL for normal hosted production use. Keep API keys in the MCP host secret store or shell environment, not in committed config files.

Common commands

npx -y @starkscan/[email protected] print-config --transport remote
npx -y @starkscan/[email protected] tools
npx -y @starkscan/[email protected] doctor
npx -y @starkscan/[email protected] start --transport remote

For manual smoke checks only, you can replace the exact version with the untagged package. Keep saved MCP configs pinned when reproducibility matters.

print-config emits ready-to-paste snippets for Codex, Claude Code, Cursor, Claude Desktop, and Cline. Snippets use environment-variable placeholders, not secret values.

Codex setup

codex mcp add starkscan \
  --env 'STARKSCAN_API_KEY=${STARKSCAN_API_KEY}' \
  --env STARKSCAN_CHAIN=$STARKSCAN_CHAIN \
  -- npx -y @starkscan/[email protected]

Claude Code setup

claude mcp add --scope project --transport stdio \
  --env 'STARKSCAN_API_KEY=${STARKSCAN_API_KEY}' \
  --env STARKSCAN_CHAIN=$STARKSCAN_CHAIN \
  starkscan -- npx -y @starkscan/[email protected]

What it exposes

  • One-command MCP onboarding for local agent clients.
  • Starkscan route tools through the hosted MCP transport.
  • Shared API-key auth with REST, SDK, and CLI.
  • Tool catalog discovery through the underlying CLI.
  • Consistent request IDs for support/debug reports.

Starter tools for agent workflows:

  • Bootstrap and discovery: status, search
  • Blocks and transactions: block_detail, block_transactions, tx_detail
  • Wallets: address_summary, address_activity, address_transactions, wallet_asset_discovery, wallet_state
  • Token accounting: token_total_supply, token_balance_of, token_transfers
  • Contract inspection: contract_verification, contract_entrypoints, contract_read
  • Write preparation: contract_write_payload builds an unsigned payload for an external signer; it does not submit transactions

The hosted MCP transport is POST https://api.starkscan.co/mcp. It uses the 2025-11-25 MCP protocol headers, API-key auth, and JSON-RPC responses. For the complete tool list and arguments, see https://starkscan.co/docs/ai/mcp-tools-reference.

Trust boundary

This package is a local launcher. It asks @starkscan/cli to verify and execute the prebuilt native Starkscan binary on your machine. Install it only from the official npm package, keep API keys in your MCP host secret store, and do not run it with elevated privileges.

Any operation beyond read-only API/MCP access must require an explicit client-side opt-in before it is added to this launcher. The current tool catalog includes one unsigned write-payload builder; it builds a payload for a signer and is not a transaction submission path by itself.

Trust and safety

Socket is an external package-risk signal, not a Starkscan security certificate. The public trust source is Starkscan docs because the canonical engineering repository is private. Package promotion also requires exact CLI dependency pinning, packaged-launcher smoke, npm Trusted Publishing/OIDC for CI publishes, and live MCP smoke proof.

Pinning and rollback

Use exact versions for agent configs and unattended services when reproducibility matters:

npx -y @starkscan/[email protected]

Release notes live in CHANGELOG.md. If a launcher release regresses, roll back by changing the client command back to the last known-good version and restarting the MCP host. Do not rotate API keys for a launcher binary regression unless there is evidence that a key was exposed.