Web search using free google search (NO API KEYS REQUIRED)
A Model Context Protocol (MCP) server that enables free web searching using Google search results, with no API keys required.
npm install
npm run build
For VSCode (Claude Dev Extension):
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["/path/to/web-search/build/index.js"]
}
}
}
For Claude Desktop:
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["/path/to/web-search/build/index.js"]
}
}
}
The server provides a single tool named search
that accepts the following parameters:
{
"query": string, // The search query
"limit": number // Optional: Number of results to return (default: 5, max: 10)
}
Example usage:
use_mcp_tool({
server_name: "web-search",
tool_name: "search",
arguments: {
query: "your search query",
limit: 3 // optional
}
})
Example response:
[
{
"title": "Example Search Result",
"url": "https://example.com",
"description": "Description of the search result..."
}
]
Since this tool uses web scraping of Google search results, there are some important limitations to be aware of:
Rate Limiting: Google may temporarily block requests if too many searches are performed in a short time. To avoid this:
Result Accuracy:
Legal Considerations:
Feel free to submit issues and enhancement requests!