Fake Haiku Machine
The Fake Haiku Machine API composes a 5-7-5 haiku on any topic by stitching together curated lines. Returns the three lines, an estimated syllable count per line, a meter warning if the topic is long, and an attribution.
Add to Your MCP Client
Drop this server into Claude Desktop, Cursor, Continue, or any MCP-compatible client.
{
"mcpServers": {
"fake-haiku-machine": {
"url": "https://api.stupidmcps.com/fake-haiku-machine/mcp"
}
}
}
{
"mcpServers": {
"fake-haiku-machine": {
"url": "https://api.stupidmcps.com/fake-haiku-machine/mcp"
}
}
}
POST https://api.stupidmcps.com/fake-haiku-machine/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 |
|---|---|---|---|---|
topic |
string |
Required | — | The topic. |
Examples
curl "https://api.stupidapis.com/fake-haiku-machine/compose?topic=tea"
import requests
response = requests.get("https://api.stupidapis.com/fake-haiku-machine/compose", params={"topic": "tea"})
print(response.json())
const response = await fetch("https://api.stupidapis.com/fake-haiku-machine/compose?topic=tea");
const data = await response.json();
Response Schema
| Field | Type | Description |
|---|---|---|
topic |
string |
Echoed back |
haiku |
string[] |
Three lines |
syllable_estimate |
number[] |
Estimated counts per line |
meter_warning conditional |
string |
When meter is approximate |
attribution |
string |
Attribution |
Example Response
{
"topic": "tea",
"haiku": [
"Tea steeps in patience",
"I have known tea long,",
"the kettle will sing"
],
"syllable_estimate": [
5,
6,
5
],
"meter_warning": null,
"attribution": "composed by the Fake Haiku Machine"
}
MCP Access
This API is available as an MCP tool for AI assistants. Connect your agent to:
POST https://api.stupidmcps.com/fake-haiku-machine/mcp
POST https://api.stupidmcps.com/mcp
Use Pipeworx to connect this MCP tool to Claude, ChatGPT, and other AI assistants with no code.