Claude MCP Server
クロードMCPサーバー
Claude AIがリアルタイムでウェブ検索できるようにする軽量ブリッジ。このFlaskベースのサーバーは、Claudeの高度な機能とDuckDuckGo検索を統合し、AIが会話中に最新の情報にアクセスできるようにします。
プロジェクト概要
このプロジェクトは、クロードが会話中にウェブ検索を実行できるようにするサーバーを実装します。このサーバーは以下の要素で構成されています。
MCP サーバー: ツール呼び出しを処理し、Web 検索を実行する Flask サーバー
Claude統合: ClaudeのAPIに接続し、ツールの使用機能を管理するクライアント
コマンドラインインターフェース: Claude + Web検索機能と対話する簡単な方法
Related MCP server: DuckDuckGo MCP Server
特徴
🔍 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"
建築
┌─────────────┐ ┌───────────────┐ ┌───────────────┐
│ User Query │────▶│ Claude Client │────▶│ Claude API │
└─────────────┘ └───────┬───────┘ └───────┬───────┘
│ │
│ │
│ ▼
│ ┌───────────────┐
│ │ Tool Call │
│ └───────┬───────┘
│ │
▼ │
┌───────────────┐ │
│ MCP Server │◀───────────┘
└───────┬───────┘
│
▼
┌───────────────┐
│ Web Search │
└───────────────┘APIエンドポイント
GET /health: ヘルスチェックエンドポイントGET /: サーバー情報と利用可能なエンドポイントPOST /tool_call: Claudeからのツール呼び出しを処理する
使用例
クロードに現在の出来事について聞いてみましょう:
python ask_claude.py "What happened in the world today?"技術的なトピックについて質問する:
python ask_claude.py "Explain the latest advancements in quantum computing"ライセンス
マサチューセッツ工科大学
謝辞
クロードAIのためのアントロピック
検索API用DuckDuckGo
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Web search API and MCP server for developers building AI agents.
Hosted Web Crawler MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Web search, Google SERP, page extraction to markdown and cited answers for AI agents.
Related MCP Servers
- AlicenseBqualityDmaintenanceA server facilitating web search functionality by utilizing Perplexity AI's API, designed to integrate with the Claude desktop client for enhanced search queries.1311MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides DuckDuckGo search functionality for Claude, enabling web search capabilities through a clean tool interface with rate limiting support.11,889 npm87MIT
- AlicenseBqualityDmaintenanceA 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.3MIT
- AlicenseAqualityDmaintenanceA server that enables AI assistants like Claude to perform web searches using the Exa AI Search API, providing real-time web information in a safe and controlled way.246,492 npmMIT