Py MCP Sse
P

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.
2.5 points
6.7K

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 Search
Search for global classic literary works through the Project Gutenberg API
SSE Real-time Communication
Use Server-Sent Events technology to achieve real-time data push between the server and the client
OpenRouter Integration
Support the invocation of multiple large language models through the OpenRouter platform
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 Author
Find all available works by a certain author
Search for Books by Theme
Find 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

Installation

Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

M
MCP
The Microsoft official MCP server provides search and access functions for the latest Microsoft technical documentation for AI assistants
8.9K
5 points
S
Shadcn Ui MCP Server
An MCP server that provides shadcn/ui component integration for AI workflows, supporting React, Svelte, and Vue frameworks. It includes functions for accessing component source code, examples, and metadata.
TypeScript
12.2K
5 points
A
Annas MCP
The MCP server and CLI tool of Anna's Archive are used to search for and download documents on the platform and support access through an API key.
Go
6.7K
4.5 points
S
Search1api
The Search1API MCP Server is a server based on the Model Context Protocol (MCP), providing search and crawling functions, and supporting multiple search services and tools.
TypeScript
14.6K
4 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.0K
4.3 points
B
Bing Search MCP
An MCP server for integrating Microsoft Bing Search API, supporting web page, news, and image search functions, providing network search capabilities for AI assistants.
Python
15.2K
4 points
M
Modelcontextprotocol
Certified
This project is an implementation of an MCP server integrated with the Sonar API, providing real-time web search capabilities for Claude. It includes guides on system architecture, tool configuration, Docker deployment, and multi-platform integration.
TypeScript
13.6K
5 points
B
Bilibili MCP Js
Certified
A Bilibili video search server based on the Model Context Protocol (MCP), providing API interfaces to support video content search, paginated queries, and video information return, including LangChain call examples and test scripts.
TypeScript
15.6K
4.2 points
G
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
16.6K
4.3 points
N
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
14.8K
4.5 points
M
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
24.6K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
44.0K
4.3 points
U
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#
19.2K
5 points
F
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
44.5K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
14.8K
4.5 points
M
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
30.3K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase