mcp-web-search
MCP Web Search Server
Model Context Protocol (MCP) サーバーで、Web検索機能を提供し、Render にデプロイできます。
公式のMCP SDKを使用したPythonで構築されており、AIPI、Claude DesktopなどのMCPクライアントとの最大限の互換性を実現するために、SSE(サーバー送信イベント) トランスポートをサポートしています。
公開ツール
ツール | 説明 |
| Webを検索します。タイトル、URL、説明を返します。 |
| 任意のURLからテキストコンテンツを取得して抽出します。 |
Related MCP server: MCP Search & Fetch
🚀 Renderにデプロイする(ステップバイステップ)
1. このリポジトリをGitHubにプッシュする
cd mcp-web-search
git init
git add .
git commit -m "Initial commit"
# create a repo on github.com, then:
git remote add origin https://github.com/YOUR_USERNAME/mcp-web-search.git
git push -u origin main2. Renderで新しいWebサービスを作成する
render.com にアクセスし、New → Web Service を選択します。
GitHubリポジトリ(
mcp-web-search)を接続します。Renderが
render.yamlを自動検出します。Apply をクリックします。Renderダッシュボードで環境変数を設定します。
変数 | 必須 | 説明 |
| 推奨 | serper.dev で無料で入手できます(月2,500クエリ無料、Google検索結果)。 |
| 任意 | サーバーをパスワードで保護するには、任意の秘密文字列を設定します。 |
Create Web Service をクリックすると、Renderが自動的にビルドしてデプロイします。
サーバーのURLは、https://mcp-web-search.onrender.com のようになります。
🔌 AIPIに接続する
AIPIの「カスタムMCPを追加」ダイアログで、次の設定を貼り付けます。
{
"mcpServers": {
"web-search": {
"type": "sse",
"url": "https://YOUR-SERVICE.onrender.com/sse"
}
}
}YOUR-SERVICE を実際のRenderサービス名(例:mcp-web-search-j73g)に置き換えます。
その他のMCPクライアント
SSEトランスポートをサポートするすべてのMCPクライアントで動作します。
Claude Desktop(claude_desktop_config.json):
{
"mcpServers": {
"web-search": {
"type": "sse",
"url": "https://YOUR-SERVICE.onrender.com/sse"
}
}
}🔍 検索プロバイダー
プロバイダー | 必要なキー | 品質 | 制限 |
Serper.dev | はい(無料) | ⭐⭐⭐⭐⭐ | 月2,500クエリ無料(Google検索結果) |
DuckDuckGo | いいえ | ⭐⭐⭐ | 無制限(フォールバック) |
Serperを使用するには、Renderの環境変数に SERPER_API_KEY を設定します。キーがない場合、サーバーは自動的にDuckDuckGoにフォールバックします。
🧪 ローカルでテストする
pip install -r requirements.txt
SERPER_API_KEY=your_key python server.pyヘルスチェック:
curl http://localhost:3000/サーバーはデフォルトでポート3000で実行されます。変更するには、PORT 環境変数を設定します。
⚠️ 無料枠に関する注意
Renderの無料枠では、15分間アクティビティがないとスピンダウンします(コールドスタート約30秒)。 常時稼働させるには、Starterプラン(月額7ドル) にアップグレードしてください。
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
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.
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
Web search and page reading for AI agents: search, fetch, scrape, map and crawl, with sources.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides web search and page fetch capabilities using a browser-based approach, enabling LLMs to search DuckDuckGo, Google, or Yandex and retrieve rendered HTML from URLs.5MIT
- AlicenseNot gradedqualityFmaintenanceProvides web search and page fetching capabilities using Ollama's API.MIT
- AlicenseNot gradedqualityDmaintenanceSelf-hosted web search and page fetch service using SearXNG metasearch and Scrapling browser rendering, exposing MCP tools for direct agent use.MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables web searching using the Serper API for Google search results, with optional web page content fetching.2MIT