privatesearch
Provides web search through DuckDuckGo's public HTML endpoint, returning result titles, destination URLs, and snippet excerpts, with optional max-results and region settings and no account or API key required.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
privatesearch
privatesearch looks things up on the web without an account, an API key, or a search subscription. It asks DuckDuckGo's public HTML endpoint a question and hands back the titles, addresses, and excerpts of what came up, and it can also open a page and return the words on it as plain readable text. It works from the command line or as an MCP server for agents.
Install
npx @reneturcios/privatesearch search "trail running shoes"Or run the container image:
docker run -i ghcr.io/cloudcorprecords/privatesearchThe container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Related MCP server: search-mcp
CLI
# Search the web; results print as title / URL / snippet blocks
privatesearch search "composting basics"
privatesearch search "composting basics" --max-results 5 --region uk-en
privatesearch search "composting basics" --json
# Fetch a page as readable text (markup, scripts, and styles removed)
privatesearch fetch-content https://example.com/some/article
privatesearch --versionExit codes: 0 on success, 1 when a search or fetch fails (the
error names the problem), 2 for usage errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
npx -y @reneturcios/privatesearch mcpMCP client configuration:
{
"mcpServers": {
"privatesearch": {
"command": "npx",
"args": ["-y", "@reneturcios/privatesearch", "mcp"]
}
}
}Tools
Tool | Input | What it returns |
|
| The matching results: for each one a title, the destination URL (redirect wrappers are unwrapped), and a snippet excerpt. |
|
| The page's readable text: script, style, and head material removed, tags stripped, entities decoded. |
Search reads the result blocks of the HTML endpoint's response page; when the endpoint returns no blocks the result list is empty rather than an error. Fetch failures (non-2xx responses, unreachable hosts) are reported as tool errors.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev # run the CLI from source via tsxLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Search the open web and Extract Raw Content for AI agents.
Web search and clean-text page fetch for AI agents, with SSRF protection.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform real-time web searches, fetch webpage content, and get search suggestions using DuckDuckGo's privacy-focused search engine.-
- FlicenseNot gradedqualityDmaintenanceEnables web search capabilities using DuckDuckGo's free API without requiring authentication or API keys.-
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to search the web, find news, and read page content via DuckDuckGo without an API key.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to search the internet using DuckDuckGo and extract clean, formatted content from web pages.167 npmGPL 3.0