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

@numcal/mcp

v0.1.17

Published

MCP server for the numcal date and time calculator. Lets LLM tools like Claude Code, Claude Desktop, and Cursor get deterministic date math via natural-language queries.

Readme

@numcal/mcp

MCP server for the numcal date and time calculator. Gives LLM tools (Claude Code, Claude Desktop, Cursor, Continue, and any other Model Context Protocol client) deterministic date math via a single natural-language tool.

Most LLMs are unreliable on arbitrary calendar questions — days-between, business-days, DST edges, non-Gregorian calendars, country-specific holidays, leap years, ISO week numbers, moon phases. This server hands those questions to numcal's parser + evaluator and returns the answer with every assumption attached, so the model can quote a verified result instead of guessing.

Install

Claude Desktop

Add to claude_desktop_config.json:

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

Claude Code

claude mcp add numcal -- npx -y @numcal/mcp

Anything else

Run npx @numcal/mcp over stdio. Any MCP-compliant client works.

What you get

One tool: calculate(query: string, locale?: string, today?: string).

The query accepts every phrasing numcal understands — see numcal.com/help for the full grammar. Some examples:

days between today and 2026-12-25
months between 2026-01-01 and 2026-07-01
Jun 1 2026 + 30 business days
age of 1990-06-15   ·   when will I turn 40 born 1990-06-15
what day of the week is July 4 2026   ·   week number of today
days until christmas   ·   days since 2000-01-01
when is easter 2027   ·   is 2026-07-04 a holiday in US
5pm Tokyo in New York   ·   current time in Tokyo
3:45 + 2:30   ·   90 minutes in hours
every Friday for 12 weeks
next full moon   ·   when is the next eclipse   ·   spring equinox 2026   ·   perseids 2026
moon phase on 2026-07-04   ·   today in hebrew
what quarter is it   ·   which is sooner, christmas or new year

The response includes:

  • A headline answer ("227 days", "Friday", "April 4, 2027")
  • Supporting context (the dates involved, the weekday, derived breakdowns)
  • The full assumption row — calendar system, locale, country holidays applied, DST handling, year inference. Quote these back to the user; that's the audit trail.

License

MIT. The web tool at numcal.com stays free.