Skip to main content
Glama
williamvd4

Web Search MCP Server

by williamvd4

网页搜索 MCP 服务器

模型上下文协议 (MCP) 服务器可使用 Google 搜索结果进行免费网络搜索,无需 API 密钥。

特征

  • 使用 Google 搜索结果搜索网页

  • 无需 API 密钥或身份验证

  • 返回包含标题、URL 和描述的结构化结果

  • 可配置每次搜索的结果数量

Related MCP server: search-mcp

安装

  1. 克隆或下载此存储库

  2. 安装依赖项:

npm install
  1. 构建服务器:

npm run build
  1. 将服务器添加到您的 MCP 配置:

对于 VSCode(Claude Dev Extension):

{
  "mcpServers": {
    "web-search": {
      "command": "node",
      "args": ["/path/to/web-search/build/index.js"]
    }
  }
}

对于 Claude 桌面:

{
  "mcpServers": {
    "web-search": {
      "command": "node",
      "args": ["/path/to/web-search/build/index.js"]
    }
  }
}

用法

服务器提供了一个名为search的工具,它接受以下参数:

{
  "query": string,    // The search query
  "limit": number     // Optional: Number of results to return (default: 5, max: 10)
}

使用示例:

use_mcp_tool({
  server_name: "web-search",
  tool_name: "search",
  arguments: {
    query: "your search query",
    limit: 3  // optional
  }
})

响应示例:

[
  {
    "title": "Example Search Result",
    "url": "https://example.com",
    "description": "Description of the search result..."
  }
]

限制

由于此工具使用 Google 搜索结果的网络抓取,因此需要注意一些重要的限制:

  1. 速率限制:如果短时间内执行的搜索次数过多,Google 可能会暂时阻止请求。为了避免这种情况:

    • 保持合理的搜索频率

    • 明智地使用限制参数

    • 如果需要,考虑在搜索之间设置延迟

  2. 结果准确度

    • 该工具依赖于 Google 的 HTML 结构,该结构可能会发生变化

    • 某些结果可能缺少描述或其他元数据

    • 复杂的搜索运算符可能无法按预期工作

  3. 法律考虑

    • 此工具仅供个人使用

    • 尊重 Google 的服务条款

    • 考虑针对您的用例实施适当的速率限制

贡献

请随时提交问题和增强请求!

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 1 tool update
    • First observedsearch

TDQS

B3.1/5.0
Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is singular and clear, so an agent cannot misselect between multiple options.

Naming Consistency5/5

A single tool inherently has perfect naming consistency, as there are no other tools to compare it against for patterns. The name 'search' is straightforward and appropriate for its function.

Tool Count2/5

One tool is too few for a server named 'Web Search MCP Server', which suggests a broader scope like searching, filtering, or managing search results. A single search tool feels thin and limits functionality, making it borderline inappropriate for the implied domain.

Completeness2/5

The tool surface is severely incomplete for web search functionality. It only provides a basic search tool, missing obvious operations like filtering results, getting details, saving searches, or handling pagination, which are common in search domains and could lead to agent failures in complex tasks.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables web searching and content scraping through Google Custom Search API. Provides tools to search the internet, extract webpage content, and automatically scrape search results for comprehensive information gathering.
    3
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables web search capabilities using DuckDuckGo's free API without requiring authentication or API keys.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables web searching through Google, DuckDuckGo, and Bing using a headless Chrome browser, returning structured results with titles, URLs, and snippets. Also supports fetching and extracting text content from any webpage.
    13
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables free web searching using Google search results without the need for API keys or authentication. It returns structured data including titles, URLs, and descriptions with configurable result limits.
    43
    MIT

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/williamvd4/web-search'

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