クロードMCPサーバー
Claude AIがリアルタイムでウェブ検索できるようにする軽量ブリッジ。このFlaskベースのサーバーは、Claudeの高度な機能とDuckDuckGo検索を統合し、AIが会話中に最新の情報にアクセスできるようにします。
プロジェクト概要
このプロジェクトは、クロードが会話中にウェブ検索を実行できるようにするサーバーを実装します。このサーバーは以下の要素で構成されています。
MCP サーバー: ツール呼び出しを処理し、Web 検索を実行する Flask サーバー
Claude統合: ClaudeのAPIに接続し、ツールの使用機能を管理するクライアント
コマンドラインインターフェース: Claude + Web検索機能と対話する簡単な方法
特徴
🔍 Web検索統合:クロードがWeb上で情報を検索できるようにします
🤖 Claude 3 API サポート: Claude の最新モデルとツール使用機能で動作します
🌐 DuckDuckGo検索:倫理的で追跡のない検索結果のためにDuckDuckGoを使用
⚡高速応答:迅速な情報検索のための合理化されたアーキテクチャ
💬自然な会話:クロードはウェブ検索結果を会話にシームレスに組み込むことができます
セットアップ手順
前提条件
Python 3.9以上
クロードAPIキー
インストール
このリポジトリをクローンする
依存関係をインストールします:
pip install -r requirements.txtClaude API キーを設定します。
# On Windows $env:CLAUDE_API_KEY = "your-api-key" # On Linux/Mac export CLAUDE_API_KEY="your-api-key"
サーバーの実行
MCP サーバーを起動します。
python mcp_server.pyデフォルトでは、サーバーはポート 5001 で実行されます。
クロードと交流する:
python ask_claude.py "your question here"
建築
APIエンドポイント
GET /health: ヘルスチェックエンドポイントGET /: サーバー情報と利用可能なエンドポイントPOST /tool_call: Claudeからのツール呼び出しを処理する
使用例
クロードに現在の出来事について聞いてみましょう:
技術的なトピックについて質問する:
ライセンス
マサチューセッツ工科大学
謝辞
クロードAIのためのアントロピック
検索API用DuckDuckGo
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Claude AI が会話中に DuckDuckGo を介してリアルタイムの Web 検索を実行し、AI が現在の情報にアクセスできるようにする軽量の Flask ベースのサーバー。
Related MCP Servers
- Asecurity-licenseAqualityA 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 -256MIT License
- -security-license-qualityThis server integrates DeepSeek and Claude AI models to provide enhanced AI responses, featuring a RESTful API, configurable parameters, and robust error handling.
- -security-license-qualityA modular server implementation for Claude AI assistants with integrated tools, enabling Claude to perform actions and access external resources like file systems, web searches, browser automation, financial data, and document generation.Last updated -98MIT License
- Asecurity-licenseAqualityA server that integrates with Claude Desktop to enable real-time web research capabilities, allowing users to search Google, extract webpage content, and capture screenshots directly from conversations.Last updated -315,704MIT License