本项目是一个提供网络搜索功能的 Model Context Protocol 服务器,借助 Google Custom Search API 和网页内容提取功能,能高效实现网络搜索及网页内容提取。
本服务器结合了 Google Custom Search API 与网页内容提取功能,可实现网络搜索并提取网页内容。
运用 Google Custom Search API 开展网络搜索,具备如下特点:
可从任意网页提取内容,具体功能如下:
若要在 Claude Desktop 上使用,需在服务器配置中添加 Google API 凭证:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"google-search": {
"command": "npx",
"args": ["-y", "@mcp-for-dev/mcp-google-search"],
"env": {
"GOOGLE_API_KEY": "你的 API 密钥",
"GOOGLE_SEARCH_ENGINE_ID": "你的搜索引擎 ID"
}
}
}
}