Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Search books and authors on the Internet Archive's Open Library
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"open-library": {
"command": "npx",
"args": [
"-y",
"mcp-open-library"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add open-library -- npx -y mcp-open-libraryวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"open-library": {
"command": "npx",
"args": [
"-y",
"mcp-open-library"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"open-library": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-open-library"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub 8enSmith ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.2.6) เข้า registry 15 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
A Model Context Protocol (MCP) server for the Open Library API that enables AI assistants to search for book and author information.
This project implements an MCP server that provides tools for AI assistants to interact with the Open Library. It allows searching the catalogue by title, author, subject and other fields, searching for authors by name, retrieving detailed author information using their Open Library key, and getting URLs for book covers and author photos. The server returns JSON projections of the Open Library responses rather than the raw payloads.
search_books).get_book_by_title).get_authors_by_name).get_author_info).get_author_photo).get_book_cover).get_book_by_id).Search results are paged — every search tool returns at most limit results (default 10, maximum 50) alongside num_found, the total number of matches, which you page through with offset (maximum 1000). The two cover tools check that an image actually exists and say so when it does not, rather than handing back a URL that resolves to a blank placeholder.
Every tool is a read-only lookup and advertises itself as such with the readOnlyHint and openWorldHint annotations, which may allow a client to skip the confirmation prompt it shows for tools that could change something. These are hints: the MCP specification has clients treat annotations as untrusted unless the server is trusted, so the confirmation policy is the client's to decide. Failures — an unreachable API, a rejected argument — come back as a tool result flagged isError, so an assistant can read what went wrong and correct its next call rather than the request failing outright.
Nothing to install or build. Point an MCP client at the package with npx and it will be fetched on first run:
{
"mcpServers": { "mcp-open-library": { "command": "npx", "args": ["-y", "mcp-open-library"] } } }
In Claude Desktop that goes in claude_desktop_config.json; other clients use the same shape. Restart the client and the seven tools below become available.
This server publishes to the official MCP Registry as io.github.8enSmith/mcp-open-library from v1.0.3 onwards. Clients that support the registry can install it by that name.
To inspect the published listing:
curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.8enSmith/mcp-open-library"
# Clone the repository
git clone https://github.com/8enSmith/mcp-open-library.git cd mcp-open-library
npm install
npm run build
nvm installed run nvm use.mcp-open-library root directory run npm run buildnpm run inspector. Once built, click the URL with the MCP_PROXY_AUTH_TOKEN query string parameter to open the Inspector.This server implements the Model Context Protocol, which means it can be used by any MCP-compatible AI assistant or client e.g. Claude Desktop. The server exposes the following tools:
search_books: Search the catalogue by any combination of query, title, author, subject, place, person, publisher and ISBNget_book_by_title: Search for book information by titleget_authors_by_name: Search for author information by nameget_author_info: Get detailed information for a specific author using their Open Library Author Keyget_author_photo: Get the URL for an author's photo using their Open Library Author ID (OLID)get_book_cover: Get the URL for a book's cover image using a specific identifier (ISBN, OCLC, LCCN, OLID, or ID)get_book_by_id: Get detailed book information using a specific identifier (ISBN, LCCN, OCLC, or OLID)Example `search_books` input:
{
"author": "Ursula K. Le Guin", "subject": "fantasy", "sort": "old", "limit": 2 }
Example `search_books` output:
{
"num_found": 51, "offset": 0, "limit": 2, "results": [ { "title": "A Wizard of Earthsea", "authors": ["Ursula K. Le Guin"], "first_publish_year": 1968, "open_library_work_key": "/works/OL59798W", "edition_count": 87, "author_keys": ["OL31353A"], "best_edition": { "edition_key": "OL5613890M" }, "cover_url": "https://covers.openlibrary.org/b/id/13617691-M.jpg", "ratings_average": 3.95, "ebook_access": "borrowable" } ] }
best_edition is one specific edition of the work — the one Open Library ranks best for your query — carrying that edition's own identifiers. Search results otherwise identify a work (open_library_work_key), which no tool accepts, so this is the route from a search hit to a concrete book.
Its edition_key is an OLID you can pass straight to get_book_by_id for the full edition record, including its complete ISBN arrays:
{ "idType": "olid", "idValue": "OL5613890M" }
The isbn_13 / isbn_10 fields are omitted where Open Library holds no ISBN for that edition — as in the example above, and roughly a third of results — while edition_key is essentially always present. Where an edition lists several ISBNs of one kind, the first is reported; get_book_by_id returns them all.
The search_books tool accepts the following parameters:
q, title, author, subject, place, person, publisher or isbn — the request is rejected without one, since an unfiltered search matches the entire catalogue. q takes a free-form Solr query such as subject:cyberpunk AND first_publish_year:[1980 TO 1990]language: Optional 3-letter MARC language code (e.g. eng, fre)sort: Optional ordering — new, old, random, key, rating, readinglog, want_to_read, currently_reading, already_read or title. Omit for relevancelimit: Optional, 1–50, defaults to 10offset: Optional, 0–1000, defaults to 0Example `get_book_by_title` input:
{
"title": "The Hobbit", "limit": 1 }
Example `get_book_by_title` output:
{
"num_found": 224, "offset": 0, "limit": 1, "results": [ { "title": "The Hobbit", "authors": ["J.R.R. Tolkien"], "first_publish_year": 1937, "open_library_work_key": "/works/OL27482W", "edition_count": 481, "author_keys": ["OL26320A"], "best_edition": { "edition_key": "OL51709286M", "isbn_13": "9780395520215", "isbn_10": "0395520215" }, "cover_url": "https://covers.openlibrary.org/b/id/14627509-M.jpg", "ratings_average": 4.29, "ebook_access": "borrowable" } ] }
Example `get_authors_by_name` input:
{
"name": "J. R. R. Tolkien", "limit": 2 }
Example `get_authors_by_name` output:
Each result's key can be passed to get_author_info for that author's full record. alternate_names is abridged here.
{
"num_found": 2, "offset": 0, "limit": 2, "results": [ { "key": "OL26320A", "name": "J.R.R. Tolkien", "alternate_names": ["John Ronald Reuel Tolkien", "Tolkien"], "birth_date": "3 January 1892", "top_work": "The Hobbit", "work_count": 355 }, { "key": "OL332676A", "name": "J. R. R. Tolkien Centenary Conference (1992 Keble College, Oxford)", "top_work": "Proceedings of the J.R.R. Tolkien Centenary Conference, 1992", "work_count": 2 } ] }
Example `get_author_info` input:
{
"author_key": "OL26320A" }
Example `get_author_info` output:
{
"name": "J. R. R. Tolkien", "personal_name": "John Ronald Reuel Tolkien", "birth_date": "3 January 1892", "death_date": "2 September 1973", "bio": "John Ronald Reuel Tolkien (1892-1973) was a major scholar of the English language, specializing in Old and Middle English. He served as the Rawlinson and Bosworth Professor of Anglo-Saxon and later the Merton Professor of English Language and Literature at Oxford University.", "alternate_names": ["John Ronald Reuel Tolkien"], "photos": [6791763], "key": "/authors/OL26320A", "remote_ids": { "viaf": "95218067", "wikidata": "Q892" }, "revision": 43, "last_modified": { "type": "/type/datetime", "value": "2023-02-12T05:50:22.881" } }
Example `get_author_photo` input:
{
"olid": "OL26320A" }
Example `get_author_photo` output:
https://covers.openlibrary.org/a/olid/OL26320A-L.jpg
When Open Library has no photo for that author, the tool says so instead of returning a URL:
No author photo available for OLID OL99999999A.
Example `get_book_cover` input:
{
"key": "ISBN", "value": "9780547928227", "size": "L" }
Example `get_book_cover` output:
https://covers.openlibrary.org/b/isbn/9780547928227-L.jpg
As with author photos, a book with no cover produces a message rather than a URL:
No cover image available for OLID OL00000000M.
The get_book_cover tool accepts the following parameters:
key: The type of identifier (one of: ISBN, OCLC, LCCN, OLID, or ID)value: The value of the identifiersize: Optional cover size (S for small, M for medium, L for large, defaults to L)Example `get_book_by_id` input:
{
"idType": "isbn", "idValue": "9780547928227" }
**Example `get_book_
ตัดมาแค่ช่วงต้น อ่านต่อใน repo