mcp-web-search
MCP Web Search
DuckDuckGo を使用したウェブ検索用の Model Context Protocol (MCP) サーバーです。API キーは不要です。
機能
ウェブ検索 - DuckDuckGo の静的 HTML インターフェースを介してウェブを検索します
コンテンツ抽出 - Mozilla の Readability を使用して、任意のウェブページから読みやすいコンテンツを取得・抽出します
ゼロ設定 - API キー不要、サインアップ不要、すぐに動作します
軽量 - Node.js ネイティブの
fetchを使用し、重いブラウザ自動化は不要です
Related MCP server: Web Scout MCP Server
ツール
ツール | 説明 |
| DuckDuckGo でウェブを検索します。各結果のタイトル、URL、スニペットを返します。 |
| ウェブページの URL からメインのテキストコンテンツを抽出します。広告、ナビゲーション、ノイズを除去します。 |
使用方法
ローカルインストール
git clone https://github.com/doranobik/mcp-web-search.git
cd mcp-web-search
npm install
npm run build
node dist/index.js注: このパッケージは npm に公開されていません。npm 上の
mcp-web-searchという名前は無関係のプロジェクトのものであるため、代わりにこのリポジトリからインストールしてください。
Docker
docker build -t mcp-web-search .
docker run -i mcp-web-searchMCP クライアント設定
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["/path/to/mcp-web-search/dist/index.js"]
}
}
}LM Studio (mcp.json):
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["/path/to/mcp-web-search/dist/index.js"]
}
}
}ツールパラメータ
webSearch
パラメータ | 型 | 必須 | デフォルト | 説明 |
| string | はい | - | 検索クエリ |
| number | いいえ | 10 | 最大結果数 (1-20) |
| string | いいえ | - | リージョンコード (例: |
fetchWebContent
パラメータ | 型 | 必須 | デフォルト | 説明 |
| string | はい | - | 取得する URL |
| number | いいえ | 5000 | 返す最大文字数 (100〜200000) |
免責事項
このサーバーは、公式 API ではなく DuckDuckGo の HTML インターフェースを解析してウェブを検索します。DuckDuckGo がマークアップを変更すると動作しなくなる可能性があり、また過度な自動使用は DuckDuckGo の利用規約に違反したり、レート制限につながる可能性があります。責任を持って、自己責任で使用してください。
ライセンス
MIT — 詳細は LICENSE を参照してください。
Available Tools
2 toolsfetchWebContentFetch Web ContentA
<use_case>Fetch and extract the main text content from a webpage. Use this tool after webSearch to read the full content of a specific URL, or when given a direct URL to analyze.</use_case> <important_notes>
Extracts readable article text, removing ads, navigation, and other non-content elements
Works best with article pages, blog posts, and documentation
May not work well with heavily JavaScript-rendered pages or pages requiring login
Use maxChars to limit returned content length for large pages </important_notes>
Inputs: url (required), maxChars.
webSearchWeb SearchA
<use_case>Search the web using DuckDuckGo. Use this tool when you need to find current information, news, documentation, or answers to questions from the internet.</use_case> <important_notes>
No API key required
Results include title, URL, and snippet for each result
Use the region parameter to get localized results (e.g., 'jp-ja' for Japanese)
After getting search results, use fetchWebContent to read full page content from any URL </important_notes>
Inputs: query (required), region, maxResults.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: webSearch for querying the web and fetchWebContent for retrieving page content. There is no overlap or ambiguity between them.
Both tool names follow a consistent camelCase verb-noun pattern (webSearch, fetchWebContent), making them predictable and easy to understand.
With only 2 tools, the server is minimal but well-scoped for its stated purpose of web search and content fetching. While the typical range is 3-15, this lean set is appropriate for the narrow domain.
The server covers the essential workflow of searching the web and then fetching full content from selected URLs. No critical operations are missing for its intended use case.
Maintenance
Related MCP Connectors
Web search, URL content extraction to Markdown, site mapping, and recursive web crawler.
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
Web search and any page as LLM-ready Markdown for AI agents. Free keyless tier, no signup.
Search the open web and Extract Raw Content for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables web searching through DuckDuckGo and fetching content from webpages. Provides search capabilities with configurable result limits and webpage content extraction for AI assistants.-
- AlicenseBqualityCmaintenanceEnables privacy-focused web searches using DuckDuckGo and extraction of clean, readable content from web pages with support for parallel processing of multiple URLs.230 npm153Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables web search and content fetching via DuckDuckGo without requiring an API key.422 npm3MIT
- AlicenseAqualityCmaintenanceEnables web search using Bing and DuckDuckGo combined, and fetching readable content from web pages, with no API key required.22MIT