GnistAI GnistAI
Log in

Famous Quotes

Famous quotes collection — search by author, keyword, or category, get random quotes.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 6 tools tools 6 6 type: open dataset type type open dataset open dataset lifecycle: maintained lifecycle lifecycle maintained maintained Reference

Data source: Curated public-domain collection

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/famous-quotes/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (6)

get_random_quote

Get a random famous quote.

Returns a quote with author name and category. Optionally filter by category.

ParameterTypeRequiredDescription
categoryanyoptionalFilter by category (e.g. wisdom, science, humor). Omit for any category.
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_random_quote",
    "arguments": {}
  }
}
search_quotes

Search for famous quotes by keyword.

Searches across quote text, author names, and categories. Case-insensitive.

ParameterTypeRequiredDescription
querystringrequiredSearch keyword — matches quote text, author name, or category.
max_resultsanyoptionalMaximum number of results (default: 10, max: 100).
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_quotes",
    "arguments": {
      "query": "example"
    }
  }
}
get_quotes_by_author

Get all quotes by a specific author.

Partial name matching — e.g. "einstein" matches "Albert Einstein".

ParameterTypeRequiredDescription
authorstringrequiredAuthor name (case-insensitive, partial match).
max_resultsanyoptionalMaximum number of results (default: 10, max: 100).
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "get_quotes_by_author",
    "arguments": {
      "author": "example"
    }
  }
}
list_categories

List all available quote categories.

Returns the category names that can be used to filter random quotes.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_categories",
    "arguments": {}
  }
}
list_authors

List all authors in the quotes database.

Returns author names that can be used to look up quotes by author.

JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_authors",
    "arguments": {}
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/famous-quotes/" \
  -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": "search_quotes", "arguments": {"query": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/famous-quotes/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_quotes",
    "arguments": {
      "query": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Reference)

Resources