搜索引擎API服务

一个通过Serper API提供Google搜索和网页抓取功能的MCP服务器。

  • by SecKatie
  • Go
  • 本地部署
  • 更新于
在 GitHub 查看 SecKatie/serper-mcp

使用说明

serper mcp

注: 此项目是通过以下方式生成的 克劳德代码 (claude-sonnet-4-6)。

一个MCP服务器,通过 Serper API公司.

工具

  • 搜索 --执行谷歌搜索并返回JSON格式的结果
  • 刮擦 --以JSON格式获取并返回网页内容

安装

go install github.com/SecKatie/serper-mcp@latest

配置

通过环境变量设置Serper API密钥:

export SERPER_API_KEY=your_key_here

或者把它放进去 ~/.serper-mcp.yaml:

serper_api_key: your_key_here

用法

serper-mcp

服务器使用MCP协议通过stdio进行通信。在MCP客户端(例如Claude Desktop)中将其配置为stdio服务器。

发展

make build   # compile
make test    # run tests with race detector
make lint    # golangci-lint
make audit   # govulncheck + gosec

许可证

麻省理工学院——见 许可证.