MCP Local Web Search Server

by FradSer

mcp-服务器-本地网络搜索

用于执行本地网页搜索的 MCP 服务器。该服务器提供通过模型上下文协议 (MCP) 搜索和提取网页内容的工具。

特征

  • 使用可自定义的结果限制执行网络搜索
  • 从网页中提取并处理内容
  • 返回包含标题、URL 和描述的结构化结果
  • 支持内容截断和域过滤
  • 使用 Readability 清理内容提取
  • 无头浏览器操作以提高性能

安装

要安装依赖项:

bun install

设置

运行安装脚本来配置 MCP 服务器:

bun run setup.ts

这会将服务器添加到您的 Claude MCP 配置中。

可用工具

  1. local_web_search
    • 执行网络搜索并返回带有标题、URL 和描述的结果
    • 参数:
      • query :搜索查询以查找相关内容(必需)
      • excludeDomains :从搜索结果中排除的域列表(默认值:[])
      • limit :返回的最大结果数(默认值:5)
      • truncate :每个结果返回内容的最大长度(默认值:4000)
      • show :显示浏览器窗口进行调试(默认值:false)
      • proxy :用于请求的代理服务器(可选)

要求

  • Bun运行时
  • Node.js TypeScript 支持

发展

该项目使用:

贡献者

执照

MIT 许可证

该项目是使用 bun v1.2.2 中的bun init创建的。Bun 是一个快速的一体化 JavaScript 运行时。

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

使用模型上下文协议可以执行本地网络搜索并从网页中提取结构化内容,具有可自定义的结果限制和域过滤功能。

  1. Features
    1. Installation
      1. Setup
        1. Available Tools
      2. Requirements
        1. Development
          1. Contributors
            1. License

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                Provides web search capabilities using Google Custom Search API, enabling users to perform searches through a Model Context Protocol server.
                Last updated -
                2
                94
                6
                JavaScript
                MIT License
                • Apple
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol server enabling advanced search and content extraction using the Tavily API, with rich customization and integration options.
                Last updated -
                4
                57
                1
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                A Model Context Protocol server that enables web search, scraping, crawling, and content extraction through multiple engines including SearXNG, Firecrawl, and Tavily.
                Last updated -
                35
                11
                TypeScript
                MIT License

              View all related MCP servers

              ID: 1p6tlkpffe