An MCP server that enables free web searching using Google search results, with no API keys required.
Empower your Large Language Models (LLMs) with real-time web search capabilities using this open-source Model Context Protocol (MCP) server. By leveraging Google search results without the need for API keys, this server provides a seamless and cost-effective way to inject up-to-date information into your AI applications.
Begin by cloning the repository and installing the necessary dependencies:
git clone [repository_url] cd [repository_directory] npm install
Next, build the server for optimal performance:
npm run build
Integrate the server into your MCP-enabled environment. Below are configuration examples for VSCode (Claude Dev Extension) and Claude Desktop:
VSCode (Claude Dev Extension):
{ "mcpServers": { "web-search": { "command": "node", "args": ["/path/to/web-search/build/index.js"] } } }
Claude Desktop:
{ "mcpServers": { "web-search": { "command": "node", "args": ["/path/to/web-search/build/index.js"] } } }
Note: Replace /path/to/web-search/
with the actual path to your server directory.
The server exposes a search
tool with the following parameters:
{ "query": string, // The search query "limit": number // Optional: Number of results to return (default: 5, max: 10) }
To utilize the tool within your LLM application, use the use_mcp_tool
function:
use_mcp_tool({ server_name: "web-search", tool_name: "search", arguments: { query: "your search query", limit: 3 // optional } })
The server will respond with a JSON array containing structured search results:
[ { "title": "Example Search Result", "url": "https://example.com", "description": "Description of the search result..." } ]
This server relies on web scraping Google search results, which introduces certain limitations:
limit
parameter judiciously. Consider adding delays between searches to mitigate this risk.We welcome contributions to enhance the functionality and robustness of this MCP server. Submit issues and enhancement requests to help us improve this valuable resource for the LLM community.
๐ โ๏ธ The Scrapeless Model Context Protocol service acts as an MCP server connector to the Google SERP API, enabling web search within the MCP ecosystem without leaving it.
๐ Search ArXiv research papers
๐ โ๏ธ Web search capabilities using Brave's Search API
๐ โ๏ธ MCP to search and read medical / life sciences papers from PubMed.