ウェブ検索 MCP サーバー
概要
ウェブ検索とは?
ウェブ検索とは、検索エンジンを使用してインターネット上の情報を見つけるプロセスを指します。ユーザーはクエリを入力し、関連する結果のリストを受け取ることができます。pskill9によって開発されたウェブ検索ツール、### web-searchは、ユニークな機能を提供します。それは、APIキーなしでGoogleの検索エンジンを使用して検索を行うことを可能にします。これにより、オンラインで情報を探している誰にとってもアクセスしやすく、使いやすくなっています。
ウェブ検索の特徴
- APIキー不要:ユーザーはAPIキーを取得する手間なしに検索を行うことができ、使いやすさを提供します。
- 無料アクセス:このツールは一般公開されており、誰でもその機能を無料で利用できます。
- Google検索統合:Googleの強力な検索アルゴリズムを活用して、正確で関連性の高い検索結果を提供します。
- ユーザーフレンドリーなインターフェース:使いやすさを考慮して設計されており、すべての技術レベルのユーザーがアクセスできます。
- オープンソース:プロジェクトはGitHubにホストされており、開発者が貢献、フォーク、ツールを改善することができます。
ウェブ検索の使い方
- ツールにアクセス:GitHubのweb-searchリポジトリに移動します。
- クローンまたはダウンロード:Gitを使用してリポジトリをクローンするか、ZIPファイルをローカルマシンにダウンロードします。
- アプリケーションを実行:リポジトリに記載されている指示に従ってアプリケーションをセットアップし、実行します。
- クエリを入力:検索バーを使用してクエリを入力し、エンターを押します。
- 結果を表示:Googleによって提供される結果を表示し、ブラウズします。
よくある質問
web-searchを使用するのに費用はかかりますか?
いいえ、web-searchは完全に無料で使用できます。
ツールを使用するために登録やサインインは必要ですか?
検索を行うために登録やサインインは必要ありません。
web-searchプロジェクトに貢献できますか?
はい!プロジェクトはオープンソースであり、貢献は歓迎されます。リポジトリをフォークしてプルリクエストを送信できます。
どのようなクエリを実行できますか?
通常Googleに入力するような任意のタイプのクエリを実行できます。テキスト検索、質問などが含まれます。
実行できる検索の数に制限はありますか?
web-searchツールを使用して行う検索の数に制限はありません。
詳細
Web Search MCP Server
A Model Context Protocol (MCP) server that enables free web searching using Google search results, with no API keys required.
Features
- Search the web using Google search results
- No API keys or authentication required
- Returns structured results with titles, URLs, and descriptions
- Configurable number of results per search
Installation
- Clone or download this repository
- Install dependencies:
npm install
- Build the server:
npm run build
- Add the server to your MCP configuration:
For VSCode (Claude Dev Extension):
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["/path/to/web-search/build/index.js"]
}
}
}
For Claude Desktop:
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["/path/to/web-search/build/index.js"]
}
}
}
Usage
The server provides a single tool named search
that accepts the following parameters:
{
"query": string, // The search query
"limit": number // Optional: Number of results to return (default: 5, max: 10)
}
Example usage:
use_mcp_tool({
server_name: "web-search",
tool_name: "search",
arguments: {
query: "your search query",
limit: 3 // optional
}
})
Example response:
[
{
"title": "Example Search Result",
"url": "https://example.com",
"description": "Description of the search result..."
}
]
Limitations
Since this tool uses web scraping of Google search results, there are some important limitations to be aware of:
-
Rate Limiting: Google may temporarily block requests if too many searches are performed in a short time. To avoid this:
- Keep searches to a reasonable frequency
- Use the limit parameter judiciously
- Consider implementing delays between searches if needed
-
Result Accuracy:
- The tool relies on Google's HTML structure, which may change
- Some results might be missing descriptions or other metadata
- Complex search operators may not work as expected
-
Legal Considerations:
- This tool is intended for personal use
- Respect Google's terms of service
- Consider implementing appropriate rate limiting for your use case
Contributing
Feel free to submit issues and enhancement requests!
サーバー設定
{
"mcpServers": {
"web-search": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--pskill9--web-search--web-search",
"node ./build/index.js"
],
"env": {}
}
}
}