
jae-jae/g-search-mcp 是从 https://github.com/jae-jae/g-search-mcp. 导入的 MCP 服务器候选
概览
jae-jae/g-search-mcp 是从 https://github.com/jae-jae/g-search-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
一个强大的 Google 搜索 MCP 服务器,支持多个关键词同时并行搜索。
本项目是基于谷歌搜索进行修改的。
🌟 推荐:OllaMan——强大的Ollama AI模型管理器。
优点
- 并行搜索:支持在谷歌上同时使用多个关键词搜索,提高搜索效率
- 浏览器优化:在单个浏览器实例中打开多个标签页,实现高效的并行搜索
- 自动验证处理:智能检测验证码,并在需要时启用可见浏览器模式以供用户验证
- 用户行为模拟:模拟真实用户浏览模式,以降低被搜索引擎检测的可能性
- 结构化数据:返回JSON格式的结构化搜索结果,便于处理和分析
- 可配置参数:支持多种参数配置,如搜索结果限制、超时设置、区域设置等。
快速启动
直接用NPX运行:
第一次设置——通过在终端中执行以下命令安装所需的浏览器:
调试模式
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
G-Search MCP
A powerful MCP server for Google search that enables parallel searching with multiple keywords simultaneously.
This project is modified from google-search.
🌟 Recommended: OllaMan - Powerful Ollama AI Model Manager.
Advantages
- Parallel Searching: Supports searching with multiple keywords on Google simultaneously, improving search efficiency
- Browser Optimization: Opens multiple tabs in a single browser instance for efficient parallel searching
- Automatic Verification Handling: Intelligently detects CAPTCHA and enables visible browser mode for user verification when needed
- User Behavior Simulation: Simulates real user browsing patterns to reduce the possibility of detection by search engines
- Structured Data: Returns structured search results in JSON format for easy processing and analysis
- Configurable Parameters: Supports various parameter configurations such as search result limits, timeout settings, locale settings, etc.
Quick Start
Run directly with npx:
npx -y g-search-mcp
First time setup - install the required browser by running the following command in your terminal:
npx playwright install chromium
Debug Mode
Use the --debug option to run in debug mode (showing browser window):
npx -y g-search-mcp --debug
Configure MCP
Configure this MCP server in Claude Desktop:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"g-search": {
"command": "npx",
"args": ["-y", "g-search-mcp"]
}
}
}
Features
search- Execute Google searches with multiple keywords and return results- Uses Playwright browser to perform searches
- Supports the following parameters:
queries: Array of search queries to execute (required parameter)limit: Maximum number of results to return per query, default is 10timeout: Page loading timeout in milliseconds, default is 60000 (60 seconds)noSaveState: Whether to avoid saving browser state, default is falselocale: Locale setting for search results, default is en-USdebug: Whether to enable debug mode (showing browser window), overrides the --debug flag in command line
Example usage:
Use the search tool to search for "machine learning" and "artificial intelligence" on Google
Example response:
{
"searches": [
{
"query": "machine learning",
"results": [
{
"title": "What is Machine Learning? | IBM",
"link": "https://www.ibm.com/topics/machine-learning",
安装
npx -y g-search-mcp配置
{
"mcpServers": {
"g-search": {
"command": "npx",
"args": ["-y", "g-search-mcp"]
}
}
}