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: MCP JinaAI Search 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]
A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fuyouai/web-search-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server