Skip to main content
Glama

Claude Web Search MCP Server

by Doriandarko

Claude Web Search MCP Server

This MCP (Model Context Protocol) server provides web search capabilities using the Claude API. It allows LLMs to access up-to-date information from the web through a standardized interface.

Features

  • Web search tool using Claude's web search API
  • Support for domain filtering (allowed and blocked domains)
  • Configurable maximum results per search
  • Automatic configuration from Claude Desktop config file

Prerequisites

  • Node.js 18 or higher
  • An Anthropic API key with web search enabled
  • Claude Desktop app for testing

Installation & Setup

  1. Clone the repository:
    git clone https://github.com/Doriandarko/claude-search-mcp.git cd claude-search-mcp
  2. Install dependencies:
    npm install
  3. Build the server:
    npm run build
    This compiles the TypeScript code and makes the server executable.
  4. Link the server for global access:
    npm link
    This makes the mcp-server-claude-search command available system-wide, allowing the Claude Desktop app to find it.

Running the Server with Claude Desktop App

Once the server is installed and linked, the Claude Desktop app can manage it automatically if configured correctly.

  1. Configure Claude Desktop App: Open your Claude Desktop app's MCP server configuration file (usually claude_desktop_config.json). Add or update the entry for this server:
    { "mcpServers": { // ... other servers ... "claude-search": { "command": "mcp-server-claude-search", "env": { "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE" } } // ... other servers ... } }
    Replace "YOUR_ANTHROPIC_API_KEY_HERE" with your actual Anthropic API key. The server will also attempt to read this key from ~/code/claude-search-mcp/claude_desktop_config.json if the env variable is not set here, but it's good practice to define it per-server in the main config.
  2. Launch Claude Desktop App: Start (or restart) your Claude Desktop application. It should now be able to find and launch the mcp-server-claude-search when needed.
  3. Use Web Search: You can now use web search capabilities in your conversations with Claude.

Manual Server Execution (for testing/development)

If you want to run the server manually for testing or development purposes (outside of the Claude Desktop app management):

  • Using the globally linked command:
    mcp-server-claude-search
  • Directly with tsx (for development with auto-restart):
    npm run dev
  • Running the compiled code directly:
    npm start

Web Search Tool Parameters

The web search tool supports the following parameters when called by an LLM:

  • query (required): The search query string.
  • maxResults (optional): Maximum number of search results to return (default: 5).
  • allowedDomains (optional): Array of domains to include in search results (e.g., ["example.com", "wikipedia.org"]).
  • blockedDomains (optional): Array of domains to exclude from search results.

License

MIT

Deploy Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

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

Anthropic API を使用して Claude AI に Web 検索機能を提供し、カスタマイズ可能なドメイン フィルタリングを使用して LLM が Web から最新の情報にアクセスできるようにします。

  1. 特徴
    1. 前提条件
      1. インストールとセットアップ
        1. Claudeデスクトップアプリでサーバーを実行する
          1. 手動サーバー実行(テスト/開発用)
            1. ウェブ検索ツールのパラメータ
              1. ライセンス

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.
                  Last updated -
                  1
                  229
                  MIT License
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  Facilitates web search capabilities using Perplexity's API, allowing users to retrieve search results through Claude's interface.
                  Last updated -
                  1
                  4
                  MIT License
                • -
                  security
                  F
                  license
                  -
                  quality
                  Allows Claude or other MCP-compatible AI assistants to search the web and get up-to-date information using the Perplexity API, with features for filtering results by time period.
                  Last updated -
                  8
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A server that enables Claude AI to interact with Weaviate vector databases, supporting both search and storage operations through Anthropic's MCP protocol.
                  Last updated -
                  2
                  GPL 3.0
                  • Apple

                View all related MCP servers

                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/Doriandarko/claude-search-mcp'

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