duckdata
Fetches DuckDuckGo search results through the hosted HasData DuckDuckGo MCP server, returning ranked organic results with titles, URLs, snippets, positions, dates, sitelinks, video metadata, separate ads, and Search Assist AI answers when available. Supports region targeting, safe search, device type, and pagination.
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.
duckdata
duckdata is a small local bridge to the hosted HasData DuckDuckGo MCP server, which returns DuckDuckGo search results as JSON. Ask for a query and it comes back as ranked organic results — title, URL, snippet, displayed URL, position, date, sitelinks and video metadata — with the ads kept in their own separate array, plus the Search Assist AI answer when the upstream supplies one.
The bridge holds no results of its own. It serves the upstream server's tool list locally, exactly as captured from the live endpoint, and forwards each tool call upstream, returning the result untouched. The captured surface is a single read-only search fetch. There is no write, messaging, or payment tool in it.
Tools
hasdata_duckduckgo_serp_getSearchResults— fetch a DuckDuckGo SERP. The captured schema carries norequiredarray:qis the search term (required unlessnextPageTokenis provided, which carries the query it continues). Target a region withkl(a<country>-<language>code such asus-enorde-de, across 37 regions), or combineccwithsetLanginstead —kltakes precedence. Filter adult content withsafeSearch(off,moderate, orstrict), pick a form factor withdeviceType(desktop,mobile, ortablet), and page with the opaquenextPageTokenreturned by the previous response.
Related MCP server: SerpApi MCP Server
Configuration
HASDATA_DUCKDUCKGO_MCP_URL(optional) — override the upstream endpoint. Defaults tohttps://mcp.hasdata.com/mcp?apis=duckduckgo. (The override hook is this rebuild's own labelled reconstruction.)HASDATA_API_KEY(optional) — when set, every upstream request carries anx-api-key: <key>header, for the caller's own HasData API key. When it is not set, no key header is sent. (The header name and the env name are pinned by the original's registry record; forwarding the key from this env var is a labelled reconstruction — the original surface was captured keyless.)
Forwarding mechanics
On the first tool call the client opens a streamable
HTTP session with the upstream: a JSON-RPC
initialize request (protocolVersion 2025-03-26,
clientInfo name duckdata), then a
notifications/initialized notification, then the
tools/call request carrying the caller's arguments
unchanged. When the upstream answers initialize
with an Mcp-Session-Id header, that value rides on
every later request of the session, which is reused
for the life of the process. Replies may arrive as
plain JSON or as server-sent events; both are read.
Successful upstream results pass through verbatim,
including any isError flag the upstream sets.
Failures — a JSON-RPC error, a non-2xx status, an
unreadable response, or a request that cannot be
completed — come back as an isError result whose
text starts with duckdata error: (this rendering
is this rebuild's own labelled reconstruction).
CLI
The tool is also a subcommand taking one JSON argument string:
npx @reneturcios/duckdata hasdata_duckduckgo_serp_getSearchResults '{"q":"open source search","kl":"us-en","safeSearch":"moderate","deviceType":"desktop"}'
npx @reneturcios/duckdata --versionExit codes: 0 on success, 1 on an isError
result, 2 on a usage error.
MCP server
npx -y @reneturcios/duckdata mcpMCP client config:
{
"mcpServers": {
"duckdata": {
"command": "npx",
"args": ["-y", "@reneturcios/duckdata", "mcp"]
}
}
}Docker
docker run -i ghcr.io/cloudcorprecords/duckdata
docker run --rm ghcr.io/cloudcorprecords/duckdata --versionThe container's default command is mcp, so the first
form is a stdio MCP server; any other arguments reach
the CLI normally.
Development
npm install
npm run build
npm test
npm run devThe test suite runs entirely against a stubbed JSON-RPC upstream — no live network calls.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
DuckDuckGo web search results, news and related searches. Paid, on Apify's hosted MCP.
DuckDuckGo search as JSON. Ranked results, ads in their own array, 37 regions.
Google, Bing, DuckDuckGo and Google Maps search results, free without an API key.
All HasData scraping tools in one MCP server: Google, TikTok, Instagram, maps, e-commerce and more.
Related MCP Servers
- AlicenseAqualityBmaintenanceA hosted MCP server that returns DuckDuckGo search results as structured JSON, with ranked organic results, separate ads, AI answers, and 37 region/language targets for any MCP client.177 npm29 PyPI7MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients to run searches across Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay, and other engines, returning organic results, news, images, shopping, weather, and stock data as JSON or Markdown. It also exposes per-engine parameter schemas as resources and offers optional interactive table and dashboard views.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to run real-time searches across Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and many other engines, returning structured JSON or token-efficient Markdown for organic results, news, images, shopping, weather, and stock market data. It also exposes per-engine parameter schemas as MCP resources and can render results as interactive tables or dashboards.-
- FlicenseNot gradedqualityAmaintenanceEnables querying Google, Bing, Yahoo, DuckDuckGo, YouTube, eBay and many other search engines for real-time results, weather, stock data and more, returning structured JSON or token-efficient Markdown. It also exposes per-engine parameter schemas as resources and offers opt-in interactive table and dashboard views.-