๐ โ๏ธ - Search and cite rare historical texts (alchemy, Hermeticism, Renaissance philosophy) from Sourceโฆ
Config template (adjust for your client)
claude mcp add sourcelibrary-v2 -- npx -y sourcelibrary-v2 Copy A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
FAQ (answers come from our records)
How do I install it? We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for? We filed it under these tags: MCP ๆๅก. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it? repository Embassy-of-the-Free-Mind/sourcelibrary-v2๏ผfirst catalogued 2026-10-09๏ผlast seen 2026-10-16ใThere is no official certification or quality rating here โ we record sources and dates only.
Source Library ไปฅไธๆๅฝ่ช่ฏฅไปๅบ็ README๏ผ็ๆฎต๏ผ ยท ๅจ GitHub ่ฏปๅฎๆด README โ
**A digital library of historical primary sources with AI-aided OCR, translation, and scholarly curation.** ๐ Visit Library โข ๐ Docs โข ๐บ๏ธ System Map โข ๐ค Contribute --- ๐ฌ Experience Source Library Your browser does not support the video tag. *Explore thousands of digitized historical texts with AI-enhanced translations and scholarly curation.* --- ๐ฏ About Source Library Source Library is an open digital library dedicated to making early printed books and primary sources readable and citable. We specialize in **alchemy, Hermetica, Kabbalah, Rosicrucianism, and early modern science**โtexts that bridge historical scholarship with contemporary exploration. ๐ Why Source Library? - โจ **Originals First** โ Read the original language text with AI-enhanced translations alongside - ๐ **Citable Scholarship** โ Every book gets a DOI and scholarly metadata (USTC alignment, edition tracking) - ๐๏ธ **Partner Subdomains** โ Institutions like the Bibliotheca Philosophica Hermetica curate reading rooms on their own domains - ๐ **Discovery** โ Collections, galleries of illustrations, and semantic search surface overlooked texts - โ
**Rigorous QA** โ Manual verification, image quality scoring, and OCR validation before publication The platform ingests **~15K pages monthly** from Internet Archive, Gallica, Bodleian, Wellcome, and other digital heritage partners. --- ๐ Quick Start ๐ป Development Environment Open http://localhost:3000 --- ๐ Tech Stack ๐จ Frontend Next.js 16, React 19, TailwindCSS, Lucide icons โ๏ธ Backend Next.js API routes, AWS Lambda for async processing ๐พ Database MongoDB Atlas (primary), Supabase (embeddings) ๐ค AI/ML Google Gemini 3.1 (OCR, translation, summarization) ๐๏ธ Storage Vercel Blob (images), AWS S3 (archive), Cloudflare R2 (archive) ๐ Auth NextAuth v5 with MongoDB adapter ๐ DevOps Vercel (hosting), GitHub (VCS), Playwright (E2E tests) โ๏ธ Testing Vitest (unit/integration), Playwright (E2E) ๐ Search PostgreSQL FTS + semantic search via Supabase **๐ฆ Key Dependencies:** - sharp โ Image resizing and cropping - @google/generative-ai โ Gemini API integration - xml2js โ USTC metadata parsing - @modelcontextprotocol/sdk โ MCP server for agent integration - stripe โ Donation and subscription handling --- ๐ Core Features ๐ Reading & Navigation - **โก Page pagination** โ Instant navigation between 100+ pages - **๐ Full-text search** โ Query across OCR'd text and translations - **๐ Quote generation** โ Copy and cite passages with DOI links ๐ Processing Pipeline - **๐งฉ Smart split detection** โ Automatic gutter detection for two-page spreads (Gemini AI or ML-based) - **โ๏ธ High-accuracy OCR** โ Gemini Vision API with language-specific models (Latin, German, Greek, Arabic, etc.) - **๐ฃ๏ธ Context-aware translation** โ Maintains continuity across pages for scholarly accuracy - **๐ผ๏ธ Gallery extraction** โ AI-powered detection and cataloging of illustrations ๐จ Curation & Discovery - **๐ Themed collections** โ Editorial collections (e.g., "Alchemy & Transmutation," "Kabbalah & Mysticism") - **๐๏ธ Gallery browsing** โ Curated images from all books (museum-quality metadata) - **๐ Related editions** โ Link across translations, reprints, and derivative works - **๐ Authority linking** โ Connect to USTC, VIAF, and other scholarly databases ๐ค Scholarly Export - **๐ฑ EPUB generation** โ Multi-format ebook export - **๐ PDF with annotations** โ Preserve layout, add scholarly notes - **๐ DOI minting** โ Version books via Zenodo integration for long-term citation ๐ข Tenant Subdomains - **๐๏ธ Isolated reading rooms** โ Partners host curated subsets on custom domains (e.g., bph.sourcelibrary.org) - **๐จ Branding & navigation** โ Full UI customization per tenant - **๐ Access control** โ Public or members-only collections --- ๐๏ธ Architecture Overview ๐ Data Model **๐ Books** contain structured metadata: - **๐๏ธ Bibliographic** โ Title, author, language, publication date, USTC ID - **๐ผ๏ธ Images** โ Links to source (Internet Archive, Gallica, etc.), archival status - **โ๏ธ Processing** โ OCR status, translation language, extraction metadata