
8ensmith/mcp-open-library
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
8ensmith/mcp-open-libraryは、https://github.com/8ensmith/mcp-open-library.からインポートされたMCPサーバー候補です。
概要
8ensmith/mcp-open-libraryは、https://github.com/8ensmith/mcp-open-library.からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
Open Library API用のモデルコンテキストプロトコル(MCP)サーバーで、AIアシスタントが書籍や著者の情報を検索できるようにします。
概要
このプロジェクトは、AIアシスタントがOpen Libraryとやり取りするためのツールを提供するMCPサーバーを実装しています。タイトル、著者、主題などのフィールドでカタログを検索し、著者名で検索し、Open Libraryキーを使って詳細な著者情報を取得し、書籍表紙や著者写真のURLを取得することができます。サーバーは生のペイロードではなく、Openライブラリの応答に対するJSON投影を返します。
特徴
- 書籍検索:タイトル、著者、主題、場所、人物、出版社、ISBNをまたいで検索し、ソートとページング(
search_books)を使います。 - タイトルによる書籍検索:タイトル(
get_book_by_title)で本を検索。 - 著者名による検索:著者名をページング(
get_authors_by_name)で検索。 - 著者詳細取得:特定の著者のOpen Libraryキー(
get_author_info)を使って詳細情報を取得します。 - 著者写真を取得:著者のオープンライブラリID(OLID)(
get_author_photo)を使って著者の写真のURLを取得します。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP Open Library
A Model Context Protocol (MCP) server for the Open Library API that enables AI assistants to search for book and author information.
Overview
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.
Features
- Book Search: Search across titles, authors, subjects, places, people, publishers and ISBNs, with sorting and paging (
search_books). - Book Search by Title: Search for books using their title (
get_book_by_title). - Author Search by Name: Search for authors using their name, with paging (
get_authors_by_name). - Get Author Details: Retrieve detailed information for a specific author using their Open Library key (
get_author_info). - Get Author Photo: Get the URL for an author’s photo using their Open Library ID (OLID) (
get_author_photo). - Get Book Cover: Get the URL for a book’s cover image using various identifiers (ISBN, OCLC, LCCN, OLID, ID) (
get_book_cover). - Get Book by ID: Retrieve detailed book information using various identifiers (ISBN, LCCN, OCLC, OLID) (
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.
インストール
npx -y mcp-open-library設定
{
"mcpServers": {
"mcp-open-library": {
"command": "npx",
"args": ["-y", "mcp-open-library"]
}
}
}