Lectern MCP Server
Public-domain Latter-day Saint and Christian scholarship, searchable and citable to the page.
Lectern scores 53 (Fair), with no SPDX license recorded and written in HTML. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
53 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 53 comes from
22 + 20 + 0 + 0 + 4 + 7 = 53. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "noah-airmet-lectern": { "url": "https://lectern-api.restorationcommons.org/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Lectern
A library of Latter-day Saint and Christian scholarship, searchable and citable to the page or paragraph: https://lectern.restorationcommons.org. Part of Restoration Commons.
The library holds 352 public-domain books printed before 1931 and 21,067 articles. The books include the Journal of Discourses and the first doctrinal works of the Restoration, the Schaff Church Fathers, the first Loeb Classical Library volumes, the Septuagint and the Greek New Testament, Josephus, commentaries and lexicons. Articles can be read in Lectern or at their source. Lectern can check a quotation against the page or paragraph it cites. It is also an MCP server, so an AI assistant can do the same:
claude mcp add --transport http lectern https://lectern-api.restorationcommons.org/mcp
A citation names a document, a version and a place. In
npnf2:04-select-works-and-letters/r1/p362, p362 opens scan page 362, which is printed
page 332. The same citation can be shared as a link:
https://lectern.restorationcommons.org/d/npnf2/04-select-works-and-letters/r1/p362.
A web article can use a paragraph anchor such as b1.
How it is built
Lectern runs on the engine behind Catchword (Noah-Airmet/safetypage): its citation scheme,
storage, quote check, keyword search, snapshot builder and MCP server, used as a library and
pinned to one commit (ARG ENGINE in build/Dockerfile and deploy/Dockerfile; keep the two
the same). This repository holds only what is Lectern's own.
shelf/volumes.jsonl | The shelf: one row per book, with its id, catalogue record, shelf, series, and the evidence that it is in the public domain. Each row names its scan by the SHA-256 of the file. shelf/README.md says how the list was made. |
shelf/links.md | The plan for linking beyond the books: which journals and archives go in, in which tier, and which need a note to the owner first. The research behind it is in shelf/sources/. |
build/ingest.py | Reads each scan (text and word boxes per page, with the engine's PDF reader) into the working corpus as one version with its licence fact. |
build/render.py | Draws page images into the snapshot builder's cache ahead of the build. |
build/snapshot.py | Seals a snapshot: keyword index, public files, page images. |
library/ | What the MCP server says about itself: its name (library.toml) and the four tools' descriptions. |
deploy/ | The API origin on VM 100: the server and a Caddy file server (compose.yaml). |
site/ | The website (Astro, static), forked from Catchword's site. Its home page is the Gospel Scholar Archives' (the wall of books, the Field, the composer) with Lectern's books; the wall's books are listed in site/src/lib/wall.ts. |
Building
The scans live on the homelab (VM 100), so the build runs there, in Docker, with the work in
/data/lectern. From a clone of this repository at /opt/lectern:
docker build -f build/Dockerfile -t lectern-build .
docker run --rm -v /data:/host/data:ro -v /data/lectern:/work lectern-build \
python build/ingest.py --shelf shelf/volumes.jsonl --prefix /host \
--catalog /host/data/research-corpus/manifests/catalog.sqlite --work /work
docker run --rm -v /data/lectern:/work lectern-build python build/render.py --work /work
docker run --rm -v /data/lectern:/work lectern-build python build/snapshot.py --work /work <id>
Snapshot ids are YYYY.MM.N and never reused. The corpus is about 4 GB and the page images
about 17 GB; rendering takes a few hours on three cores.
Serving
deploy/compose.yaml on VM 100 (project lectern, 127.0.0.1:8096), behind the gsa-dash
tunnel as lectern-api.restorationcommons.org, with a Cloudflare cache rule for its /data/
files. deploy/serve.sh <id> (on VM 100, from /opt/lectern) puts a sealed snapshot's files
at /data/<id>/ and moves search and MCP to it. Older snapshots' files stay served, so the
site keeps working until it is rebuilt on the new one.
The site reads a few of the snapshot's files at build time and asks the live server for the landing page's quote check:
cd site && npm install
scripts/fetch_data.sh <id> # the cards, first pages and example book, into .snap/
SAFETYPAGE_PUBLIC_DIR=.snap/public SAFETYPAGE_API=https://lectern-api.restorationcommons.org \
SITE_URL=https://lectern.restorationcommons.org PUBLIC_API_BASE=https://lectern-api.restorationcommons.org \
npx astro build
rsync -a records/ homelab:/data/lectern/records-tmp/ && ssh homelab 'cd /data/lectern && for b in records-tmp/*; do d="served/records-${b#records-tmp/}"; if [ -e "$d" ]; then rm -rf "$b"; else mv "$b" "$d"; fi; done'
npx wrangler@4.156.0 pages deploy dist --project-name lectern --branch main --commit-dirty=true
Cloudflare Pages takes at most 20,000 files a deployment, so the articles' record pages are not
in dist/: the build moves them to records/<build>/, which goes up to the API origin as
/data/records-<build>/ (the rsync line), and the edge rule (edge/worker.js) fetches one
from there when Pages has no file for it. The books' record pages stay in dist/.
The site is the Cloudflare Pages project lectern at lectern.restorationcommons.org.
ui-check (config in site/) checks it; serve dist with node scripts/serve.mjs dist 4412.
Cloudflare GraphQL's httpRequestsAdaptiveGroups includes internal request rows.
For visitor errors, use requestSource: "eyeball" in the filter. The November 17–19
homepage, library and search 504s all had requestSource: "earlyHintsCache" and an
origin status of 0. These are Pages Early Hints cache misses.
Frequently asked questions
What is Lectern MCP Server?
Public-domain Latter-day Saint and Christian scholarship, searchable and citable to the page.
How do I install Lectern MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Lectern MCP Server connects to the remote endpoint https://lectern-api.restorationcommons.org/mcp, so there is nothing to install locally.
Does Lectern MCP Server support remote (HTTP) connections?
Yes. Lectern MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Lectern MCP Server's trust score calculated?
Lectern MCP Server scores 53 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.