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

@invaro/opentax

v0.4.0

Published

The verifiable US tax oracle: MCP server for AI agents + full CLI in one self-contained package — every answer cited to statute and machine-checkable

Readme

@invaro/opentax

The verifiable US tax oracle for AI agents — a Model Context Protocol (MCP) server where every answer is computed from a content-addressed corpus of cited tax rules, ships its assumptions, and is independently re-verifiable. Never let a model guess at tax law again.

🌐 opentax.invaro.ai · GitHub · AGPL-3.0 + commercial dual license

Why

On TaxCalcBench TY25, a Claude Sonnet agent using this oracle computes 48/50 complete returns exactly (96%, 98.2% of all lines) — versus 58% for the best web-search-equipped frontier model and 6% for the same model unaided. The two remaining cases contain reference-data inconsistencies the engine's line-level reconciliation surfaced (reported upstream).

Use the hosted connector (no install)

Paste this URL into Claude.ai (Settings → Connectors → Add custom connector), ChatGPT, or Cursor:

https://opentax.invaro.ai/mcp

Or run it locally (stdio)

claude mcp add opentax -- npx -y @invaro/opentax

Claude Desktop / Cursor config:

{
  "mcpServers": {
    "opentax": { "command": "npx", "args": ["-y", "@invaro/opentax"] }
  }
}

The same binary is also the full CLI and the self-hostable connector:

npx -y @invaro/opentax eval --status mfj --wages 120000 --kids 2   # terminal CLI
npx -y @invaro/opentax check --wages 120000 --expect 5746          # verify a claimed number
npx -y @invaro/opentax lookup standard deduction                   # citations behind an amount
npx -y @invaro/opentax mcp-http                                    # self-host /mcp on $PORT

One package: run with no arguments from an MCP client and it's the stdio server; give it a command and it's the CLI.

Tools

| Tool | What it does | |---|---| | calculate_tax | Any federal target (net tax, AGI, EITC, AMT, SE tax, …) from typed facts | | compute_return | The full Form 1040 line set from raw document transcriptions (W-2s, 1099-Rs, SSA-1099s) | | compute_state_return | IL-1040, VA 760, CA 540, NY IT-201 printed-form line sets | | verify_tax_claim | Gate a claimed number before presenting it: verified / refuted, with the difference | | find_tax_cliffs | Exact-cent benefit cliffs over an income range | | compare_filing_statuses | The same facts across all five filing statuses | | search_tax_rules | Full-text search over the encoded law: rules with citations, excerpts, and effective windows — coverage answers for research, zero hits means "outside the corpus" | | list_input_facts, explain_rule, lookup_tax_parameter | Discover inputs; read any rule's citation, formula, and validity window | | calculate_business_tax, calculate_fiduciary_tax, determine_dependent, verify_fact, is_tipped_occupation | Form 1120, Form 1041, § 152 dependency, proofs, § 224 tips |

What "verifiable" means

Every computation returns its assumptions (documented defaults it relied on), citations (statute source, section, URL on every rule), and a content hash of the exact rule corpus used (tax years 2025 and 2026, kept current — e.g. OBBBA amounts, state 2025 legislation). Answers are derivation trees you can re-execute, not model output.

The engine refuses rather than guesses: missing facts are named, uncovered situations return "not covered," and dates outside a rule's validity window are errors — never silent fallbacks to a stale year.