mcp-google-server A MCP Server for Google Custom Search and Webpage Reading - MCP服务,MCP服务器,MCP教程

基本能力

产品定位

mcp-google-search 是一个提供网页搜索和内容提取功能的 MCP 服务,主要用于集成 Google 自定义搜索和网页内容解析能力到其他应用中。

核心功能

  1. 搜索工具
  2. 使用 Google 自定义搜索 API 进行网页搜索
  3. 可以搜索整个网络或特定网站
  4. 控制返回结果数量(1-10)
  5. 获取结构化结果,包括标题、链接和摘要

  6. 网页阅读器工具

  7. 从任何网页提取内容
  8. 提取页面标题和主要内容
  9. 清理内容,移除脚本和样式
  10. 返回包含标题、文本和 URL 的结构化数据

适用场景

  • 需要集成网络搜索功能的应用程序
  • 需要提取网页内容的自动化工具
  • 需要结构化搜索结果的开发项目

工具列表

  1. search:执行网络搜索
  2. read_webpage:提取网页内容

常见问题解答

  • 调试建议:使用 MCP Inspector 进行调试
  • API 限制:需要有效的 Google API 密钥和搜索引擎 ID

使用教程

使用依赖

  1. 获取 Google API 密钥和搜索引擎 ID
  2. 创建 Google Cloud 项目
  3. 启用 Custom Search API
  4. 获取 API 密钥
  5. 创建自定义搜索引擎

安装教程

  1. 通过 Smithery 安装:
    bash
    npx -y @smithery/cli install @adenot/mcp-google-search --client claude

  2. 配置 Claude Desktop 使用该服务:
    json
    {
    "mcpServers": {
    "google-search": {
    "command": "npx",
    "args": [
    "-y",
    "@adenot/mcp-google-search"
    ],
    "env": {
    "GOOGLE_API_KEY": "your-api-key-here",
    "GOOGLE_SEARCH_ENGINE_ID": "your-search-engine-id-here"
    }
    }
    }
    }

调试方式

使用 MCP Inspector 进行调试:
bash
npm run inspector

点击访问

搜索工具

MCP Server Obsidian Omnisearch - MCP服务,MCP服务器,MCP教程

2025-4-29 11:34:45

搜索工具

Serper Search and Scrape MCP Server - MCP服务,MCP服务器,MCP教程

2025-4-29 11:34:51

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索