Books Mcp Server

by VmLia

6 stars
239 downloads
Not rated
GitHub

About

This is an MCP server used for querying books, and it can be applied in common MCP clients, such as Cherry Studio.

Details

Author
VmLia
GitHub stars
6
Downloads
239
Categories
Other

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Books Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, create a virtual environment with uv venv, activate it, then install Python dependencies using uv add "mcp[cli]" httpx openai beautifulsoup4 lxml. Configure the server in Cherry Studio as a STDIO MCP server pointing to uv --directory <project-dir> run main.py.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "books mcp server": {
            "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"
                ]
            }
        }
    }
}

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"
        ]
    }
}

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"
]
}
}
}

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.