Shelfclub
Search a catalog of 1.7 million books and find books by mood, vibe, pace or genre. Read-only.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"books": {
"url": "https://mcp.shelfclub.app/mcp"
}
}
}远程端点
https://mcp.shelfclub.app/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢search_books(query, limit)
Search the Shelfclub book catalog by title or author name. Returns up to 10 books, each with its Shelfclub id, authors, description, reader rating, series, shelfclub.app link, and machine-generated mood, vibe, pace and genre tags.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 200,
"description": "A book title, an author name, or both."
},
"limit": {
"default": 5,
"description": "How many books to return.",
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"try_again_later"
],
"description": "\"try_again_later\": the service was busy and looked nothing up, so the other fields are absent."
},
"retryAfterSeconds": {
"description": "With \"try_again_later\", when known: how long to wait.",
"type": "integer",
"minimum": 1,
"maximum": 3600
},
"books": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Shelfclub id of the book."
},
"title": {
"type": "string"
},
"authors": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"type": "string",
"description": "The book's page on shelfclub.app."
},
"description": {
"description": "From the catalog, cut to 600 characters.",
"type": [
"string",
"null"
]
},
"averageRating": {
"description": "Reader rating out of 5.",
"type": [
"number",
"null"
]
},
"moods": {
"type": "array",
"items": {
"type": "string"
}
},
"vibes": {
"type": "array",
"items": {
"type": "string"
}
},
"pace": {
"type": [
"string",
"null"
]
},
"genres": {
"type": "array",
"items": {
"type": "string"
}
},
"series": {
"type": [
"string",
"null"
]
},
"seriesPosition": {
"type": [
"number",
"null"
]
}
},
"required": [
"id",
"title",
"authors",
"url",
"description",
"averageRating",
"moods",
"vibes",
"pace",
"genres",
"series",
"seriesPosition"
],
"additionalProperties": false
}
},
"total": {
"description": "How many books in the catalog match, of which `books` is the first few.",
"type": "number"
},
"exactMatch": {
"description": "False when nothing matched the query as written and `books` holds the closest titles instead.",
"type": "boolean"
},
"tagProvenance": {
"type": "string",
"description": "Where the moods, vibes, pace and genres come from."
}
},
"required": [
"status"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢find_books_by_mood(moods, vibes, pace, genres, limit)
Find books in the Shelfclub catalog by mood, vibe, pace and genre tags. At least one tag is needed. Books that carry every requested tag are listed first, most read first; when there are fewer of those than asked for, books that carry some of the tags follow, and `matchAll` says how many of the books returned carry every tag. Each book is returned with its own tags. Returns up to 10 books, each with its Shelfclub id, authors, description, reader rating, series and shelfclub.app link. The tags are machine-generated.
输入模式
{
"type": "object",
"properties": {
"moods": {
"default": [],
"description": "How the book feels to read.",
"maxItems": 8,
"type": "array",
"items": {
"type": "string",
"enum": [
"cozy",
"adventurous",
"emotional",
"dark",
"hopeful",
"romantic",
"funny",
"spicy"
]
}
},
"vibes": {
"default": [],
"description": "The kind of reading experience.",
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"enum": [
"beach-read",
"page-turner",
"literary",
"thought-provoking",
"atmospheric",
"character-driven",
"plot-driven",
"slow-burn",
"epic",
"comfort-read"
]
}
},
"pace": {
"description": "How quickly the story moves.",
"type": "string",
"enum": [
"fast",
"medium",
"slow"
]
},
"genres": {
"default": [],
"maxItems": 19,
"type": "array",
"items": {
"type": "string",
"enum": [
"science-fiction",
"fantasy",
"romance",
"mystery",
"thriller",
"horror",
"historical-fiction",
"literary-fiction",
"young-adult",
"childrens",
"graphic-novel",
"poetry",
"biography-memoir",
"history",
"science-nature",
"self-help",
"business",
"true-crime",
"religion-spirituality"
]
}
},
"limit": {
"default": 5,
"description": "How many books to return.",
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"try_again_later"
],
"description": "\"try_again_later\": the service was busy and looked nothing up, so the other fields are absent."
},
"retryAfterSeconds": {
"description": "With \"try_again_later\", when known: how long to wait.",
"type": "integer",
"minimum": 1,
"maximum": 3600
},
"books": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Shelfclub id of the book."
},
"title": {
"type": "string"
},
"authors": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"type": "string",
"description": "The book's page on shelfclub.app."
},
"description": {
"description": "From the catalog, cut to 600 characters.",
"type": [
"string",
"null"
]
},
"averageRating": {
"description": "Reader rating out of 5.",
"type": [
"number",
"null"
]
},
"moods": {
"type": "array",
"items": {
"type": "string"
}
},
"vibes": {
"type": "array",
"items": {
"type": "string"
}
},
"pace": {
"type": [
"string",
"null"
]
},
"genres": {
"type": "array",
"items": {
"type": "string"
}
},
"series": {
"type": [
"string",
"null"
]
},
"seriesPosition": {
"type": [
"number",
"null"
]
}
},
"required": [
"id",
"title",
"authors",
"url",
"description",
"averageRating",
"moods",
"vibes",
"pace",
"genres",
"series",
"seriesPosition"
],
"additionalProperties": false
}
},
"matchAll": {
"description": "How many of `books`, counted from the first, carry every tag asked for. The books after them carry some of the tags.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"hasMore": {
"description": "Whether more books carry these tags than were returned.",
"type": "boolean"
},
"tagProvenance": {
"type": "string",
"description": "Where the moods, vibes, pace and genres come from."
}
},
"required": [
"status"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_book(id, isbn)
Look up one book in the Shelfclub catalog, by its Shelfclub id or by ISBN. Returns its description, authors, reader rating, series, an edition (ISBN, page count, publisher, publication date, language), its shelfclub.app link, and machine-generated mood, vibe, pace and genre tags. A lookup by id also returns the Shelfclub author id of each author that has an author record.
输入模式
{
"type": "object",
"properties": {
"id": {
"description": "The Shelfclub id of the book, as the other tools return it. Give this or `isbn`, not both.",
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"
},
"isbn": {
"description": "An ISBN-10 or ISBN-13, with or without hyphens.",
"type": "string",
"maxLength": 32
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"try_again_later"
],
"description": "\"try_again_later\": the service was busy and looked nothing up, so the other fields are absent."
},
"retryAfterSeconds": {
"description": "With \"try_again_later\", when known: how long to wait.",
"type": "integer",
"minimum": 1,
"maximum": 3600
},
"book": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Shelfclub id of the book."
},
"title": {
"type": "string"
},
"authors": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"type": "string",
"description": "The book's page on shelfclub.app."
},
"description": {
"description": "From the catalog, cut to 600 characters.",
"type": [
"string",
"null"
]
},
"averageRating": {
"description": "Reader rating out of 5.",
"type": [
"number",
"null"
]
},
"moods": {
"type": "array",
"items": {
"type": "string"
}
},
"vibes": {
"type": "array",
"items": {
"type": "string"
}
},
"pace": {
"type": [
"string",
"null"
]
},
"genres": {
"type": "array",
"items": {
"type": "string"
}
},
"series": {
"type": [
"string",
"null"
]
},
"seriesPosition": {
"type": [
"number",
"null"
]
},
"ratingCount": {
"type": [
"number",
"null"
]
},
"authorLinks": {
"description": "The authors that have a Shelfclub author record. Present when the book was looked up by id, not by ISBN.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Shelfclub id of the author."
},
"name": {
"type": "string"
},
"url": {
"type": "string",
"description": "The author's page on shelfclub.app."
}
},
"required": [
"id",
"name",
"url"
],
"additionalProperties": false
}
},
"edition": {
"anyOf": [
{
"type": "object",
"properties": {
"isbn": {
"type": [
"string",
"null"
]
},
"pageCount": {
"type": [
"number",
"null"
]
},
"publisher": {
"type": [
"string",
"null"
]
},
"publishedDate": {
"type": [
"string",
"null"
]
},
"language": {
"type": [
"string",
"null"
]
}
},
"required": [
"isbn",
"pageCount",
"publisher",
"publishedDate",
"language"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "The edition with the ISBN that was asked for; for a lookup by id, the catalog's main edition of the book."
}
},
"required": [
"id",
"title",
"authors",
"url",
"description",
"averageRating",
"moods",
"vibes",
"pace",
"genres",
"series",
"seriesPosition",
"ratingCount",
"edition"
],
"additionalProperties": false
},
"tagProvenance": {
"type": "string",
"description": "Where the moods, vibes, pace and genres come from."
}
},
"required": [
"status"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_similar_books(id, limit)
List the books in the Shelfclub catalog whose mood, vibe, pace and genre tags overlap most with those of a given book. The tags are machine-generated, and a book that has none has no similar books. Returns up to 10 books, each with its Shelfclub id, authors, description, reader rating, series, tags and shelfclub.app link.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
"description": "The Shelfclub id of the book, as the other tools return it."
},
"limit": {
"default": 5,
"description": "How many books to return.",
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"try_again_later"
],
"description": "\"try_again_later\": the service was busy and looked nothing up, so the other fields are absent."
},
"retryAfterSeconds": {
"description": "With \"try_again_later\", when known: how long to wait.",
"type": "integer",
"minimum": 1,
"maximum": 3600
},
"books": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Shelfclub id of the book."
},
"title": {
"type": "string"
},
"authors": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"type": "string",
"description": "The book's page on shelfclub.app."
},
"description": {
"description": "From the catalog, cut to 600 characters.",
"type": [
"string",
"null"
]
},
"averageRating": {
"description": "Reader rating out of 5.",
"type": [
"number",
"null"
]
},
"moods": {
"type": "array",
"items": {
"type": "string"
}
},
"vibes": {
"type": "array",
"items": {
"type": "string"
}
},
"pace": {
"type": [
"string",
"null"
]
},
"genres": {
"type": "array",
"items": {
"type": "string"
}
},
"series": {
"type": [
"string",
"null"
]
},
"seriesPosition": {
"type": [
"number",
"null"
]
}
},
"required": [
"id",
"title",
"authors",
"url",
"description",
"averageRating",
"moods",
"vibes",
"pace",
"genres",
"series",
"seriesPosition"
],
"additionalProperties": false
}
},
"tagProvenance": {
"type": "string",
"description": "Where the moods, vibes, pace and genres come from."
}
},
"required": [
"status"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_trending_books(limit)
List the books trending on Shelfclub: the books its readers have been shelving come first, then the catalog's most widely read books. Returns up to 10 books, each with its Shelfclub id, authors, description, reader rating, series, shelfclub.app link, and machine-generated mood, vibe and pace tags.
输入模式
{
"type": "object",
"properties": {
"limit": {
"default": 5,
"description": "How many books to return.",
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"try_again_later"
],
"description": "\"try_again_later\": the service was busy and looked nothing up, so the other fields are absent."
},
"retryAfterSeconds": {
"description": "With \"try_again_later\", when known: how long to wait.",
"type": "integer",
"minimum": 1,
"maximum": 3600
},
"books": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Shelfclub id of the book."
},
"title": {
"type": "string"
},
"authors": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"type": "string",
"description": "The book's page on shelfclub.app."
},
"description": {
"description": "From the catalog, cut to 600 characters.",
"type": [
"string",
"null"
]
},
"averageRating": {
"description": "Reader rating out of 5.",
"type": [
"number",
"null"
]
},
"moods": {
"type": "array",
"items": {
"type": "string"
}
},
"vibes": {
"type": "array",
"items": {
"type": "string"
}
},
"pace": {
"type": [
"string",
"null"
]
},
"series": {
"type": [
"string",
"null"
]
},
"seriesPosition": {
"type": [
"number",
"null"
]
}
},
"required": [
"id",
"title",
"authors",
"url",
"description",
"averageRating",
"moods",
"vibes",
"pace",
"series",
"seriesPosition"
],
"additionalProperties": false
}
},
"tagProvenance": {
"type": "string",
"description": "Where the moods, vibes, pace and genres come from."
}
},
"required": [
"status"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_author(id, include_books)
Look up an author in the Shelfclub catalog by Shelfclub author id, which get_book returns for the authors of a book. Returns the author's name, biography, birth and death dates and shelfclub.app link. With `include_books`, also returns up to 10 of their books, the most recently published first, each with its Shelfclub id, description, reader rating, series, shelfclub.app link, and machine-generated mood, vibe, pace and genre tags.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
"description": "The Shelfclub id of the author, from the `authorLinks` of a get_book result."
},
"include_books": {
"default": false,
"description": "Also return up to 10 of the author's books.",
"type": "boolean"
}
},
"required": [
"id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}输出模式
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"ok",
"try_again_later"
],
"description": "\"try_again_later\": the service was busy and looked nothing up, so the other fields are absent."
},
"retryAfterSeconds": {
"description": "With \"try_again_later\", when known: how long to wait.",
"type": "integer",
"minimum": 1,
"maximum": 3600
},
"author": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Shelfclub id of the author."
},
"name": {
"type": "string"
},
"url": {
"type": "string",
"description": "The author's page on shelfclub.app."
},
"bio": {
"description": "From the catalog, cut to 600 characters.",
"type": [
"string",
"null"
]
},
"birthDate": {
"description": "As the catalog has it: a full date, a year, or other text.",
"type": [
"string",
"null"
]
},
"deathDate": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"url",
"bio",
"birthDate",
"deathDate"
],
"additionalProperties": false
},
"books": {
"description": "With `include_books`: the most recently published first.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The Shelfclub id of the book."
},
"title": {
"type": "string"
},
"authors": {
"type": "array",
"items": {
"type": "string"
}
},
"url": {
"type": "string",
"description": "The book's page on shelfclub.app."
},
"description": {
"description": "From the catalog, cut to 600 characters.",
"type": [
"string",
"null"
]
},
"averageRating": {
"description": "Reader rating out of 5.",
"type": [
"number",
"null"
]
},
"moods": {
"type": "array",
"items": {
"type": "string"
}
},
"vibes": {
"type": "array",
"items": {
"type": "string"
}
},
"pace": {
"type": [
"string",
"null"
]
},
"genres": {
"type": "array",
"items": {
"type": "string"
}
},
"series": {
"type": [
"string",
"null"
]
},
"seriesPosition": {
"type": [
"number",
"null"
]
}
},
"required": [
"id",
"title",
"authors",
"url",
"description",
"averageRating",
"moods",
"vibes",
"pace",
"genres",
"series",
"seriesPosition"
],
"additionalProperties": false
}
},
"booksTotal": {
"description": "With `include_books`: how many of their books the catalog has.",
"type": "number"
},
"tagProvenance": {
"type": "string",
"description": "Where the moods, vibes, pace and genres come from."
}
},
"required": [
"status"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}社区
证据