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

@ajinkyakulkarni/cost-calc-mcp

v1.0.0

Published

MCP server for the AI Cost Calculator — numbers byte-identical to calc.ajinkya.ai

Readme

@ajinkyakulkarni/cost-calc-mcp

An MCP server that costs AI-agent deployments — wired to the same engine that powers calc.ajinkya.ai, so the numbers it returns are byte-identical to the visual calculator.

The LLM (your Claude Code / Cursor / Claude Desktop) runs the conversation; it never does the arithmetic. Every dollar figure comes from compute_cost, which is hard-gated — it refuses to return a number until the cost-driving inputs (volume, model, hosting, cache rate, per-query token profile) are actually provided. Describe your deployment in plain language; the agent proposes sensible defaults, confirms what it must, computes, and hands back a calc.ajinkya.ai/#w=… link to open the full visual model.

Install

Claude Code:

claude mcp add cost-calc -- npx -y @ajinkyakulkarni/cost-calc-mcp

Cursor / Claude Desktop — add to your mcpServers config:

{
  "mcpServers": {
    "cost-calc": {
      "command": "npx",
      "args": ["-y", "@ajinkyakulkarni/cost-calc-mcp"]
    }
  }
}

Prefer zero install? Use the hosted endpoint

No npm needed — point your client at the hosted Worker:

claude mcp add --transport http cost-calc https://calc.ajinkya.ai/mcp

(Cursor / Desktop: an mcpServers entry with "url": "https://calc.ajinkya.ai/mcp".)

Tools

list_presets · load_preset · get_schema · validate_workload · compute_cost · make_share_link

Plus a cost_interview prompt for a guided session — or just say "help me cost an AI agent."

Why trust the numbers

  • Same engine as the website. This package bundles the canonical engine modules verbatim (no fork); a parity check asserts byte-identical output across all 18 presets.
  • No hallucinated math. The model only fills in a structured workload and calls the engine.
  • Auditable. Every result carries the assumptions it made and the engine's derivation trace.

Requirements

Node ≥ 18. Runs locally over stdio; no API key (the engine is pure math — your client provides the model).

Links

  • Calculator: https://calc.ajinkya.ai
  • Source: https://github.com/ajinkyakulkarni/ai-cost-calculator-studio

MIT