Skip to main content
Glama
fuyouai

web-search-mcp

by fuyouai

web-search-mcp

多 provider 联网搜索 MCP Server。当前支持豆包(火山引擎联网搜索 API)。

安装

从 npm 使用(推荐)

npx @fuyouai/web-search-mcp --provider doubao

本地开发

npm install
npm run build

Related MCP server: Baidu Search MCP Server

Cursor 配置

在项目或全局 .cursor/mcp.json 中添加:

{
  "mcpServers": {
    "web-search-doubao": {
      "command": "npx",
      "args": ["-y", "@fuyouai/web-search-mcp", "--provider", "doubao"],
      "env": {
        "DOUBAO_API_KEY": "${env:DOUBAO_API_KEY}"
      }
    }
  }
}

本地开发时也可指向编译产物:

{
  "mcpServers": {
    "web-search-doubao": {
      "command": "node",
      "args": ["/absolute/path/to/web_search_mcp/dist/index.js", "--provider", "doubao"],
      "env": {
        "DOUBAO_API_KEY": "${env:DOUBAO_API_KEY}"
      }
    }
  }
}

环境变量

变量

必填

说明

DOUBAO_API_KEY

火山引擎联网搜索 API Key

DOUBAO_BASE_URL

默认 https://open.feedcoopapi.com

WEB_SEARCH_PROVIDER

未传 --provider 时的 fallback

API Key 可在火山控制台创建。

MCP Tool

参数

类型

必填

说明

query

string

搜索词,1~100 字符

count

number

返回条数,web 最多 50,image 最多 5

searchType

string

webimage,默认 web

timeRange

string

OneDay / OneWeek / OneMonth / OneYearYYYY-MM-DD..YYYY-MM-DD

authLevel

number

0 默认,1 非常权威

本地调试

export DOUBAO_API_KEY=your_key
node dist/index.js --provider doubao --log-level debug

启动参数

node dist/index.js --provider doubao [--default-limit 10] [--log-level info]

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    Enables efficient web search integration with Jina.ai's Search API, offering clean, LLM-optimized content retrieval with support for various content types and configurable caching.
    1
    21 npm
    3
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI-powered image generation using Volcengine's Doubao model with customizable aspect ratios (1:1, 4:3, 16:9, 3:4, 9:16) and file management. Supports high-quality text-to-image generation with automatic retry, error handling, and flexible save path configuration.
    21
    -