Skip to main content
Glama
FradSer

MCP Local Web Search Server

by FradSer

mcp-server-local-web-search

Twitter Follow

An MCP server for performing local web searches. This server provides tools to search and extract content from web pages through the Model Context Protocol.

Features

  • Perform web searches with customizable result limits

  • Extract and process content from web pages

  • Return structured results with titles, URLs, and descriptions

  • Support for content truncation and domain filtering

  • Clean content extraction using Readability

  • Headless browser operation for improved performance

Related MCP server: DuckDuckGo MCP Server

Installation

To install dependencies:

bun install

Setup

Run the setup script to configure the MCP server:

bun run setup.ts

This will add the server to your Claude MCP configuration.

Available Tools

  1. local_web_search

    • Performs web search and returns results with title, URL and description

    • Parameters:

      • query: Search query to find relevant content (required)

      • excludeDomains: List of domains to exclude from search results (default: [])

      • limit: Maximum number of results to return (default: 5)

      • truncate: Maximum length of content to return per result (default: 4000)

      • show: Show browser window for debugging (default: false)

      • proxy: Proxy server to use for requests (optional)

Requirements

  • Bun runtime

  • Node.js TypeScript support

Development

This project uses:

Contributors

  • egoist - Original local web search author

  • FradSer - Original author

  • TheSethRose - Playwright integration and performance improvements

License

MIT License

This project was created using bun init in bun v1.2.2. Bun is a fast all-in-one JavaScript runtime.

Related MCP Connectors

Related MCP Servers

  • F
    license
    C
    quality
    D
    maintenance
    Enables web search capabilities through the Tavily API via the Model Context Protocol. Allows users to perform web searches and retrieve information from the internet through natural language queries.
    5
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that provides web search capabilities via DuckDuckGo and advanced content extraction using Crawl4AI and LLM-powered analysis. It enables users to perform web-wide searches and fetch processed website data through automated browser interaction and intelligent summarization.
    2
    MIT