API
The same checker as the website, as JSON. Free, no key, limited to 40 requests a minute per address. Quotes you send are not stored.
Check a quote
curl -s https://seasr.org/api/v1/check \
-H 'content-type: application/json' \
-d '{"quote":"Call me Ishmael. Some years ago","work":"g2701"}'
work is optional. The reply has an outcome (verbatim, same_words, close, not_in_work, not_in_library, too_short) and a list of matches, each with the source text, the edition, a word-level diff when the quote was altered, and a permanent url.
Fetch an exact passage
curl -s https://seasr.org/api/v1/passage/s-Genesis-en/1:1
Find an edition
curl -s 'https://seasr.org/api/v1/works?q=austen'
Count a word or phrase in one edition
curl -s 'https://seasr.org/api/v1/count?work=g2701&phrase=whale'
Counts ignore capital letters and punctuation and are exact for the stored edition.
Concordance
curl -s 'https://seasr.org/api/v1/concordance?work=g1342&phrase=pride'
Every occurrence of a word or phrase with the words around it and its passage link. Leave out work to search the whole library.
Compare vocabulary
curl -s 'https://seasr.org/api/v1/compare?work=g2701&top=15'
The words an edition uses distinctively more or less than the rest of the library, or than a second edition given as against, ranked by Dunning log-likelihood.
Receipts
curl -s https://seasr.org/api/v1/receipt \
-H 'content-type: application/json' \
-d '{"title":"Chapter 3","quotes":[{"quote":"Call me Ishmael."},{"quote":"Reader, I married him.","work":"g1260"}]}'
Checks up to 25 quotes and stores the results at a permanent address you can share. This is the only call that stores what you send.
MCP server for AI agents
The same tools are available over the Model Context Protocol at https://seasr.org/mcp (streamable HTTP, no key). Tools: check_quote, get_passage, find_edition, count_phrase, concordance, compare_vocabulary.
claude mcp add --transport http seasr https://seasr.org/mcp
Agents should fetch a passage before quoting it and check any quotation before presenting it as exact. not_in_library means SEASR does not hold a matching text; it is not evidence that a quote is invented.