Fortune Cookie
The Fortune Cookie API does what fortune cookies do: produces a brief, slightly unsettling sentence and asks nothing in return. Returns six lucky numbers (1-99, no duplicates) suitable for lottery tickets you will not buy, and one Chinese word with pinyin and meaning, suitable for telling colleagues you are "learning Chinese." Three moods: standard, bleak, and corporate.
Add to Your MCP Client
Drop this server into Claude Desktop, Cursor, Continue, or any MCP-compatible client.
{
"mcpServers": {
"fortune-cookie": {
"url": "https://api.stupidmcps.com/fortune-cookie/mcp"
}
}
}
{
"mcpServers": {
"fortune-cookie": {
"url": "https://api.stupidmcps.com/fortune-cookie/mcp"
}
}
}
POST https://api.stupidmcps.com/fortune-cookie/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 |
|---|---|---|---|---|
mood |
string |
Optional | standard |
Fortune mood. Standard is generic mystic. Bleak skews dark. Corporate translates fate into business strategy. |
Examples
curl "https://api.stupidapis.com/fortune-cookie/crack?mood=corporate"
import requests
response = requests.get(
"https://api.stupidapis.com/fortune-cookie/crack",
params={"mood": "corporate"}
)
print(response.json())
const response = await fetch( "https://api.stupidapis.com/fortune-cookie/crack?mood=corporate" ); const data = await response.json(); console.log(data);
Response Schema
| Field | Type | Description |
|---|---|---|
fortune |
string |
The fortune itself |
fortune_mood |
string |
The mood used for the fortune |
lucky_numbers |
number[] |
Six numbers from 1-99, sorted ascending, no duplicates |
learn_chinese |
object |
A Chinese word with character, pinyin, and English meaning |
cookie_freshness |
string |
How fresh the cookie was. Mostly fresh. |
Example Response
{
"fortune": "A synergy emerges. It will not align with your OKRs.",
"fortune_mood": "corporate",
"lucky_numbers": [
4,
17,
23,
41,
68,
92
],
"learn_chinese": {
"character": "加班",
"pinyin": "jiābān",
"meaning": "overtime work"
},
"cookie_freshness": "fresh"
}
MCP Access
This API is available as an MCP tool for AI assistants. Connect your agent to:
POST https://api.stupidmcps.com/fortune-cookie/mcp
POST https://api.stupidmcps.com/mcp
Use Pipeworx to connect this MCP tool to Claude, ChatGPT, and other AI assistants with no code.