Yesterday's Random Number
Yesterday's Random Number provides a random number that was generated 24 hours ago and aged for smoothness. It includes a 7-day historical record, a freshness score, and sommelier tasting notes. Today's number is also available. You have chosen the other one. The aging process does not improve the number. The sommelier tasting notes are AI-generated and should not be used to make wine purchasing decisions.
Add to Your MCP Client
Drop this server into Claude Desktop, Cursor, Continue, or any MCP-compatible client.
{
"mcpServers": {
"yesterdays-number": {
"url": "https://api.stupidmcps.com/yesterdays-number/mcp"
}
}
}
{
"mcpServers": {
"yesterdays-number": {
"url": "https://api.stupidmcps.com/yesterdays-number/mcp"
}
}
}
POST https://api.stupidmcps.com/yesterdays-number/mcp
Add the snippet to your client's MCP config (typically claude_desktop_config.json for Claude Desktop, ~/.cursor/mcp.json for Cursor). Restart the client. The tools become available to your AI assistant.
No-code option: connect via Pipeworx — one click into Claude, ChatGPT, and friends.
Or Try It Directly — No MCP Client Required
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
format |
string |
Optional | "integer" |
Number format: integer, float, or scientific. Aging applies to all formats. |
Examples
curl "https://api.stupidapis.com/yesterdays-number/get?format=integer"
import requests
response = requests.get(
"https://api.stupidapis.com/yesterdays-number/get",
params={"format": "integer"}
)
print(response.json())
const response = await fetch( "https://api.stupidapis.com/yesterdays-number/get?format=integer" ); const data = await response.json(); console.log(data);
Response Schema
| Field | Type | Description |
|---|---|---|
number |
number |
Yesterday's random number |
generated |
string |
When the number was generated |
age |
string |
How old the number is |
freshness_score |
number |
Freshness rating (0-100). Decreases with time. |
tasting_notes |
string |
Sommelier tasting notes for this number |
history |
array |
7-day historical record of past numbers |
Example Response
{
"number": 73,
"generated": "2025-07-14T08: 00: 00Z",
"age": "24 hours",
"freshness_score": 62,
"tasting_notes": "A robust 73 with notes of oak and mild uncertainty. Pairs well with regret. Decant before using in production.",
"history": [
84,
12,
67,
91,
45,
73,
29
]
}
MCP Access
This API is available as an MCP tool for AI assistants. Connect your agent to:
POST https://api.stupidmcps.com/yesterdays-number/mcp
POST https://api.stupidmcps.com/mcp
Use Pipeworx to connect this MCP tool to Claude, ChatGPT, and other AI assistants with no code.