trackmcp
Back to directory
sam2332

mcp-web-search

View on GitHub

Web Search MCP Server

1 stars JavaScriptOthers Updated Nov 4, 2025

Documentation

Web Search MCP Server

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

Features

  • Search the web using DuckDuckGo search results
  • No API keys or authentication required
  • Returns structured results with titles, URLs, and descriptions
  • Configurable number of results per search

Installation

1. Clone or download this repository

2. Install dependencies:

bash
npm install

3. Build the server:

bash
npm run build

4. Add the server to your MCP configuration:

For VSCode (Claude Dev Extension):

json
{
  "mcpServers": {
    "web-search": {
      "command": "node",
      "args": ["/path/to/web-search/build/index.js"]
    }
  }
}

For Claude Desktop:

json
{
  "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:

typescript
{
  "query": string,    // The search query
  "limit": number     // Optional: Number of results to return (default: 5, max: 10)
}

Example usage:

typescript
use_mcp_tool({
  server_name: "web-search",
  tool_name: "search",
  arguments: {
    query: "your search query",
    limit: 3  // optional
  }
})

Example response:

json
[
  {
    "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:

3. Legal Considerations:

    Contributing

    Feel free to submit issues and enhancement requests!

    Frequently asked questions

    What is mcp-web-search?

    mcp-web-search is Web Search MCP Server

    How do I install mcp-web-search?

    Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

    Is mcp-web-search open source?

    Yes — it is hosted on GitHub at https://github.com/sam2332/mcp-web-search and has 1 stars.

    Related MCP tools

    Run your own MCP server? See who uses it and what to fix.

    Measure it with TrackMCP