mcp-open-library
by 8enSmith·★ 71·综合分 46
通过 Open Library API 为 AI 助手提供书籍和作者信息搜索的 MCP 服务器,功能全面。
概述
这个 MCP 服务器实现了对 Internet Archive Open Library 的全面接口,使 AI 助手能够按标题搜索书籍、按姓名查找作者,并检索详细信息包括作者照片和书籍封面。它提供了六个明确定义的工具,以 JSON 格式返回结构化数据,使 AI 系统能够轻松访问书目信息。该服务器使用 TypeScript 构建,包含测试覆盖率,并提供手动安装和基于 Smithery 的部署选项。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
当您的 AI 助手需要提供图书推荐、搜索作者信息或访问 Open Library 目录中的书目数据时,选择这个 MCP server。
什么时候不要选它
如果您需要访问商业图书数据库(如 Google Books)或有超出 Open Library 范围的专业图书馆系统需求,请不要选择它。
此 server 暴露的工具
从 README 抽取出 6 个工具get_book_by_titleSearch for book information by title
get_authors_by_nameSearch for author information by name
get_author_infoGet detailed information for a specific author using their Open Library Author Key
get_author_photoGet the URL for an author's photo using their Open Library Author ID (OLID)
get_book_coverGet the URL for a book's cover image using various identifiers
get_book_by_idGet detailed book information using various identifiers
可对比工具
安装
通过 Smithery 安装
通过 [Smithery](https://smithery.ai/server/@8enSmith/mcp-open-library) 为 Claude Desktop 自动安装 MCP Open Library:
npx -y @smithery/cli install @8enSmith/mcp-open-library --client claude手动安装
# 克隆仓库
git clone https://github.com/8enSmith/mcp-open-library.git
cd mcp-open-library
# 安装依赖
npm install
# 构建项目
npm run buildClaude Desktop 配置
将以下内容添加到您的 Claude Desktop config.json 文件中:
{
"mcpServers": {
"open-library": {
"command": "node",
"args": ["/path/to/mcp-open-library/build/index.js"]
}
}
}FAQ
- get_book_by_title 工具返回哪些数据?
- 它返回书籍详情,包括标题、作者、首次出版年份、Open Library 作品键、版本数量和封面 URL。
- 我可以使用 ISBN 号码查找书籍吗?
- 是的,get_book_by_id 和 get_book_cover 工具都支持 ISBN 号码作为标识符。
- 需要什么版本的 Node.js?
- 服务器在 Node.js v22.21.1 上测试通过,但可能在更新版本上也能正常工作。
mcp-open-library 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。