bububa/mcp-google-search
3.2
If you are the rightful owner of mcp-google-search and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP Google Search server is a Golang implementation that allows users to perform Google searches via a Model Context Protocol (MCP) server.
mcp-google-search Google Search MCP server implementation in Golang
Installation
go install github.com/bububa/mcp-google-search
Setup
Set environment variable
- GOOGLE_SEARCH_CX Google custom search ID
- GOOGLE_SEARCH_KEY Google custom search API key
Usage
Start stdio server
mcp-google-search
Start streamable server
mcp-google-search -port=8080
Schema
Webpage Search
- Function Name: search
- Input:
{
"query": "search query",
"num": "max number of search results"
}
- Output:
[
{
"title": "webpage title",
"snippet": "webpage snippet",
"url": "webpage link"
}
]
Image Search
- Function Name: image_search
- Input:
{
"query": "search query",
"num": "max number of search results"
}
- Output:
[
{
"title": "image title",
"url": "image link",
"mime": "image mimetype",
"context_link": "image context_link",
"width": "image width",
"height": "image height",
"byte_size": "image_bytesize"
}
]