The web-search MCP server provides a search tool that allows users to perform web searches using Google without requiring an API key. The tool returns a JSON array of search results containing titles, URLs, and descriptions.
Tool Definition
- Name:
search - Description: Search the web using Google (no API key required)
- Input Schema:
query (string, required): The search query to execute.limit (number, optional): The maximum number of results to return.- Constraints: Minimum
1, Maximum 10. - Default:
5.
Output Format
The tool returns a JSON stringified array of SearchResult objects:
[
{
"title": "Result Title",
"url": "https://example.com",
"description": "Result snippet or description"
}
]
{
"name": "search",
"arguments": {
"query": "how to use MCP",
"limit": 3
}
}