MCP ExplorerExplorer

Mcp Google Books

@juanbenitezaon 9 months ago
1 MIT
FreeCommunity
AI Systems
MCP Google Books fetches book info from Google Books API for MCP environments.

Overview

What is Mcp Google Books

mcp-google-books is an MCP server package that provides functionality for fetching book-related information from the Google Books API. It is designed for use in environments that support the MCP protocol, such as Claude.

Use cases

Use cases include integrating book search functionalities into applications, assisting users in finding books based on their queries, and enhancing user experience in educational or literary platforms.

How to use

To use mcp-google-books, install it via Smithery with the command ‘npx -y @smithery/cli install @juanbeniteza/mcp-google-books --client claude’. Start the server by running ‘node mcp-google-books.js’ in an MCP compatible environment.

Key features

Key features include the ability to search for books by title or author using the Google Books API, and the automatic discovery of available tools by compatible clients.

Where to use

mcp-google-books can be used in various environments that support the MCP protocol, particularly in applications that require access to book information from the Google Books API.

Content

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.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers