Library of Alexandria

io.github.ltvspot由 GitHub 帳號 ltvspot 發布v0.1.0更新於 Oct 29, 2026

Classic books in 25 languages: search, print editions, the free shelf. Read-only, no sign-in.

已驗證Streamable HTTP可網頁執行知識與記憶商業與電商媒體與設計

概覽

AI 產生的概覽

以唯讀方式存取某出版社多語系經典書目:搜尋書名、閱讀摘要與免費試閱,並查詢紙本版本。

可以做什麼
  • 依書名、作者或主題詞搜尋書目,並瀏覽免費書架、閱讀難度、熱門等現成書架
  • 取得單一本書的資料、封面、主題、章節清單與章節摘要,以及紙本版本與價格
  • 閱讀 15 分鐘摘要的第一個重點、免費開頭或免費書架中的某一章,每頁不超過 400 字
  • 查找引文出處、解釋成語俗語,並依喜歡的書、主題或心情取得推薦
  • 產生客製印刷報價,並取得由本人填寫留言並付款的頁面網址
  • 供已登入會員使用:查看方案與每日剩餘字數、列出收藏書籍、在已開放章節內搜尋、閱讀段落並取得閱讀或收聽連結
適用情境
適合讓助理回答經典文學相關問題、推薦書目、定位或引用段落,或把使用者導向免費閱讀頁與紙本版本。它是書目與閱讀輔助工具,不是通用網頁搜尋,也不負責結帳。
執行需求
遠端 Streamable HTTP 端點;書目類工具不需金鑰、帳號或註冊。會員類工具以已登入會員身分操作。文字類工具依用戶端計算字數額度(每日 72,000 字、每小時 48,000 字)。
安裝前請注意
工具為唯讀,不會收款或替人登入;下單與付款只在出版社網站上透過連結完成。文字工具會回傳書籍摘錄並計入字數額度。部分摘要、試閱與章節尚未開放,會回覆即將開放。請將請求控制在每秒幾次,並送出標明程式名稱的 User-Agent。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ltvspot%2Flibrary-of-alexandria/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "library-of-alexandria": {
      "type": "http",
      "url": "https://mcp.libraryofalexandria.com/mcp"
    }
  }
}

README

Library of Alexandria for developers

The library's catalogue, its free shelf and its print editions, as one small set of read-only tools that any program, assistant or model can call. There is no key and nothing to sign up for. The tools never sign anyone in, take a payment or change anything; every title they return carries the address of its page on libraryofalexandria.com, where a person reads, listens, prints or starts.

Three doors lead to the same eight tools:

DoorAddressFor
MCP (Streamable HTTP)https://mcp.libraryofalexandria.com/mcpClaude, ChatGPT, Gemini, Grok, Copilot, Perplexity, Le Chat, LM Studio, Open WebUI, Cursor, VS Code, Goose and every other MCP client
REST + OpenAPI 3.1POST https://api.libraryofalexandria.com/v1/<tool> and GET .../v1/openapi.jsonscripts, automation tools (n8n, Zapier, Make, Dify, Flowise), Open WebUI tool servers, Copilot Studio
Tool files for model makers`GET .../v1/tools?format=openaiopenai-chat

The eight tools

ToolWhat it does
search_booksfind titles by words from a title, an author or a topic, in any language of the catalogue
get_bookthe facts of one title: author, original title, cover, print editions, its page in each language
get_summarythe first key idea of the 15-minute summary of one title in full, and the headings of the others (part chooses one)
get_samplethe free opening of one title, in pages of at most 400 words (page chooses one)
list_free_shelfthe titles on the free shelf, by language and subject
read_free_chapterone chapter of a free-shelf title, in pages of at most 400 words
get_print_optionsthe print editions of one title (standard and large print; paperback or hardcover) with the list price in US dollars
get_publisher_infowho publishes the library, the languages, the terms and privacy pages

A summary, a sample page or a free-shelf chapter that is not open yet (a title, a language, or all texts before they go online) answers plainly that it "opens here soon"; the tools then fill in without any change on your side. The text tools count the words they hand out for each client (72,000 a day and 48,000 an hour) and show what is left in budget.

Try it in a minute

bash
curl -s https://api.libraryofalexandria.com/v1/search_books \  -H 'content-type: application/json' -d '{"query":"moby dick","limit":3}'

The answer is {"ok": true, "data": {...}, "source": "Library of Alexandria, libraryofalexandria.com"}. A problem comes back as application/problem+json (RFC 9457) with a stable code; see openapi/loa-api.openapi.json.

What is in this folder

PathWhat
openapi/loa-api.openapi.jsonthe OpenAPI 3.1 file (also served live at /v1/openapi.json)
function-tools/*.jsonthe eight tools in the shapes of OpenAI (Responses and Chat Completions), Anthropic, Gemini, Ollama and MCP
cli/loa.mjsthe command line loa (Node 18 or newer, no dependencies)
sdk/typescript/loa.mjs, loa.d.tsthe JavaScript and TypeScript client (no dependencies; browsers, Node, Deno, Bun, Workers)
sdk/python/loa_library.pythe Python client (standard library only)
sdk/python/loa_tools.pyone plain Python function per tool, for Ollama and any framework that builds tool schemas from type hints
mcp-bridge/loa-mcp.mjsa stdio bridge for MCP clients that cannot reach a remote server
quickstarts/how to connect LM Studio, Open WebUI, Ollama, Goose, Claude, ChatGPT, Cursor, VS Code, LangChain and the OpenAI Agents SDK
AGENTS.md, SKILL.mdinstructions for coding agents and for assistants that help a person with the library
tests/the tests of this kit (node --test tests/*.test.mjs and python3 tests/test_python.py)

The generated files (openapi/, function-tools/) are made from the service's own code; a test in the service fails when they are out of date.

Rules of the library, for everyone who quotes it

  • Say what the answer says; use the url of a title as given; never invent a price or an offer.
  • The library is not the ancient library of Alexandria and not the Bibliotheca Alexandrina.
  • Payments and sign-up happen on libraryofalexandria.com only; a tool can hand over a link, never take a payment.
  • Please keep to a few requests a second and send a User-Agent that names your program.

Versions

The API version is a date, sent back in the LOA-Version header (2026-10-25). Changes are announced on the developer page.

Licence

MIT, see LICENSE. The library's tools return catalogue facts, short summaries and free parts as the service allows; the licence covers this code and these documents, not the books.

Registry entry

The description of the server for the official MCP Registry is in server.json.

來源:README.md,提交 53c8b98

工具

26

search_books

Search books

Search the catalogue of Library of Alexandria Press by words from a title or an author's name, or by a topic word, in any language of the catalogue (Chinese in simplified and traditional characters). Returns up to 8 titles with id, title, subtitle, author, language, whether print editions are available, and the address of the title page on libraryofalexandria.com. Pass the asker's language so titles and authors come back in it.

輸入參數limitquery必填language

get_book

Get book facts

Get the catalogue facts of one title: title, subtitle, author and original title in the chosen language, the cover picture address, the print editions, and the title page address in each language in which libraryofalexandria.com has the page (a language without a page there is not listed, so the list can be shorter than the languages of the catalogue). `url_language` says when `url` is in another language than the one asked.

輸入參數id必填language

get_summary

Get summary

Read the 15-minute summary of one title: the first key idea in full, with its heading, and the headings of the other key ideas, which open in the library. Choose a key idea with 'part'. A title or a language whose summary is not open yet answers that it opens here soon.

輸入參數id必填partlanguage

get_sample

Get sample pages

Read the free opening of one title: the first chapter of its text, in pages of at most 400 words. Pass 'page' for the next page; every answer says how many pages there are and where the text continues. Until the text is open the answer says that it opens here soon.

輸入參數id必填pagelanguage

list_free_shelf

List the free shelf

List the titles on the free shelf, optionally for one language and one subject, with the address of each reading page.

輸入參數limitsubjectlanguage

read_free_chapter

Read a free chapter

Read one chapter of a title on the free shelf, in pages of at most 400 words. Chapter numbers are those of the reader's contents list; without 'chapter' the first chapter of the text is read. Every answer points to the next page. Until the text is open the answer says that it opens here soon.

輸入參數id必填pagechapterlanguage

get_print_options

Get print options

Get the print editions of one title (standard and large print; paperback or hardcover) with the normal price in US dollars where it exists, ISBN-13 and page count where known, and the address of each product page.

輸入參數id必填language

get_publisher_info

Get publisher info

Get the publisher's standard description, the languages of the catalogue and the address of the terms page.

無需輸入參數。

browse_collection

Browse a collection

Browse a ready-made shelf of the library: the free books, the easy, medium or challenging reading levels, the lost books, the titles with a 15-minute summary, or the most popular titles. Returns up to 8 titles at a time, with a cursor for the next page.

輸入參數limitcursorlanguagecollection必填

get_book_facts

Get reading facts

Get the reading facts of one title: its reading level, word count, estimated reading time at three paces, page counts of the print editions, audio length, number of chapters, year of first publication, and whether a 15-minute summary is open. Facts that are not known yet are listed as not available yet.

輸入參數id必填language

get_themes

Get the study guide

Get the study guide of one title: its main themes, symbols, setting and recurring motifs, each in a few sentences, with the address of the full study guide. A title or language whose guide is not open yet says that it opens here soon.

輸入參數id必填language

get_chapter_summary

Get a chapter summary

Get the summary of one chapter, act or section of a title, or, without a number, the list of its chapters with their titles. Each summary is a few hundred words at most and points to the next one. A title whose chapter summaries are not open yet says that they open here soon.

輸入參數id必填chapterlanguage

find_quote_source

Find where a quotation comes from

Find where a quotation comes from: give at least six words of it and get the title, chapter and paragraph of the open texts of the library that contain it, with the address to read it there. It answers only for texts that are open and never returns the words of the book.

輸入參數quote必填language

explain_phrase

Explain a phrase

Explain a saying or idiom: what it means, where it comes from, and which titles of the library use it. A phrase that is not in the collection gets the closest phrases that are.

輸入參數phrase必填language

recommend_classics

Recommend classics

Recommend classics: give the title of a book you liked, or its id, and get the books its readers also enjoyed; or give a topic or a mood and get titles that match it. Filter by reading level or by the free shelf.

輸入參數levellimitquery必填languagefree_only

quote_custom_print

Quote a personal print copy

Prepare a printed copy of one title with a personal message page, as a gift or for yourself: get the normal price of the paperback, hardcover or large print edition, the total for the number of copies, and the address of the page on libraryofalexandria.com where the message is written and the order is placed. Shipping and tax are shown at checkout.

輸入參數id必填giftcovercountryeditionlanguagequantitydedication

create_custom_print_order

Continue to the order

Continue from a quote: get the address of the page on libraryofalexandria.com where the person writes the message, sees the proof and pays. Nothing is ordered or paid through the assistant, and no card or address is asked for here.

輸入參數quote_id必填

get_order_status

Check an order

Check where a printed order stands. Today the answer points to the e-mail of the order and to the account on libraryofalexandria.com; tracking through an assistant opens here soon.

輸入參數email必填languageorder_ref必填

get_my_plan

Get my plan

Read the plan and daily words left for the signed-in member. Passages come only from titles open to you, within a daily word limit.

無需輸入參數。

list_my_library

List my library

List the saved books of the signed-in member with their reader addresses. Returns at most 50 books at a time and never returns book text.

輸入參數limitoffsetstatus

get_book_outline

Get book outline

List the chapters and their access for the signed-in member. Only open titles are shown, and no chapter text is returned.

輸入參數id必填language

search_in_book

Search in book

Find paragraphs by keywords in chapters open to the signed-in member. Returns at most five short snippets, within word and reading limits.

輸入參數id必填limitquery必填language

get_passage

Get passage

Read a located paragraph with nearby paragraphs for the signed-in member. Access is checked again and each passage is limited to 400 words.

輸入參數afterbeforelocator必填

open_in_reader

Open in reader

Get a chapter address for the signed-in member to open in the reader. Only open titles are linked, and the reader checks chapter access.

輸入參數id必填chapterlanguageparagraph

版本歷史

1
  1. v0.1.0最新Oct 29, 2026

評分

已滿足適用檢查項的 100%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分