Quotes
v0.2.1Quotes MCP — citation-grade quote API for public-domain authors.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
random_quote
Return a random quote from the corpus, optionally filtered by author, fame, verification status, or tag. Each result includes citation: work, year, speaker (for plays/fiction), and source URL.
| Parameter | Type | Description |
|---|---|---|
author_id | string | Optional author id (e.g., "oscar-wilde", "william-shakespeare", "mark-twain"). Use list_authors to discover ids. |
famous_only | boolean | If true, only return famous/canonical quotes. |
tag | string | Filter by tag (e.g., "wit", "love", "misattributed", "commonly-misquoted"). |
verified_only | boolean | If true, exclude misattributed quotes. |
search_quotes
Search quotes by substring. Matches both canonical text and known popular paraphrases — searching for 'protest' finds Hamlet's 'The lady doth protest too much, methinks' even though the popular form 'Methinks the lady doth protest too much' is what most people remember.
| Parameter | Type | Description |
|---|---|---|
query * | string | Substring to search for (case-insensitive). |
author_id | string | Optional author filter. |
limit | number | Max results to return (default 10, max 25). |
verified_only | boolean | If true, exclude misattributed quotes. |
check_attribution
Given a quote and (optionally) the author it is claimed to be by, return one of four verdicts: "verified" (genuine, with citation), "misattributed" (no primary source — popular but fake), "paraphrase_of_verified" (popular corruption of a real quote, returns the actual text), or "no_match" (not in corpus). Useful for journalists, researchers, and anyone tired of fake Mark Twain quotes.
| Parameter | Type | Description |
|---|---|---|
text * | string | The quote text to check. |
claimed_author | string | Optional: who the quote is popularly attributed to (e.g., "Oscar Wilde", "Mark Twain"). Narrows the check. |
quote_by_location
Look up quotes by structural address within a work — act/scene for plays, chapter for novels. Example: author_id="william-shakespeare", work_title="Hamlet", act=3, scene=1 returns the "To be, or not to be" line.
| Parameter | Type | Description |
|---|---|---|
author_id * | string | Author id (e.g., "william-shakespeare"). |
work_title * | string | Title of the work (e.g., "Hamlet", "The Picture of Dorian Gray"). |
act | number | Act number (plays only). |
chapter | number | Chapter number (novels/essays). |
scene | number | Scene number (plays only). |
list_authors
Return all authors available in the corpus — each entry includes author id (used as input to other tools), display name, birth/death dates, and public-domain status.
list_full_text_works
List works for which the full text (every scene, speech, and line) is loaded — beyond just the famous-quote excerpts. Use this to discover what is available for deep structural lookup via get_scene and get_act.
get_scene
Return the full text of a specific scene from a play (every speech, every line, in order). Example: author_id="william-shakespeare", work_slug="hamlet", act=3, scene=1 returns the entire "To be, or not to be" scene including all of Hamlet's soliloquy and the subsequent dialogue with Ophelia. Useful for context, citation, or close reading.
| Parameter | Type | Description |
|---|---|---|
act * | number | Act number. |
author_id * | string | Author id (e.g., "william-shakespeare"). |
scene * | number | Scene number. |
work_slug * | string | Work slug (e.g., "hamlet"). |
get_act
Return the full text of an entire act (all scenes within it). Use this to read a full structural unit at once. Returned object contains nested scenes with their speeches and lines.
| Parameter | Type | Description |
|---|---|---|
act * | number | Act number. |
author_id * | string | Author id (e.g., "william-shakespeare"). |
work_slug * | string | Work slug (e.g., "hamlet"). |
get_chapter
Return the full text of a chapter from a novel/prose work (all paragraphs in order). Example: author_id="oscar-wilde", work_slug="the-picture-of-dorian-gray", chapter=2 returns the entire chapter where Lord Henry tempts Dorian. Use list_full_text_works to discover which works are chapter-based.
| Parameter | Type | Description |
|---|---|---|
author_id * | string | Author id (e.g., "mark-twain"). |
chapter * | number | Chapter number. |
work_slug * | string | Work slug (e.g., "adventures-of-huckleberry-finn"). |