Numbers API
live ReferenceTrivia, math, and date facts about numbers via numbersapi.com
4 tools
0ms auth
free tier 50 calls/day
Tools
number_fact
required: number Get an interesting trivia fact about a specific number.
Parameters
Name Type Description
number req number The number to get a fact about (e.g., 42) Try it
Response
date_fact
required: month, day Get an interesting fact about a specific calendar date.
Parameters
Name Type Description
month req number Month number (1–12) day req number Day number (1–31) Try it
Response
math_fact
required: number Get a mathematical fact about a specific number.
Parameters
Name Type Description
number req number The number to get a mathematical fact about (e.g., 1729) Try it
Response
random_fact Get a trivia fact about a randomly chosen number.
No parameters required.
Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/numbersapi/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Call a tool
bash
curl -X POST https://gateway.pipeworx.io/numbersapi/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"number_fact","arguments":{"number": 42}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("number_fact", {"number":"example"}); ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("trivia, math, and date facts about numbers via numbersapi");