MCP ExplorerExplorer

Books Mcp Server

@VmLiaon a year ago
3 MIT
FreeCommunity
AI Systems
This is an MCP server used for querying books, and it can be applied in common MCP clients, such as Cherry Studio.

Overview

What is Books Mcp Server

books-mcp-server is an MCP server designed for querying books. It can be utilized in common MCP clients like Cherry Studio.

Use cases

Use cases include integrating book search functionalities in educational software, creating a library management system, or developing an application that provides book recommendations.

How to use

To use books-mcp-server, clone the repository from GitHub, set up a virtual environment, install necessary Python packages, and configure it in Cherry Studio either through the settings page or by using JSON configuration parameters.

Key features

Key features include the ability to query books, compatibility with MCP clients, and support for various Python packages such as httpx, openai, beautifulsoup4, and lxml.

Where to use

books-mcp-server can be used in educational platforms, libraries, and any applications that require book querying functionalities.

Content

Get the Project and Initialize

git clone https://github.com/VmLia/books-mcp-server.git
cd books-mcp-server
uv venv

if macbook or linux

source .venv/bin/activate

if windows

.venv\Scripts\activate.bat

Install Python Packages

uv add "mcp[cli]" httpx openai beautifulsoup4 lxml 

If the network is slow, you can set up a domestic mirror source.

uv add "mcp[cli]" httpx openai beautifulsoup4 lxml --index-url https://pypi.tuna.tsinghua.edu.cn/simple

Example of Using cherry-studio

Method 1: On the setting page of cherry-studio, click on the MCP server, then click “Add Server”, and subsequently configure it on the page.

Type

STDIO

Command

uv

Parameters

--directory
# your project dir
run
main.py

Method 2: Use the configuration parameters

{
  "mcpServers": {
    "books-mcp-server": {
      "name": "books-mcp",
      "type": "stdio",
      "description": "",
      "isActive": true,
      "registryUrl": "",
      "command": "uv",
      "args": [
        "--directory",
        "/Enter your local project directory/books-mcp-server",
        "run",
        "main.py"
      ]
    }
  }
}

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers