This is an MCP server used for querying books, and it can be applied in common MCP clients, such as Cherry Studio.
{
"books-mcp-server-stdio": {
"command": "uv",
"args": [
"--directory",
"/Enter your local project directory/books-mcp-server",
"run",
"main.py"
],
"env": {}
}
}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"
]
}
}
}
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"
]
}
}
}
Related MCP Servers
markitdown-mcp
Python tool for converting files and office documents to Markdown.
fetch
Model Context Protocol Servers
memory
Model Context Protocol Servers
mindsdb
AI Analytics Engine that can answer questions over large scale data. - The only MCP Server you'll ever need
fastmcp
🚀 The fast, Pythonic way to build MCP servers and clients
screenpipe
AI app store powered by 24/7 desktop history. open source | 100% local | dev friendly | 24/7 screen, mic recording
