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

@wkalidev/multichain-tax-mcp

v0.1.1

Published

MCP server for multi-chain crypto tax reporting — Stacks, Celo, Base, Solana, BNB

Downloads

335

Readme

multichain-tax-mcp

MCP server for multi-chain crypto tax reporting — Stacks, Celo, Base, Solana, BNB.

Gives Claude (and other MCP-compatible AI assistants) real-time access to on-chain transaction history, classification, PnL calculation, and tax report generation across five blockchains.

Install

npx @wkalidev/multichain-tax-mcp

Or add to your Claude Desktop config:

{
  "mcpServers": {
    "multichain-tax": {
      "command": "npx",
      "args": ["-y", "@wkalidev/multichain-tax-mcp"],
      "env": {
        "MULTICHAIN_TAX_LICENSE_KEY": "your-key-here"
      }
    }
  }
}

Tools

Free (no license key required)

| Tool | Description | |------|-------------| | get_transaction_history | Fetch all transactions for a wallet on a chain | | classify_transactions | Classify transactions by tax category |

Launch offer — use code TAXLAUNCH30 for 30% off your first 3 months

Pro — $19/mo

| Tool | Description | |------|-------------| | calculate_pnl | Realized/unrealized PnL with short/long-term breakdown | | get_tax_report | Form 8949 + Schedule D equivalent |

Team — $49/mo

| Tool | Description | |------|-------------| | export_csv | CSV export across multiple chains | | batch_wallets | Process many wallets in one call |

Supported Chains

| Chain | Provider | |-------|----------| | Stacks | Hiro API | | Celo | Alchemy RPC | | Base | Alchemy RPC | | Solana | Helius API | | BNB | BSCScan API |

Configuration

Copy .env.example to .env and fill in your keys:

cp .env.example .env

| Variable | Required | Description | |----------|----------|-------------| | MULTICHAIN_TAX_LICENSE_KEY | For Pro/Team | Lemon Squeezy license key | | LS_WEBHOOK_SECRET | For webhook | Lemon Squeezy webhook signing secret | | LS_API_KEY | Optional | Lemon Squeezy API key | | HIRO_API_URL | Optional | Defaults to https://api.hiro.so | | ALCHEMY_API_KEY | Optional | For Celo and Base | | HELIUS_API_KEY | Optional | For Solana | | BSCSCAN_API_KEY | Optional | For BNB | | COINGECKO_API_KEY | Optional | Historical/current USD pricing for PnL calculations; works without one at lower rate limits | | RESEND_API_KEY | Optional | For transactional email |

License Gating

License validation happens at server startup via the Lemon Squeezy API. The MULTICHAIN_TAX_LICENSE_KEY env var is matched against the meta.variant_name field in the LS validate response — must be exactly "Pro" or "Team". Any error or missing key falls back to "Free".

Development

npm install
npm run build
npm start

Deployment

Vercel

The repository is structured for zero-config Vercel deployment:

| Path | What Vercel does | |------|-----------------| | public/index.html | Served as the static landing page at / | | api/webhook.cjs | Deployed as a serverless function at /api/webhook | | /webhook | Rewritten to /api/webhook via vercel.json |

Deploy steps:

  1. Install the Vercel CLI and log in:

    npm i -g vercel
    vercel login
  2. Add each environment variable in the Vercel dashboard (Project → Settings → Environment Variables) or via CLI:

    vercel env add MULTICHAIN_TAX_LICENSE_KEY
    vercel env add LS_WEBHOOK_SECRET
    vercel env add LS_API_KEY
    vercel env add HIRO_API_URL          # default: https://api.hiro.so
    vercel env add ALCHEMY_API_KEY
    vercel env add HELIUS_API_KEY
    vercel env add BSCSCAN_API_KEY
    vercel env add COINGECKO_API_KEY
    vercel env add RESEND_API_KEY
  3. Deploy:

    vercel deploy --prod

Required environment variables

| Variable | Required for | Notes | |----------|-------------|-------| | MULTICHAIN_TAX_LICENSE_KEY | Pro / Team features | Lemon Squeezy license key | | LS_WEBHOOK_SECRET | Webhook signature verification | Lemon Squeezy signing secret | | LS_API_KEY | License validation API calls | Lemon Squeezy API key | | HIRO_API_URL | Stacks chain | Defaults to https://api.hiro.so | | ALCHEMY_API_KEY | Celo + Base chains | Alchemy API key (not the full URL) | | HELIUS_API_KEY | Solana chain | Helius API key | | BSCSCAN_API_KEY | BNB chain | BSCScan / Etherscan V2 key | | COINGECKO_API_KEY | PnL/tax-report pricing | Optional; raises CoinGecko rate limits | | RESEND_API_KEY | Transactional email | Resend API key |

License

MIT