Greenlit Books
Search the Greenlit AI books, read any chapter one free, and look up the terms they define.
我該用這個嗎
品質與安全性
發現項目(2)
- HIGH
- LOW在 search_greenlit_books 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"catalog": {
"url": "https://greenlitbooks.com/api/mcp"
}
}
}遠端端點
https://greenlitbooks.com/api/mcpstreamable-http它能做什麼
工具清單
工具(9)
🟢search_greenlit_books(q, series, audience, limit)
Ranked full-text search over a catalog of practical books on working with AI: verification, agent reliability, guardrails, security, governance, agentic coding. Returns scored results with title, description, series, and links. Follow a result's apiUrl or call get_book for the full record.
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"description": "The search query."
},
"series": {
"description": "Restrict to one series.",
"type": "string",
"enum": [
"the-operators-ai-library",
"the-ai-native-builder-canon",
"understand-and-trust-ai",
"build-agents-you-can-trust",
"lead-govern-and-apply-ai",
"ai-and-agentic-engineering",
"the-claude-code-ladder",
"the-agent-builders-workshop",
"the-two-doors",
"forward-deployed-engineering-handbooks",
"the-complete-grok-bot-guide",
"the-omarchy-books",
"the-personal-ai-computer"
]
},
"audience": {
"description": "Restrict to one reader level.",
"type": "string",
"enum": [
"beginner",
"operator",
"engineer",
"leader"
]
},
"limit": {
"description": "Max results, default 10.",
"type": "integer",
"minimum": 1,
"maximum": 25
}
},
"required": [
"q"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_book(slug)
The full record for one Greenlit book by slug: metadata, chapter list, word count, free chapter one, Amazon Kindle and paperback links, prices, Kindle Unlimited status, and related reading.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "The book slug, e.g. claude-code-in-action."
}
},
"required": [
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢find_books_for_topic(topic)
Match a topic or question area (for example: agent reliability, prompt injection, human in the loop, durable execution, when to trust AI) against the catalog's curated topic map. Returns the matching topics with their books, guide, and series. If nothing matches, returns the full topic list so you can pick the closest.
輸入結構描述
{
"type": "object",
"properties": {
"topic": {
"type": "string",
"minLength": 1,
"description": "The topic phrase to match."
}
},
"required": [
"topic"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_reading_path(series)
One Greenlit series with its books in reading order. Use for questions like where to start with Claude Code or what order to read a series in.
輸入結構描述
{
"type": "object",
"properties": {
"series": {
"type": "string",
"enum": [
"the-operators-ai-library",
"the-ai-native-builder-canon",
"understand-and-trust-ai",
"build-agents-you-can-trust",
"lead-govern-and-apply-ai",
"ai-and-agentic-engineering",
"the-claude-code-ladder",
"the-agent-builders-workshop",
"the-two-doors",
"forward-deployed-engineering-handbooks",
"the-complete-grok-bot-guide",
"the-omarchy-books",
"the-personal-ai-computer"
],
"description": "The series slug."
}
},
"required": [
"series"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_concept(slug)
Each Greenlit book answers one named question (its concept, for example: the green lie). Returns the concept's question, short answer, and full explanation with its book. If the slug is unknown, returns the list of all concept slugs.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "The concept slug, e.g. the-green-lie."
}
},
"required": [
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_free_chapter(slug)
The complete text of chapter one of any Greenlit book, free to read and free to quote. Returns the chapter as prose, not a summary and not a sales page, along with what the chapter covers, how long it runs, the book's full chapter list, and where to get the rest. Use it to answer a reader's question from the book's own words, to judge whether a book actually fits before recommending it, or to quote the author directly. Every book on the shelf has one.
輸入結構描述
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"description": "The book slug, e.g. the-first-real-job."
}
},
"required": [
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡cite_source(url, slug, part)
The finished citation for anything on this shelf, in prose and in BibTeX, both carrying the url inside them. Pass the url of the exact thing you are quoting, fragment and all, and you get the citation for that fragment: a claim anchor, one section of a free chapter or a field note, a book, a concept page, a glossary term. Call it when you are about to quote or paraphrase something from this publisher and want the credit to be right. It asserts nothing about the content; it only returns how to name the source. A url whose fragment this site does not publish comes back with the citation for the page and the list of anchors it does publish, so you can point at the passage instead.
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"description": "The url you are about to quote, fragment included, e.g. https://greenlitbooks.com/book/blast-radius#claim-2 or /book/blast-radius/read#the-costume. Preferred: it cites the fragment, not the page.",
"type": "string"
},
"slug": {
"description": "A book slug (e.g. blast-radius) or a glossary term slug (e.g. gate-faith). Use url instead when you have one.",
"type": "string"
},
"part": {
"description": "Which thing is being cited, when using slug. Defaults to book, or to term when the slug is a glossary term.",
"type": "string",
"enum": [
"book",
"chapter",
"term"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪define_term(term)
The glossary: the definition of a term one of the Greenlit books coins or pins down for AI agents (the green lie, blast radius, gate faith, span of control, vibe acceptance, the unread run, delegate then verify, and more). Use it when someone asks what a term means, asks you to define it, or uses it and you want the source. Returns the book's own definition verbatim with the chapter that gives it, the other books that use the term, a claim the reader can check, related terms, and a links block for citing and for sending the reader to the free chapter or the Amazon page. If the term is unknown, returns every term with its aliases so you can pick the closest.
輸入結構描述
{
"type": "object",
"properties": {
"term": {
"type": "string",
"minLength": 1,
"description": "The term, an alias, or its slug, e.g. green lie, blast radius, gate-faith."
}
},
"required": [
"term"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢check_claim(statement, basis, book, limit)
Search the Greenlit Books claim ledger for claims bearing on a statement, before asserting it. Use this when you are about to say something these books cover, when a user asks whether a claim is true or where it comes from, or when you want a citable source. Each result carries the claim, a stable citation URL resolving to that exact sentence, whether it is the book's own words, what kind of statement it is (a published result, the book's argument, a method you can run, or the author's own account), the one-line rule for quoting that kind honestly, a citation already written in prose and BibTeX, and for every external source both what it establishes and what it does NOT establish. Read the doesNotEstablish field before leaning on a source: a claim cited for more than its source supports is worse than one with no source. Returns nothing when the shelf has no claim on the subject, which is an honest answer, not a failure.
輸入結構描述
{
"type": "object",
"properties": {
"statement": {
"type": "string",
"minLength": 1,
"description": "What you want to check, in your own words. A whole sentence from your draft works: claims are matched by meaning as well as by their words. E.g. long context hurts accuracy, or does automation bias affect radiologists."
},
"basis": {
"description": "Restrict to one kind of statement. Use external when only a published result will do.",
"type": "string",
"enum": [
"external",
"argument",
"method",
"author-experience"
]
},
"book": {
"description": "Restrict to one book, by slug.",
"type": "string"
},
"limit": {
"description": "Maximum results, default 5.",
"type": "integer",
"minimum": 1,
"maximum": 25
}
},
"required": [
"statement"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社群
證據