1. Conduid
  2. Search
  3. io.github.Embassy-of-the-Free-Mind/source-library
MCP server · Search

io.github.Embassy-of-the-Free-Mind/source-library

Search rare historical texts with OCR, translations & DOI citations.

Unclaimed search
37Low

Scored 6 months ago · breakdown

About io.github.Embassy-of-the-Free-Mind/source-library

io.github.Embassy-of-the-Free-Mind/source-library is an MCP server in the Search category: search rare historical texts with OCR, translations & DOI citations.

Install

Claude Code
claude mcp add io-github-embassy-of-the-free-mind-source-library -- npx -y @source-library/mcp-server
npx
npx -y @source-library/mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about io.github.Embassy-of-the-Free-Mind/source-library

Powered by Claude · Grounded in docs

I know everything about io.github.Embassy-of-the-Free-Mind/source-library. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Source Library v2

A Next.js application for digitizing and translating historical texts. Built for the Embassy of the Free Mind.

Stack

  • Framework: Next.js 14 (App Router)
  • Database: MongoDB Atlas
  • AI: Google Gemini for OCR and Translation
  • Storage: Vercel Blob for images
  • Deployment: Vercel

Getting Started

npm install
npm run dev

Open http://localhost:3000

Architecture

Image System

All page images go through /api/image for consistent sizing and cropping:

Tier Size Quality Use Case
Thumbnail 400px 70% Grid views, page navigation
Display 1200px 80% Main reading view
Full 2400px 90% Magnifier, fullscreen

Split Pages

Books with two-page spreads can be split. Each page stores:

  • crop.xStart and crop.xEnd (0-1000 scale)
  • cropped_photo (optional pre-generated Vercel Blob URL)

Cropping happens on-demand via Sharp. OCR automatically crops inline and saves the result for future use.

Processing Pipeline

  1. Import - Upload images or import from Internet Archive
  2. Split - Detect and split two-page spreads (ML or manual)
  3. OCR - Extract text using Gemini Vision
  4. Translate - Translate to English using Gemini
  5. Summarize - Generate summaries and key themes

Key Directories

src/
├── app/              # All routes, pages, and API endpoints
│   ├── api/          # API routes
│   ├── book/         # Book pages (detail, read, pipeline)
│   └── page.tsx      # Homepage
├── components/       # Reusable React components
├── hooks/            # Reusable React hooks for component logic
└── lib/              # Business Logic, Utilities (mongodb, ai, types), and Services

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.Embassy-of-the-Free-Mind/source-library

How do I install io.github.Embassy-of-the-Free-Mind/source-library?

Run claude mcp add io-github-embassy-of-the-free-mind-source-library -- npx -y @source-library/mcp-server, then add the server to your MCP client's configuration.

Is io.github.Embassy-of-the-Free-Mind/source-library safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.Embassy-of-the-Free-Mind/source-library still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.