CodexGuild
io.github.Noah-Airmet/lectern·DevOps

Lectern

Public-domain Latter-day Saint and Christian scholarship, searchable and citable to the page.

Stars
—
Version
1.0.0
License
—
Review
Passed
Registry update
Nov 23, 2026

Connect

remote
Terminal
$claude mcp add --transport http lectern https://lectern-api.restorationcommons.org/mcp

Headers

Nothing to configure — it works as is.

Security review

Review passed

Reviewed 2d ago.

tools
4 tools scanned
metadata
scanned

No findings.

Tools

4
  • search

    Search the library. Each hit is one page of a book, with a url that opens exactly that page; cite that url. Query grammar: words are ANDed; "a phrase" in double quotes; prefix* (at least 3 letters); a NEAR/5 b; -word excludes. Example: "plurality of gods" Melchizedek -Abraham. There is no OR: run one search per alternative. There is no stemming: baptiz* finds baptize, baptized and baptizing. The text is OCR of old books, so try the period's spellings (shew, connexion, Saviour) and synonyms when a search comes back thin. An empty query lists books that match the filters. Filters: collection (the shelf: latter-day-saints, church-fathers, bible-texts, bible-study, jewish-antiquity, classics, languages, theology-history, shorthand), org (publisher), date_from and date_to (YYYY, the year the book was printed), doc (one book id, such as jod:01 or npnf2:04-select-works-and-letters, to search inside it). mode="documents" ranks whole books by their hits, for triage. sort="date" puts the lates

  • fetch

    Read the library. id is what search returned or what you want to open: - a book, jod:01 (or its scan, jod:01/r1): its record, with authors, publisher, year, the public-domain evidence and the contents where the scan has them; - a page, npnf2:04-select-works-and-letters/r1/p65: its full text; - a range of up to 8 pages, jod:01/r1/p40-p44. A result url works as an id too. Each page comes back with the url to cite. Long reads are cut at max_tokens (default 6000) with a note saying how to continue. view="image" adds a link to the page's image, which is the authority where the OCR is unclear. Page numbers are pages of the scan (p1 is its first image), not the book's printed page numbers, which a page's text usually shows at its top or foot. When you cite for a person, give the printed page too if you can read it.

  • verify_quote

    Check a quotation before you use it. Pass the exact words you intend to put in quotation marks, and the cite (id or url) you intend to attach. Join omitted stretches with "..." as you would in print. Verdicts: exact and normalized pass (normalized forgives case, punctuation, hyphenation, ligatures and line breaks, never wording). elsewhere means the words are in that book but not on the cited page; the result gives the right page. near_miss means something close is there but not these words; the result shows the page's own words and the difference, so quote those instead. not_found means the words are not there. A famous line is often quoted in a later paraphrase: check it against the page, and quote the page. Without cite, pass doc to check against a whole book, or neither to search the whole library for the passage. The check is code, not a model: deterministic and exact. The text is OCR, so a near_miss on an old spelling or a misread letter is worth a look at the page image.

  • check_answer

    Audit a draft answer before you give it. Pass the answer's full text (markdown, up to 40,000 characters), with its citations as library urls or cite strings and its quotations in quotation marks or as > blockquotes. For every citation it says whether the book, scan and page exist; for every quotation, whether it is on the page cited next to it (the same verdicts as verify_quote), and which quotations have no citation at all. Fix what fails and run it again. It checks links and quotations only. It does not check whether a page supports the claim you make about it: read the cited pages for that.

More in DevOps

Listing from the official MCP Registry.