open-search-mcp
Web search, page fetching, and research from the terminal or any MCP client — no API key required.
README
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-mcp
pipx / 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-mcp
pip
pip install open-search-mcp
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 |
Search the web via DuckDuckGo |
fetch |
Fetch a URL → clean readable text |
research |
Search + auto-fetch top N results |
Query Tips
- Exact phrases:
"financial literacy" - Exclude terms:
-pinterest - Site filter:
-s github.comorsite:stackoverflow.comin query - Time 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-mcp
With 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.