Cover image
Try Now
2025-03-08

Un serveur MCP offrant des capacités de recherche Web en temps réel à n'importe quel modèle d'IA.

3 years

Works with Finder

1

Github Watches

1

Github Forks

3

Github Stars

MCP Web Search Tool

A powerful Model Context Protocol (MCP) server providing real-time web search capabilities through pluggable search providers. Currently integrated with the Brave Search API.

Claude Desktop Example

✨ Features

  • Real-Time Information Access: Enables AI assistants to retrieve up-to-date information from the web
  • Pluggable Search Providers: Modular architecture allows for easy switching between different search engines
  • Structured Output Format: Returns search results in a clean, consistent JSON format
  • Smart Query Handling: Automatically categorizes queries and provides AI assistants with context-aware guidance

📋 Requirements

  • Node.js: v16.x or newer
  • npm: v7.x or newer
  • Brave Search API Key: Required for accessing the Brave Search API

🚀 Installation

  1. Clone the Repository:

    git clone https://github.com/gabrimatic/mcp-web-search-tool.git
    cd mcp-web-search-tool
    
  2. Install Dependencies:

    npm install
    
  3. Configure Environment Variables: Create a .env file in the project root:

    BRAVE_API_KEY=your_api_key_here
    MAX_RESULTS=10 # Optional: Default is 10
    REQUEST_TIMEOUT=10000 # Optional: Default is 10000ms
    
  4. Build the Project:

    npm run build
    

💻 Usage

Starting the Server

npm start

Testing the Server

node test-server.js

Integration with Claude Desktop App (optional)

One of the most exciting aspects of this project is its seamless integration with the Claude Desktop app. This integration allows users to ask Claude questions that require real-time information, and Claude will automatically use the web search tool to provide up-to-date answers.

Configuration

  1. Create a claude_desktop_config.json file:

    {
      "mcpServers": {
        "mcp-web-search": {
          "command": "node",
          "args": [
            "/path/to/your/mcp-web-search-tool/build/index.js"
          ]
        }
      }
    }
    
  2. Launch Claude Desktop with your configuration file.

  3. Ask Claude questions requiring real-time information, and it will automatically use the web search tool.

🎥 YouTube Video

Watch Claude in action using the MCP Web Search Tool for real-time AI browsing!

📺 Claude + MCP Web Search – Live Demo

Example Queries:

  • "What are analysts saying about the MVP race after tonight’s NBA games?"
  • "What are the latest news about artificial intelligence?"
  • "What's the weather like in New York today?"
  • "How is the stock market performing right now?"

🛠️ Available Tools

Web Search

  • Tool Name: web_search
  • Description: Search the web for REAL-TIME information
  • Necessarily For: Weather, current events, sports scores, stock market updates
  • Parameters:
    • search_term (string): The search term to look up
    • provider (string, optional): Search provider (defaults to Brave)

Query Categories

The tool automatically categorizes queries into:

  • Weather information
  • Current events and news
  • Sports scores and results
  • Stock market and financial data
  • Time-sensitive information
  • General information seeking

📜 License

MIT License

👨‍💻 Developer

By Hossein Yousefpour

© All rights reserved.

📝 Medium Article

Read more about the MCP Web Search Tool, its capabilities, and how it enhances AI-driven web search in our detailed Medium article: 📖 Deep Dive into MCP Web Search Tool

☕ Support

Buy Me A Book

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • https://tovuti.be
  • Oede knorrepot die vasthoudt an de goeie ouwe tied van 't boerenleven

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Gil kaminski
  • Make sure you are post-ready before you post on social media

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocole de connecteur de message) 服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

    Reviews

    1 (1)
    Avatar
    user_qYyl3zD0
    2025-04-17

    I've been using the mcp-web-search-tool by gabrimatic, and it's a game-changer for my web search needs! The tool is incredibly intuitive and efficient, making my search tasks much easier and faster. Whether you are a developer or a researcher, this tool saves a lot of time and effort. Highly recommended! Check it out on GitHub: https://github.com/gabrimatic/mcp-web-search-tool