Back to MCP directory
publicPublicdnsLocal runtime

mingdedi_InternetSearch-mcp-server

一个基于博查搜索API的MCP服务器,用于联网搜索功能,需使用博查AI的服务密钥。

article

README

🚀 Internetsearch-mcp-server

Internetsearch-mcp-server 是一个用于联网搜索的 MCP 服务器,它基于博查搜索 API 构建。使用该服务器需要博查 AI 的搜索服务密钥,具体文档可查阅博查开发文档

🚀 快速开始

克隆仓库

将本项目仓库克隆到本地:

git clone https://github.com/mingdedi/Internetsearch-mcp-server.git

重建环境

使用 uv 工具重建项目运行环境:

cd Internetsearch-mcp-server
pip install uv
uv venv
./.venv/Scripts/activate.bat
uv sync

配置文件设置

在配置文件中添加相关配置,示例格式如下:

{
  "mcpServers": {
    "Internetsearch-mcp-server": {
      "description": "Internetsearch-mcp-server",
      "command": "uv",
      "args": [
        "--directory",
        "/path/Internetsearch-mcp-server",
        "run",
        "Internet_search.py"
      ],
      "env": {
        "BOCHAAI_API_KEY": "sk-123456789412345678312323456789e"
      }
    }
  }
}

⚠️ 重要提示

上述配置文件中的 BOCHAAI_API_KEY 仅为示例。若要获取实际可用的密钥,请访问博查 AI

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client