Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Calibre ebook library server: search, read content, curate metadata, semantic search, gated writes.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
CALIBRE_MCP_SERVER_URL, CALIBRE_MCP_LIBRARY, CALIBRE_MCP_ENABLE_WRITE, CALIBRE_MCP_CALIBREDB_PATHต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"calibre": {
"command": "npx",
"args": [
"-y",
"calibre-mcp"
],
"env": {
"CALIBRE_MCP_SERVER_URL": "ใส่ค่าของคุณ",
"CALIBRE_MCP_LIBRARY": "ใส่ค่าของคุณ",
"CALIBRE_MCP_ENABLE_WRITE": "ใส่ค่าของคุณ",
"CALIBRE_MCP_CALIBREDB_PATH": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add calibre --env CALIBRE_MCP_SERVER_URL='ใส่ค่าของคุณ' --env CALIBRE_MCP_LIBRARY='ใส่ค่าของคุณ' --env CALIBRE_MCP_ENABLE_WRITE='ใส่ค่าของคุณ' --env CALIBRE_MCP_CALIBREDB_PATH='ใส่ค่าของคุณ' -- npx -y calibre-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"calibre": {
"command": "npx",
"args": [
"-y",
"calibre-mcp"
],
"env": {
"CALIBRE_MCP_SERVER_URL": "ใส่ค่าของคุณ",
"CALIBRE_MCP_LIBRARY": "ใส่ค่าของคุณ",
"CALIBRE_MCP_ENABLE_WRITE": "ใส่ค่าของคุณ",
"CALIBRE_MCP_CALIBREDB_PATH": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"calibre": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"calibre-mcp"
],
"env": {
"CALIBRE_MCP_SERVER_URL": "ใส่ค่าของคุณ",
"CALIBRE_MCP_LIBRARY": "ใส่ค่าของคุณ",
"CALIBRE_MCP_ENABLE_WRITE": "ใส่ค่าของคุณ",
"CALIBRE_MCP_CALIBREDB_PATH": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
CALIBRE_MCP_SERVER_URL envCALIBRE_MCP_LIBRARY envCALIBRE_MCP_ENABLE_WRITE envCALIBRE_MCP_CALIBREDB_PATH envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub caelum29 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.12.0) เข้า registry 8 วันที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
The most capable Calibre MCP server in existence — connect Claude (or any MCP client)
to your Calibre ebook library and search it by *meaning*, not
just keywords.
Ask your AI assistant *“which of my books explain consumer-group rebalancing?”* and get the exact chapter — across 800+ books or inside one. Curate metadata, dedupe, and safely edit your library, all through natural language.
One question → semantic search → 3D cover flow → book card → exact passage → figure viewer, all inside Claude Desktop (MCP Apps)
calibre_get_book a book detail card with cover, rating, and read/similar actions, and calibre_get_figures a figure viewer that shows you the same diagrams the assistant fetched. Text-only hosts are unaffected.795731065.pdf → *Fundamentals of Software Engineering*) via Open Library / Google Books.pdftotext (brew install poppler) or Python 3 with PyMuPDF (pip install pymupdf). Without them the server falls back to Calibre's ebook-convert.Grab the guided-installer skill and hand the whole job to your agent:
npx skills@latest add caelum29/calibre-mcp # pick calibre-mcp-setup
Then tell your agent: "set up calibre-mcp". The calibre-mcp-setup skill drives everything below — preflight (Node, calibredb, Content Server), the Calibre-side config, the right install for your client (macOS/Windows/Linux), and a calibre_ping verification — asking you only the questions that are yours to answer (which client, writes on/off). Works in any Agent-Skills-compatible harness (Claude Code, Copilot, Amp, …). Prefer doing it by hand? Pick your client below.
MCP server only:
claude mcp add calibre -- npx -y calibre-mcp
Or install the plugin — server and the companion skills in one step, with a settings dialog (server URL, library, write gate) at install time:
/plugin marketplace add caelum29/calibre-mcp
/plugin install calibre-mcp@caelum29
Download the .mcpb bundle from the latest release and open it — Claude Desktop installs it and prompts for settings (server URL, library, writes on/off). No terminal needed.
About the install warning. Claude Desktop shows *“Installing will grant this
extension access to everything on your computer… developer information has not been
verified by Anthropic”* for every extension installed from a file rather than the
built-in directory — it’s not specific to this one. The server runs as a local Node
process under your user account, exactly like the
npxinstall below; the bundle is
built and published by CI from this repository, so you can audit what you’re running.
Click Install to proceed.
The bundle ships without the optional embeddings dependency to stay small, so the two
semantic-search tools report themselves unavailable. Metadata and full-text search work
fully. For semantic search, use the npx install below instead.
Add to claude_desktop_config.json:
{
"mcpServers": { "calibre": { "command": "npx", "args": ["-y", "calibre-mcp"] } } }
Configure the server in Claude Desktop (either method above) — Desktop bridges local MCP servers into Cowork automatically. No extra setup.
The repo's Agent Skills — a guided installer (calibre-mcp-setup), the calibre-mcp usage guide, and the two distill skills — install into any Agent-Skills-compatible harness with the skills.sh installer:
npx skills@latest add caelum29/calibre-mcp
Pick the skills and target agents interactively. Two philosophies, same as mattpocock/skills: skills.sh copies the files into your setup so you can hack on them; the Claude Code plugin (above) keeps them as a managed, auto-updating bundle. Either way the skills drive this MCP server's tools, so install the server too — or let the calibre-mcp-setup skill do it: it walks any agent through preflight, per-client install (macOS/Windows/Linux), and verification.
The server auto-detects your default library; if the Content Server isn’t reachable it logs an actionable hint to stderr. Then try, in order:
Bonus: *“what’s wrong with my library?”* runs the quality audit (missing metadata, raw-filename titles, invalid ISBNs).
Write tools (calibre_update_book, calibre_bulk_update, calibre_add_book, calibre_remove_book, calibre_merge_books, calibre_manage_bundles) are hidden by default — including calibre_manage_bundles' read-only list action, since the gate works per tool, not per action. Two independent switches must be on:
CALIBRE_MCP_ENABLE_WRITE=1 (or tick *Enable writes* in the Desktop bundle settings). Without it the write tools are disabled — hidden from the tool list and uncallable.--enable-local-write: # quit the Calibre GUI first (it holds the library lock), then:
calibre-server --enable-local-write --port 8080 "/path/to/Calibre Library"
Or enable it on the GUI-embedded server without quitting the app: open Calibre → Preferences → Sharing over the net → Advanced and tick “Allow un-authenticated local connections to make changes to the library” (i.e. permit local write access), then restart the Content Server from the GUI. This is the --enable-local-write equivalent for the embedded server.
With only the first switch on, write tools appear but Calibre refuses the write — the error message tells you exactly that. Reads work fine against the GUI-embedded server.
Safety behavior: calibre_bulk_update requires an explicit book selection (ids or query — there is no “all books” default) and previews changes until you pass preview: false. calibre_remove_book is a dry-run until you pass confirm: true; deletion removes records *and* files, permanently. calibre_merge_books shows its full merge plan until you pass confirm: true, and trashed sources stay recoverable from Calibre's trash (mode safe keeps them entirely). calibre_add_book only imports files from whitelisted folders (CALIBRE_MCP_ADD_ROOTS).
Deep dive:
docs/SEMANTIC-SEARCH.md— how indexing, hybrid retrieval, and reranking work.
Meaning-based search is opt-in and needs two things:
@huggingface/transformers is an optionalDependencies entry, so a normal npx calibre-mcp / npm install gets it automatically. (Only the MCPB bundle excludes it.)calibre_build_index for the books you care about (by ids or a Calibre query). The first build downloads the embedding model (multilingual-e5-small, ~118 MB, one-time) into the index directory; after that everything runs offline. Indexing runs at roughly 100 chunks/sec on Apple Silicon.[!IMPORTANT]
**Search results are sharpened by a cross-encoder reranker whose model is a separate
~576 MB one-time download.**
calibre_build_indexpre-downloads it during the build —
the step you already expect to be slow. If you skip straight to searching on a machine
without the cached model, your first hybrid/vector search triggers that download
instead. Reranking also adds seconds of CPU per semantic search; set
CALIBRE_MCP_RERANK=offto disable it (faster, noticeably less precise ranking).
Then calibre_semantic_search answers queries like *“which of my books explain consumer group rebalancing?”* — across the library (scope: library, ranks books) or within one book (scope: book, returns located passages). Retrieval is hybrid by default: vector cosine + stemmed keyword FTS, fused with reciprocal rank fusion, then rer
ตัดมาแค่ช่วงต้น อ่านต่อใน repo