numwiz-mcp-server
v0.1.0
Published
MCP server for Numbers API — trivia, math, date, and year facts about any number
Maintainers
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.comnumwiz_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.comnumwiz_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.comnumwiz_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.comnumwiz_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.comnumwiz_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.comArchitecture
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.
