
mnhlt/websearch-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
mnhlt/websearch-mcp は [https://github.com/mnhlt/websearch-mcp.] からインポートされた MCP サーバー候補です
概要
mnhlt/websearch-mcp は [https://github.com/mnhlt/websearch-mcp.] からインポートされた MCP サーバー候補です
概要(AI 翻訳)
モデルコンテクストプロトコル(MCP)サーバーの実装で、stdioトランスポート上のWeb検索機能を提供します。 このサーバーは、検索結果を取得するためにWebSearch Crawler APIと統合します。
コンテンツの表
- について
- インストール
- 構成
- セットアップと統合
- クローラーサービスの設定
- 前提条件
- クローラーサービスを開始
- Crawler APIのテスト
- カスタム構成
- MCPクライアントとの統合
- 速い参照:MCPの構成
- クロードデスクトップ
- カーソルIDE
- クライン
- 使用法
- パラメーター ・検索結果例
- ローカルテスト
- 図書館として
- トラブルシューティング
- クローラーサービスの問題
- MCP サーバーの問題
- 開発
- プロジェクト構成
- npm への投稿
- 貢献
- ライセンス
について
WebSearch-MCP は、MCP をサポートする AI アシスタントにウェブ検索機能を提供するモデルコンテキストプロトコルサーバーです。 ClaudeのようなAIモデルは、任意のトピックに関する最新の情報を取得する、リアルタイムでWebを検索することができます。
サーバは、実際のWeb検索を処理するCrawler APIサービスと統合し、標準化されたモデルコンテキストプロトコルを使用してAIアシスタントと通信します。
インストール
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
WebSearch-MCP
A Model Context Protocol (MCP) server implementation that provides a web search capability over stdio transport. This server integrates with a WebSearch Crawler API to retrieve search results.
Table of Contents
- About
- Installation
- Configuration
- Setup & Integration
- Usage
- Troubleshooting
- Development
- Contributing
- License
About
WebSearch-MCP is a Model Context Protocol server that provides web search capabilities to AI assistants that support MCP. It allows AI models like Claude to search the web in real-time, retrieving up-to-date information about any topic.
The server integrates with a Crawler API service that handles the actual web searches, and communicates with AI assistants using the standardized Model Context Protocol.
Installation
Installing via Smithery
To install WebSearch for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mnhlt/WebSearch-MCP --client claude
Manual Installation
npm install -g websearch-mcp
Or use without installing:
npx websearch-mcp
Configuration
The WebSearch MCP server can be configured using environment variables:
API_URL: The URL of the WebSearch Crawler API (default:http://localhost:3001)MAX_SEARCH_RESULT: Maximum number of search results to return when not specified in the request (default:5)
Examples:
# Configure API URL
API_URL=https://crawler.example.com npx websearch-mcp
# Configure maximum search results
MAX_SEARCH_RESULT=10 npx websearch-mcp
# Configure both
API_URL=https://crawler.example.com MAX_SEARCH_RESULT=10 npx websearch-mcp
Setup & Integration
インストール
npx websearch-mcp設定
{
"mcpServers": {
"websearch": {
"command": "npx",
"args": [
"websearch-mcp"
],
"environment": {
"API_URL": "http://localhost:3001",
"MAX_SEARCH_RESULT": "5" // reduce to save your tokens, increase for wider information gain
}
}
}
}