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许可证
麻省理工学院——见 许可证.
