Skip to main content
Glama
Doriandarko

Claude Web Search MCP Server

by Doriandarko

クロードウェブ検索MCPサーバー

このMCP(モデルコンテキストプロトコル)サーバーは、Claude APIを使用したWeb検索機能を提供します。これにより、LLMは標準化されたインターフェースを通じてWebから最新の情報にアクセスできるようになります。

特徴

  • Claude の Web 検索 API を使用した Web 検索ツール

  • ドメインフィルタリング(許可ドメインとブロックドメイン)のサポート

  • 検索ごとに設定可能な最大結果数

  • Claude Desktop 構成ファイルからの自動構成

Related MCP server: Google Search MCP

前提条件

  • Node.js 18以上

  • ウェブ検索が有効になっているAnthropic APIキー

  • Claude テスト用デスクトップアプリ

インストールとセットアップ

  1. リポジトリをクローンします。

    git clone https://github.com/Doriandarko/claude-search-mcp.git
    cd claude-search-mcp
  2. 依存関係をインストールします:

    npm install
  3. サーバーを構築します。

    npm run build

    これにより、TypeScript コードがコンパイルされ、サーバーが実行可能になります。

  4. グローバル アクセス用にサーバーをリンクします。

    npm link

    これによりmcp-server-claude-searchコマンドがシステム全体で使用できるようになり、Claude デスクトップ アプリがそれを検出できるようになります。

Claudeデスクトップアプリでサーバーを実行する

サーバーがインストールされリンクされると、正しく構成されていれば、Claude Desktop アプリはそれを自動的に管理できます。

  1. Claudeデスクトップアプリの設定: ClaudeデスクトップアプリのMCPサーバー設定ファイル(通常はclaude_desktop_config.json )を開きます。このサーバーのエントリを追加または更新します。

    {
      "mcpServers": {
        // ... other servers ...
        "claude-search": {
          "command": "mcp-server-claude-search",
          "env": {
            "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE"
          }
        }
        // ... other servers ...
      }
    }

    "YOUR_ANTHROPIC_API_KEY_HERE"実際のAnthropic APIキーに置き換えてください。 env変数がここで設定されていない場合、サーバーは~/code/claude-search-mcp/claude_desktop_config.jsonからもこのキーを読み取ろうとしますが、メイン設定でサーバーごとに定義することをお勧めします。

  2. Claudeデスクトップアプリを起動します。Claudeデスクトップアプリケーションを起動(または再起動)します。これで、必要に応じてmcp-server-claude-search検出して起動できるようになります。

  3. Web 検索の使用: Claude との会話で Web 検索機能を使用できるようになりました。

手動サーバー実行(テスト/開発用)

テストまたは開発目的でサーバーを手動で実行する場合 (Claude デスクトップ アプリの管理外で) :

  • グローバルにリンクされたコマンドを使用する:

    mcp-server-claude-search
  • tsx を直接使用する (自動再起動による開発の場合):

    npm run dev
  • コンパイルされたコードを直接実行する:

    npm start

ウェブ検索ツールのパラメータ

Web 検索ツールは、LLM によって呼び出されたときに次のパラメータをサポートします。

  • query (必須): 検索クエリ文字列。

  • maxResults (オプション): 返される検索結果の最大数 (デフォルト: 5)。

  • allowedDomains (オプション): 検索結果に含めるドメインの配列 (例: ["example.com", "wikipedia.org"] )。

  • blockedDomains (オプション): 検索結果から除外するドメインの配列。

ライセンス

マサチューセッツ工科大学

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool update
    • First observedweb_search

TDQS

A4/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of confusion or overlap between tools, as there are no other tools to compare it against. The single tool's purpose is clearly defined and distinct by default.

Naming Consistency5/5

The single tool name 'web_search' follows a consistent verb_noun pattern, and since there are no other tools, there is no inconsistency to evaluate. The naming is straightforward and appropriate for its function.

Tool Count2/5

A single tool is generally too few for most server purposes, as it limits functionality and can feel thin or incomplete. For a web search server, while the core function is covered, additional tools like advanced search filters or result management might be expected to enhance utility.

Completeness3/5

The server provides a basic search function, which covers the essential need for real-time information retrieval. However, there are notable gaps, such as lack of tools for refining searches, handling pagination, or accessing specific types of content, which could limit agent effectiveness in complex scenarios.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Facilitates web search capabilities using Perplexity's API, allowing users to retrieve search results through Claude's interface.
    1
    8
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Exposes Perplexity AI's search capabilities to Claude, enabling real-time web search and information retrieval within the assistant. The project is currently in active development with plans to support Perplexity Spaces and multi-source data synthesis.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables web search via Brave Search API with freshness filters, full page content fetching, and usage tracking. Designed for Claude integration.
    399 npm
    GPL 3.0