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
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.
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
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the webpage to fetch content from | |
| maxChars | No | Maximum number of characters to return (default: 5000, max: 200000) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently states what the tool does (extracts readable text, removes ads/navigation), its best-use scenarios (articles, blogs, docs), and its limitations (may not work with JS-rendered or login pages). It also mentions the maxChars parameter for controlling output size. However, it doesn't explicitly state that it is a read-only operation (though implied) or describe error handling, so it's not perfect.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is structured as a use_case and important_notes, with the purpose stated upfront. It uses bullet points for key notes, making it scannable. Every sentence contributes value—purpose, usage context, and limitations—with no filler. It is concise yet complete.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple two-parameter tool with no output schema, the description covers all necessary information: what it does, when to use it, limitations, and a parameter tip. It explains the tool's behavior and constraints sufficiently for an agent to use it correctly without additional context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both url and maxChars with clear meanings. The description adds a small usage hint ('Use maxChars to limit returned content length for large pages') but doesn't provide additional semantics beyond what the schema already conveys. This meets the baseline of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Fetch and extract the main text content from a webpage.' It clearly distinguishes itself from the sibling webSearch (which returns search results) by focusing on reading full content of a specific URL. It also specifies what it extracts (readable article text) and what it removes (ads, navigation), making the purpose unmistakable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly provides usage context: 'Use this tool after webSearch to read the full content of a specific URL, or when given a direct URL to analyze.' It also notes limitations (JS-rendered pages, login pages) that guide when to avoid it. While it doesn't explicitly name alternative tools for those cases, the guidance is clear and actionable, earning a 4.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
webSearchWeb SearchA
Search the web using DuckDuckGo. Use this tool when you need to find current information, news, documentation, or answers to questions from the internet.
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
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query string | |
| region | No | Region/language code (e.g., 'jp-ja' for Japanese, 'us-en' for US English, 'wt-wt' for no specific region) | |
| maxResults | No | Maximum number of results to return (default: 10, max: 20) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden and handles it well. It discloses that no API key is required, that results include title/URL/snippet, that the region parameter affects result localization, and that fetchWebContent should be used for full page content. This gives an agent a realistic picture of behavior and output.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with a use-case block and important notes. It is concise, front-loads the core purpose, and every sentence provides useful operational detail without unnecessary filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a straightforward search tool with no output schema, the description covers what an agent needs: engine, auth requirements, result contents, region behavior, result limits, and the natural next step to fetch full content. No critical operational gap is apparent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents all three parameters. The description adds minimal new meaning: it repeats the region example and reinforces maxResults behavior, but does not substantially extend the schema's parameter documentation. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Search the web using DuckDuckGo') and clearly identifies what the tool does. It also names the intended use cases ('current information, news, documentation, or answers'), making the purpose unambiguous and easy to distinguish from the sibling fetchWebContent.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says when to use the tool and gives a clear follow-up action: use fetchWebContent after getting results. It stops short of explicitly saying when NOT to use this tool versus fetchWebContent, so it misses the top-tier score, but the guidance is otherwise clear.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
v1.0.0- First observed
fetchWebContent - First observed
webSearch
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.
Search the web and extract clean, readable text from webpages. Process multiple URLs at once to sp…
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Web search and page-reading for AI agents. One-click OAuth connect, or a Caesar API key.
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.226 npm136Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables web search and content fetching via DuckDuckGo without requiring an API key.215 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables web search using Bing and DuckDuckGo combined, and fetching readable content from web pages, with no API key required.9 npm2MIT