Source Library

io.github.Embassy-of-the-Free-Mind由 GitHub 帳號 Embassy-of-the-Free-Mind 發布v4.3.0更新於 Oct 24, 2026

Search 22,000+ rare pre-modern texts with AI English translations, summaries, and 73K+ images.

發布方自己的服務:Source

概覽

AI 產生的概覽

可搜尋、閱讀並引用 22,000 多部珍稀前現代典籍(含 AI 英譯),並能檢索圖像畫廊。

可以做什麼
  • 依全文、譯文段落、語意概念或在單一本書內檢索,並依條件瀏覽書目
  • 讀取書籍中繼資料、章節與頁碼範圍,可選 OCR、譯文或兩者
  • 取得某一頁的精確譯文,附格式化引用與短連結
  • 依主題、人物、符號、類型或年代檢索書中插圖與獨立藝術品
  • 匯入前檢查書籍是否已存在,並提交回饋或分享發現
適用情境
適合煉金術、赫密士文獻、卡巴拉、神學與早期科學等主題的研究,讓助理查找段落、閱讀譯文並產出可引用的原文引文,而不是憑記憶作答。
執行需求
以 stdio 在本機執行,通常透過 npx 使用 npm 套件 @source-library/mcp-server(需 Node.js),也可全域安裝。不需要 API 金鑰或環境變數。需要能連線至 Source Library 服務的網路。
安裝前請注意
語意概念檢索使用 Gemini 嵌入,查詢內容會傳送給該第三方服務。部分工具會將資料寫回服務:提交回饋與分享發現。引文應透過引用工具取得,而非改寫或憑記憶生成。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Source Library,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Source Library MCP Server

[npm version]

Search, read, and cite 22,000+ rare pre-modern texts (alchemy, Hermetica, Kabbalah, theology, early science) with AI-generated English translations. 12 tools (full-text + semantic search, reading, exact quoting, image search, duplicate detection, feedback, sharing findings back). CLI + MCP server, no API key needed.

Quick Start

Claude Code

bash
claude mcp add source-library -- npx -y @source-library/mcp-server

Claude Desktop

Add to your Claude Desktop config:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

json
{  "mcpServers": {    "source-library": {      "command": "npx",      "args": ["-y", "@source-library/mcp-server"]    }  }}

CLI

bash
# Install globallynpm install -g @source-library/mcp-server
# Or run directlynpx @source-library/mcp-server search "philosopher's stone"

From Source

bash
git clone https://github.com/Embassy-of-the-Free-Mind/sourcelibrary-v2.gitcd sourcelibrary-v2/mcp-servernpm install && npm run buildnpm start

12 Tools

Search & Discovery

search_library

Full-text search across books and page content. Returns matching books and pages with citation URLs.

ParameterTypeRequiredDescription
querystringYesSearch query
languagestringNoFilter: Latin, German, Greek, Sanskrit, etc.
year_fromnumberNoPublication year start
year_tonumberNoPublication year end
has_doibooleanNoOnly books with DOIs
has_translationbooleanNoOnly translated books
sortstringNorelevance, date_asc, date_desc, title
limitnumberNoMax results (default 10, max 100)
search_translations

Search inside translated text across the entire library. Find what historical authors wrote about any topic. Returns passage snippets with page numbers, book info, and citation URLs.

ParameterTypeRequiredDescription
querystringYesSearch inside page text
languagestringNoFilter by book's original language
year_fromnumberNoPublication year start
year_tonumberNoPublication year end
book_idstringNoSearch within a specific book only
limitnumberNoMax results (default 20, max 50)
search_concept

Semantic passage search using Gemini embeddings. Finds conceptually related passages even when the modern term won't literally appear — e.g. "distributed cognition" maps to passages about active intellect, art of memory, wax-tablet metaphors. Prefer search_translations for literal phrases; use search_concept when the concept matters more than the wording.

ParameterTypeRequiredDescription
querystringYesConcept or natural-language description
languagestringNoFilter by original language (set explicitly to surface non-Latin/German texts)
year_fromnumberNoPublication year start
year_tonumberNoPublication year end
limitnumberNoMax passages (default 15, max 50)
search_within_book

Search inside a specific book's pages. Returns matching pages with snippets and citation URLs.

ParameterTypeRequiredDescription
book_idstringYesThe book ID to search within
querystringYesSearch query
list_books

Browse the collection with filters. Returns title, author, language, year, and translation progress.

ParameterTypeRequiredDescription
searchstringNoWord match over title, author, name forms and AI summary (diacritic-insensitive)
languagestringNoFilter by language
categorystringNoFilter by category
sortstringNorecent-translation, recent, title-asc, title-desc
limitnumberNoMax results (default 100, max 200)

Reading

get_book

Detailed book metadata: summary, index stats, chapters, edition info, DOI.

ParameterTypeRequiredDescription
book_idstringYesBook ID
get_book_text

Read a book. Prefer chapter for chapter-at-a-time reading; falls back to from/to page ranges. Each response includes a truncated flag with a truncation_note giving the next from/to values when content was cut by the page-budget limit — agents must check truncated rather than infer end-of-book from pages_returned.

ParameterTypeRequiredDescription
book_idstringYesBook ID
chapternumberNoChapter index (0-based); preferred over from/to
partnumberNoPart number (1-based) for chapters split across parts
contentstringNoocr, translation, or both (default)
fromnumberNoStart page (inclusive)
tonumberNoEnd page (inclusive)
formatstringNojson (structured) or plain (concatenated text)
include_metadatabooleanNoInclude page-level metadata (model, language, etc.)
get_quote

Get the exact translated text of a single page for quoting. Returns the verbatim translation, original OCR, and a formatted citation. The response headline is citation_link — the stable sourcelibrary.org/q/… shortlink to present alongside the quote and its page number. Always use this before putting text in quotation marks — never paraphrase from memory. Suggested render: > [quote] then — [Author], [citation.locator]. [citation_link] — the locator is "p. 217 [scan 219]" where the printed page is known, else "p. 219".

ParameterTypeRequiredDescription
book_idstringYesBook ID or slug
pagenumberYesPage number to quote from

Gallery

search_images

Search the visual collection: 50,000+ illustrations extracted from book pages PLUS 23,000+ standalone artworks (paintings, frescoes, prints, sculptures from Met, Rijksmuseum, Wikimedia, NGA). Each result has a source field: gallery (book illustration) or artwork (standalone work).

ParameterTypeRequiredDescription
querystringNoText search across descriptions, subjects, figures, artists
sourcestringNoall (default), gallery, or artworks
typestringNowoodcut, engraving, emblem, diagram, painting, fresco, etc.
subjectstringNoSubject (alchemy, astronomy, anatomy)
figurestringNoDepicted figure (Mercury, philosopher, king)
symbolstringNoSymbol (ouroboros, caduceus, sun)
year_fromnumberNoPublication year start
year_tonumberNoPublication year end
book_idstringNoOnly images from a specific book or artwork id
min_qualitynumberNoMin gallery quality score 0-1 (default 0.5)
limitnumberNoMax results (default 20, max 50)

Curation

check_duplicate

Check whether a book already exists in Source Library before importing. Uses 4-tier matching (source fingerprint, title+author normalization, keyword search, semantic similarity) and returns a confidence level + suggestion. Use this before every import to avoid duplicates.

ParameterTypeRequiredDescription
titlestringYesBook title (original or English)
authorstringNoAuthor name (any format)
yearstringNoPublication year (optional context)
languagestringNoLanguage hint for semantic search
ia_idstringNoInternet Archive identifier (exact fingerprint match)
manifeststringNoIIIF manifest URL (exact fingerprint match)

Feedback

submit_feedback

Submit feedback, bug reports, or feature requests directly to the Source Library team.

ParameterTypeRequiredDescription
messagestringYesYour feedback (2-5000 characters)
namestringNoYour name
emailstringNoEmail for follow-up
pagestringNoRelated page URL
share_findings

Share a research dossier back to the Source Library team — a title, optional summary, and an ordered list of citations ({ book_id, page, note }, references not copied text). Like submit_feedback, it goes to the team for review.

ParameterTypeRequiredDescription
titlestringYesTitle of the dossier / thesis (2-300 chars)
summarystringNoProse summarizing the argument (max 5000 chars)
citationsarrayYesOrdered { book_id, page, note } passages (1-50)
namestringNoYour name
emailstringNoEmail for follow-up

CLI

Most tools are also available as a standalone CLI with colored terminal output. (search_concept and check_duplicate are MCP-only for now.)

bash
# Search the collectionsource-library search "Paracelsus" --language=German
# Search inside translationssource-library translations "harmony of the spheres"
# Read a booksource-library text 694f49d3... --from=1 --to=50
# Book detailssource-library book 694f49d3...
# Browse the gallerysource-library images --subject=alchemy --type=emblem
# Submit feedbacksource-library feedback "Great translation of Fludd!" --name="Jane"
# JSON output for pipingsource-library search "alchemy" --json | jq .results

Example Research Prompts

"Search for references to 'prima materia' across the collection. Which authors discuss it, and how do their treatments differ?"

"Read the full translation of Fludd's History of Both Worlds, pages 1-50. Summarize the cosmological framework."

"Find all alchemical emblems depicting the ouroboros. What texts are they from?"

"What does Copernicus say about the Sun's centrality in De Revolutionibus? Find the key passages with citation URLs."

Citation URLs

Every page returned by the tools includes a citation URL:

https://sourcelibrary.org/book/fludd-utriusque?page=57

Published editions include DOIs minted via Zenodo.

Development

bash
npm run dev    # Run with hot reload (tsx)npm run build  # Compile TypeScriptnpm start      # Run compiled versionnpm run cli    # Run CLI in dev mode

License

MIT

Links

來源:mcp-server/README.md,提交 791f552

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v4.3.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Source 整合