功能概覽
SERP MCP Server 提供以下核心功能:- 網頁搜尋 — 搜尋 Google 網頁結果
- 圖片搜尋 — 搜尋 Google 圖片
- 新聞搜尋 — 搜尋 Google 新聞
- 視頻搜尋 — 搜尋 Google 視頻
- 地點搜尋 — 搜尋 Google 地點資訊
- 地圖搜尋 — 搜尋 Google 地圖
- 多語言多地區 — 支援自訂國家和語言參數
- 時間範圍篩選 — 按天、週、月、年篩選結果
前置準備
使用前,你需要獲取 AceData Cloud API Token:- 註冊或登入 AceData Cloud 平台
- 前往 Google SERP API 頁面
- 點擊「Acquire」獲取 API Token(首次申請贈送免費額度)
安裝配置
方式一:pip 安裝(推薦)
方式二:原始碼安裝
mcp-serp 命令啟動服務。
在 Claude Desktop 中使用
編輯 Claude Desktop 配置檔:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
uvx(無需提前安裝包):
在 VS Code / Cursor 中使用
在專案根目錄創建.vscode/mcp.json:
uvx:
可用工具列表
| 工具名 | 說明 |
|---|---|
serp_google_search | Google 網頁搜尋 |
serp_google_images | Google 圖片搜尋 |
serp_google_news | Google 新聞搜尋 |
serp_google_videos | Google 視頻搜尋 |
serp_google_places | Google 地點搜尋 |
serp_google_maps | Google 地圖搜尋 |
使用示例
配置完成後,你可以在 AI 客戶端中直接用自然語言調用這些功能,例如:- 「幫我搜尋一下最新的 AI 論文」
- 「搜尋北京好吃的火鍋店」
- 「查找關於 Python 非同步編程的圖片」
- 「搜尋今天的科技新聞」
- 「在地圖上查找附近的咖啡廳」
更多信息
- GitHub 倉庫:AceDataCloud/MCPSerp
- PyPI 包:mcp-serp
- API 文檔:搜尋引擎 API

