GnistAI GnistAI
Log in

Riddles & Puzzles

Curated riddle and brain teaser database with 80 riddles across 5 categories (logic, wordplay, math, lateral-thinking, classic) — get random riddles, search, and reveal answers.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Entertainment

Data source: In-memory curated collection

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/riddles/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-riddles": {
      "url": "https://context.gnist.ai/mcp/riddles/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/riddles/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_riddle_answer", "arguments": {"riddle_id": 1}}}'

API REST API

API Root https://context.gnist.ai/rest/riddles/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/riddles/get_riddle_answer?riddle_id=1" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/riddles/get_riddle_answer",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "riddle_id": 1
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc riddles

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

get_random_riddle
Get a random riddle WITHOUT the answer.
ParameterTypeRequiredDescription
categoryanyoptionalFilter by category (logic, wordplay, math, lateral-thinking, classic). Omit for any.
difficultyanyoptionalFilter by difficulty (easy, medium, hard). Omit for any.
get_riddle_answer
Reveal the answer to a specific riddle.
ParameterTypeRequiredDescription
riddle_idintegerrequiredThe ID of the riddle to reveal the answer for.
search_riddles
Search for riddles by keyword.
ParameterTypeRequiredDescription
querystringrequiredSearch keyword — matches question, hint, or category.
max_resultsanyoptionalMaximum number of results (default: 20, max: 100).
list_riddle_categories
List all available riddle categories.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related