Skip to main content
Glama
open-search-mcp

open-search-mcp

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

Related 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

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.com or site:stackoverflow.com in 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 extraction

  • research — 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 tools
fetchB

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 3 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that provides web search scraping from DuckDuckGo (with Mojeek fallback) and URL content fetching as markdown/text or raw HTML.
      1
      ISC
    • A
      license
      A
      quality
      C
      maintenance
      Gives 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.
      7
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables 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 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Gives 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.
      5
      1
      MIT