search-server

一个基于MCP协议的搜索服务实现,提供网络搜索和本地搜索功能,Cursor和Claude Desktop能与之无缝集成。

GitHub Stars

72

User Rating

Not Rated

Favorites

0

Views

31

Forks

3

Issues

4

Installation
Difficulty
Beginner
Estimated Time
5-10 minutes

Installation

Installation

Prerequisites

Please specify required software and versions:
Python: 3.10+
uv: 0.24.0+
Node.js: v20.15.0
Cursor: >=0.45.10
Scientific Internet Access: Required only for using Brave Search.

Installation Steps

1. Clone Repository

bash
git clone https://github.com/fengin/search-server.git
cd search-server

2. Install Dependencies

bash
pip install -r requirements.txt

3. Configure Search Engine

Edit server.py in the root directory of the project to select the search engine you want to use:
python

Search engine configuration

SEARCH_ENGINE = os.getenv("SEARCH_ENGINE", "bocha")

4. Configure Search Modules

Edit the configuration files for each search engine to set API keys and authentication details.

5. Start the Server

bash
python server.py

Troubleshooting

Issue: Server won't start Solution: Check Python version and dependencies.

Additional Resources