Skip to main content
Glama
williamvd4

Web Search MCP Server

by williamvd4

Web Search MCP Server

A Model Context Protocol (MCP) server that enables free web searching using Google search results, with no API keys required.

Features

  • Search the web using Google search results

  • No API keys or authentication required

  • Returns structured results with titles, URLs, and descriptions

  • Configurable number of results per search

Related MCP server: search-mcp

Installation

  1. Clone or download this repository

  2. Install dependencies:

npm install
  1. Build the server:

npm run build
  1. Add the server to your MCP configuration:

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"]
    }
  }
}

Usage

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..."
  }
]

Limitations

Since this tool uses web scraping of Google search results, there are some important limitations to be aware of:

  1. Rate Limiting: Google may temporarily block requests if too many searches are performed in a short time. To avoid this:

    • Keep searches to a reasonable frequency

    • Use the limit parameter judiciously

    • Consider implementing delays between searches if needed

  2. Result Accuracy:

    • The tool relies on Google's HTML structure, which may change

    • Some results might be missing descriptions or other metadata

    • Complex search operators may not work as expected

  3. Legal Considerations:

    • This tool is intended for personal use

    • Respect Google's terms of service

    • Consider implementing appropriate rate limiting for your use case

Contributing

Feel free to submit issues and enhancement requests!

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    Enables web searching and content scraping through Google Custom Search API. Provides tools to search the internet, extract webpage content, and automatically scrape search results for comprehensive information gathering.
    Last updated
    3
  • A
    license
    -
    quality
    C
    maintenance
    Enables web searching through Google, DuckDuckGo, and Bing using a headless Chrome browser, returning structured results with titles, URLs, and snippets. Also supports fetching and extracting text content from any webpage.
    Last updated
    11
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables free web searching using Google search results without the need for API keys or authentication. It returns structured data including titles, URLs, and descriptions with configurable result limits.
    Last updated
    23
    MIT

View all related MCP servers

Related MCP Connectors

  • LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.

  • Web search, news, page retrieval, sitemaps, and trending topics through Search1API.

  • The best web search for your AI Agent

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/williamvd4/web-search'

If you have feedback or need assistance with the MCP directory API, please join our Discord server