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

numwiz-mcp-server

v0.1.0

Published

MCP server for Numbers API — trivia, math, date, and year facts about any number

Readme

MCP server providing 8 tools for number facts, trivia, and mathematical properties and dates (including Indian history), and 200+ historical years.

Tools

numwiz_trivia — Get trivia fact about a number

{ "number": 42 }

Example response:

🎲 Number Trivia: 42

42 is the number of laws of cricket.

Type: trivia
Source: numbersapi.com

numwiz_math — Get math fact about a number

{ "number": 7 }

Example response:

🔢 Number Math: 7

7 is the number of frieze groups.

Type: math
Source: numbersapi.com

numwiz_date — Get fact about a date

{ "month": 8, "day": 15 }

Example response:

📅 Date: 15

On August 15, 1947, India gained independence from British rule, with Jawaharlal Nehru becoming the first Prime Minister.

Type: date
Source: numbersapi.com

numwiz_year — Get fact about a year

{ "year": 1947 }

Example response:

📜 Year: 1947

1947 India and Pakistan gained independence from British rule.

Type: year
Source: numbersapi.com

numwiz_random — Get random number fact

{ "type": "trivia" }

Returns a random fact. Types: trivia, math, date, year.

numwiz_batch — Get facts for multiple numbers

{ "numbers": [1, 7, 42], "type": "trivia" }

Example response:

🎲 Batch Trivia Facts

• 1: 1 is the number of dimensions in a line
• 7: 7 is the number of notes in the traditional Western major scale
• 42: 42 is the number of laws of cricket

Type: trivia
Source: numbersapi.com

numwiz_range — Get facts for a number range

{ "start": 1, "end": 5, "type": "trivia" }

Returns facts for each number in range (max 20 apart).

numwiz_is_interesting — Check if a number is interesting

{ "number": 64 }

Example response:

🔍 Number Analysis: 64

**Mathematical Properties**:
• Perfect square (√64 = 8)
• Power of 2

**Trivia**: 64 is the number of squares on a chess board
**Math**: 64 is a perfect cube (4³)

Source: numbersapi.com

Architecture

The server uses a bundled local dataset — all facts are compiled into the package at build time. No network requests are made at runtime, making it fast, reliable, and fully offline-capable.

Integration

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "numwiz": {
      "command": "npx",
      "args": ["numwiz-mcp-server"]
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "numwiz": {
      "command": "npx",
      "args": ["numwiz-mcp-server"]
    }
  }
}

VS Code (manual)

Add to .vscode/mcp.json in your workspace:

{
  "servers": {
    "numwiz": {
      "type": "stdio",
      "command": "npx",
      "args": ["numwiz-mcp-server"]
    }
  }
}

Or install the NumWiz MCP Server extension from the VS Code Marketplace for automatic registration.

License

MIT