DC

doriandarko/claude-search-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

48 stars 13 forks 品質 58 トレンド 0

doriandarko/claude-search-mcpは[https://github.com/doriandarko/claude-search-mcp.]からインポートされたMCPサーバーの候補です

概要

doriandarko/claude-search-mcpは[https://github.com/doriandarko/claude-search-mcp.]からインポートされたMCPサーバーの候補です

概要(AI 翻訳)

このMCP(Model Context Protocol)サーバーは、Claude APIを使用してWeb検索機能を提供します。 LLM は、標準化されたインターフェイスを通じて、Web から最新の情報にアクセスすることができます。

##特徴

  • ClaudeのWeb検索APIを使用したWeb検索ツール
  • ドメインフィルタリングのサポート(禁止ドメイン)
  • 検索ごとに最大結果を設定可能
  • Claudeデスクトップ設定ファイルから自動設定

前提条件

  • Node.js 18以上
  • ウェブ検索機能を備えたAnthropic APIキーが有効
  • テストのためのClaudeデスクトップアプリ

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

  1. リポジトリのクローン:

2.依存関係のインストール:

3。サーバーを構築する:

これは、TypeScriptコードをコンパイルし、サーバーの実行可能にします。

4。グローバルアクセス用のサーバーへのリンク:

これにより、[mcp-server-claude-search] コマンドが利用可能なシステム全体で、Claude デスクトップ アプリがそれを見つけることができるようになります。

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

サーバがインストールされ、リンクされると、Claude デスクトップ アプリは、正しく設定されている場合に自動的に管理できます。

1.Claudeデスクトップアプリの設定: ClaudeデスクトップアプリのMCPサーバー設定ファイル(通常claude_desktop_config.json)を開きます.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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.
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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