open-search-mcp
Provides web search, page fetching, and research capabilities using DuckDuckGo as the search engine.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@open-search-mcp research the latest trends in artificial intelligence"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
open-search-mcp
Web search, page fetching, and research from the terminal or any MCP client — no API key required.
Built on DuckDuckGo for search and Trafilatura for content extraction.
Install
Homebrew (macOS/Linux)
brew install rockindahizzy/tap/open-search-mcppipx / uv
# One-shot (no install)
uvx open-search-mcp search "your query"
# Permanent install
uv tool install open-search-mcp
# or
pipx install open-search-mcppip
pip install open-search-mcpRelated MCP server: Oxylabs Web API MCP Server
CLI Usage
# Search the web
open-search search "python async tutorial"
open-search search "react native" -n 5 -t w
open-search search "security CVE" -s github.com
# Fetch a page and extract readable content
open-search fetch https://example.com/article
open-search fetch https://news.ycombinator.com -m 5000
# Research: search + auto-fetch top results
open-search research "philosophy of mind AI"
open-search research "rust vs go 2025" -f 5 -v
# JSON output (pipe to jq, etc.)
open-search search "AI agents" --json
open-search research "MCP protocol" --json | jq '.results[0].content'Commands
Command | Description |
| Search the web via DuckDuckGo |
| Fetch a URL → clean readable text |
| Search + auto-fetch top N results |
Query Tips
Exact phrases:
"financial literacy"Exclude terms:
-pinterestSite filter:
-s github.comorsite:stackoverflow.comin queryTime range:
-t d(day),-t w(week),-t m(month),-t y(year)Combine:
"react native" expo -reddit
MCP Server Usage
The package also runs as an MCP server for AI assistants and agents.
As stdio server
open-search-mcpWith Claude Desktop / MCP clients
{
"mcpServers": {
"open-search": {
"command": "uvx",
"args": ["open-search-mcp"]
}
}
}MCP Tools
search— Web search with filters (region, time, site)fetch— URL → clean text extractionresearch— Search + auto-fetch combined
Dependencies
click — CLI framework
ddgs — DuckDuckGo search
httpx — HTTP client
trafilatura — Web content extraction
mcp — Model Context Protocol SDK
License
MIT
Available Tools
3 toolsfetchB
Fetch a URL and extract readable content (HTML → clean text).
Args: url: The URL to fetch max_chars: Max characters to return (default 20000, truncates if exceeded)
Inputs: url (required), max_chars. Returns: result
researchA
Combined search + fetch: searches, then fetches the top N result pages. Returns search results with full extracted content for the top hits.
Use advanced query techniques — don't just pass raw user questions. Reformulate into precise search operators.
Args: query: Search query (use operators for precision) max_results: Total search results to return (default 5) fetch_top: How many top results to auto-fetch content from (default 3) max_chars_per_page: Max chars per fetched page (default 10000) region: Region code time_range: d=day, w=week, m=month, y=year site: Limit to domain
Inputs: query (required), site, region, fetch_top, +3 more. Returns: result
searchA
Search the web via DuckDuckGo. No API key needed.
Use advanced query techniques for best results:
Exact phrases: "financial literacy"
Exclude terms: -pinterest
Site filter: site param or site: in query
Combine operators: "react native" expo -reddit
Args: query: Search query (use operators for precision) max_results: Number of results (1-25, default 10) region: Region code (wt-wt=global, us-en, uk-en, etc.) time_range: d=past day, w=past week, m=past month, y=past year site: Limit to domain (e.g. "github.com", "stackoverflow.com")
Inputs: query (required), site, region, time_range, +1 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
fetch, search, and research target distinct inputs (URL vs query vs combined workflow), but research is a composite of search+fetch and could be over-selected when simpler tools suffice. Descriptions clarify the boundaries well, so misselection risk is minor.
All three tool names are single lowercase verbs (fetch, search, research), forming a consistent action-oriented pattern with no deviations. This makes the set predictable and easy to scan.
Three tools is lean but perfectly scoped for a web search and content extraction server. Each tool earns its place: one for URL fetching, one for search queries, and one for combined research.
Core operations (search, fetch, combined research) are well covered, with no dead ends for typical workflows. Minor gaps include no batch fetch for a list of known URLs and no pagination beyond max_results for deeper search.
Maintenance
Related MCP Connectors
Web search API and MCP server for developers building AI agents.
Free web search for AI agents. No API key required. Hosted MCP in active development.
Scrape, crawl and search the web for AI agents via MCP.
One MCP server for all web data. Scrape, search, crawl, and AI research in one install.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that provides web search scraping from DuckDuckGo (with Mojeek fallback) and URL content fetching as markdown/text or raw HTML.1ISC
- AlicenseAqualityCmaintenanceGives MCP-capable agents live web access: search the web, scrape pages into Markdown (including JavaScript-heavy and bot-protected sites), and extract named fields as JSON, with job polling, token-aware content offloading, and built-in research guidance. Ships as a self-hostable stdio or HTTP service with spend caps and per-request key support.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to search the web and fetch individual pages through two stdio tools, returning ranked results or extracted page content, titles and outbound links. It wraps a hosted, API-key-authenticated service (or a local daemon) with zero runtime dependencies.20 npmMIT
- AlicenseAqualityBmaintenanceGives any MCP client keyless web, news, semantic, and GitHub search plus a token-efficient reader-mode page and text-PDF fetcher, with engine fallback and a local sqlite cache. It enables agents to keep researching the web without API keys, signups, or account quotas.51MIT