MCP cover image
See in Github
2025-04-08

1

Github Watches

0

Github Forks

0

Github Stars

MCP Google Books

smithery badge

🧐 What is This?

This MCP server package exposes functionality for fetching book related information from Google Books API. This implementation is designed to be used in environments that support the MCP protocol, such as Claude.

📦 Usage

Installing via Smithery

To install mcp-google-books for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @juanbeniteza/mcp-google-books --client claude

Starting Up the Server

To begin using mcp-google-books, connect to your MCP compatible environment (such as Claude) and then run the server.

  1. Start the server by issuing the following command:
    node mcp-google-books.js
    

💡 Example

Below is a detailed example of how to use the mcp-google-books server with an MCP compatible client:

  1. Initialize the Server

    • Start the server.
  2. Client Interactions

    • With a running instance of Claude or another compatible client, the client should automatically connect and discover this server, listing its tools and resources available for use.
    • You can query books by title or author.
  3. Tool Listings

    • Once the server initializes, list available tools. This would include actions that can be invoked by clients.
  4. Calling Tools

    • Clients can now call available tools for getting book information via Google Books API.

🙏 Acknowledgements

Special thanks to Google Books API for providing the required data.

🌍 License

This repository is licensed under the MIT License. See the LICENSE file for more information.

🛠️ Available Tools

This MCP server provides the following tools for interacting with Google Books:

1. Book Search

Search for books by title using the Google Books API.

mcp_Google_Books_book_search(query: str)

Parameters:

  • query: The title of the book to search for

Example:

# Search for a book by title
result = mcp_Google_Books_book_search(query="The Hobbit")

2. Author Search

Search for books by author using the Google Books API.

mcp_Google_Books_author_search(query: str)

Parameters:

  • query: The name of the author to search for

Example:

# Search for books by an author
result = mcp_Google_Books_author_search(query="J.R.R. Tolkien")

📝 Response Format

Both tools return information about books including:

  • Title
  • Author(s)
  • Published Date
  • Description (when available)

The results are returned in a formatted text that can be easily read and processed by MCP clients.

⚠️ Rate Limiting

Please note that these tools use the Google Books API, which has rate limiting. Make sure to handle your requests accordingly to avoid hitting API limits.

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Lists Tailwind CSS classes in monospaced font

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • modelcontextprotocol
  • 模型上下文协议服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • jae-jae
  • MCP服务器使用剧作《无头浏览器》获取网页内容。

  • ravitemer
  • 一个功能强大的Neovim插件,用于管理MCP(模型上下文协议)服务器

  • patruff
  • Ollama和MCP服务器之间的桥梁,使本地LLMS可以使用模型上下文协议工具

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

    Reviews

    2 (1)
    Avatar
    user_ypsJbgav
    2025-04-17

    As an avid user of mcp applications, I am thoroughly impressed with mcp-google-books. This tool, authored by juanbeniteza, provides seamless integration with Google's book database, enhancing my searching and managing experience of books. Highly recommended for book enthusiasts who want a robust, user-friendly solution. Check it out at https://github.com/juanbeniteza/mcp-google-books.