Py MCP Sse
This is a Python project based on the SSE implementation of the MCP protocol, including server and client components. It invokes LLM services through the OpenRouter.ai platform and provides book search functionality.
rating : 2.5 points
downloads : 26
What is the MCP Book Search Server?
This is an intelligent book search service that interacts with AI assistants through the Model Context Protocol (MCP) standard and can query classic literary works in Project Gutenberg. The server uses SSE (Server-Sent Events) technology to achieve real-time communication.How to use the MCP Book Search Service?
You need to connect to this service through a compatible AI client, and then you can query book information through natural language. For example, asking 'Recommend works by Hemingway', the AI will automatically call the search tool and return the results.Applicable Scenarios
Suitable for literature lovers, researchers, or any users who need to quickly find information on classic literary works. It can be integrated with various AI assistants to provide intelligent book recommendation services.Main Features
Book SearchSearch for global classic literary works through the Project Gutenberg API
SSE Real-time CommunicationUse Server-Sent Events technology to achieve real-time data push between the server and the client
OpenRouter IntegrationSupport the invocation of multiple large language models through the OpenRouter platform
Advantages and Limitations
Advantages
Decoupled architecture: The server and the client can run independently on different devices
Real-time response: SSE technology ensures instant push of query results
Easy to integrate: The standard MCP protocol is compatible with various AI clients
Limitations
Only support public domain books in Project Gutenberg
Require a Python 3.13 or higher environment
Depend on the OpenRouter API service
How to Use
Installation Preparation
Ensure that Python 3.13+ and the uv package manager are installed
Configure the Environment
Copy the .env.sample file to .env and fill in the OpenRouter API key
Start the Server
Use uv to run the server program, which listens on port 8080 by default
Connect the Client
Start the client in another terminal and connect to the server
Usage Examples
Query Works by a Specific AuthorFind all available works by a certain author
Search for Books by ThemeFind relevant books based on theme keywords
Frequently Asked Questions
Why do I need an OpenRouter API key?
Can I search for non-English books?
How to change the server port?
Related Resources
Model Context Protocol Official Website
Official documentation and specifications of the MCP protocol
Project Gutenberg
The world's largest public domain e-book library
OpenRouter Platform
A unified API platform for large language models
Featured MCP Services

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
838
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
152
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
100
4.3 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
573
5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
761
4.8 points