HasData DuckDuckGo logo

HasData DuckDuckGo

Returns structured DuckDuckGo results with organic rankings, separate ads, AI answers, and region targeting through MCP.

Install HasData DuckDuckGo

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hasdata-duckduckgo": {
      "command": "npx",
      "args": [
        "-y",
        "@hasdata/duckduckgo-mcp"
      ],
      "env": {
        "HASDATA_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 1 tools correctly ().

Overview

HasData DuckDuckGo MCP server connects MCP clients to a hosted DuckDuckGo search endpoint and returns parsed results as JSON. Its single search tool includes ranked organic listings, advertisements in a separate array, and DuckDuckGo's Search Assist AI answer. Queries can target 37 regions and use pagination cursors for additional result pages. Reach for it when an agent needs search data for rank comparisons, market-specific research, ad inspection, or answer retrieval without running a browser locally.

Use cases

  • Compare search rankings across regions
  • Track domains across multiple result pages
  • Separate paid placements from organic listings
  • Retrieve DuckDuckGo AI answers with source results

Key features

  • Structured DuckDuckGo search JSON
  • Organic results with ranking metadata
  • Separate advertisements array
  • Search Assist AI answer
  • 37-region targeting
  • Cursor-based pagination

Tools1

What HasData DuckDuckGo lets your agent do. Expand a tool for its parameters.

Verified live~691 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

20/20 checks healthy over the last 95d

What it can do

From the 1 tool this server returned when we ran it; 1 declare their own safety hints.

Runs commands · 1Handles credentials · 1Makes network requests · 1
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age85 days
Maintainers3

Observed 2026-11-17 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · @hasdata/duckduckgo-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
npm downloads338Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed1Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How HasData DuckDuckGo works

What HasData DuckDuckGo does

HasData DuckDuckGo exposes DuckDuckGo search through the Model Context Protocol. The service is hosted by HasData and returns search-page data in structured JSON rather than requiring an agent to interpret a rendered browser page.

The response can contain organic results with titles, URLs, snippets, displayed URLs, positions, dates, sitelinks, and video metadata. Paid placements are returned separately from organic results, and the response can also include DuckDuckGo's Search Assist AI answer.

The server is suited to applications that need search results as data: comparing the same query across regions, examining ranking positions, identifying advertisers, collecting domains across pages, or presenting an AI answer alongside the results used to produce it.

How it works

The hosted endpoint uses streamable HTTP:

text
https://mcp.hasdata.com/mcp?apis=duckduckgo

Requests authenticate with the x-api-key header. Each successful search call costs 10 credits. HasData advertises 1,000 free credits per month, equivalent to 100 searches, with no payment card required for that free allocation.

The server provides one MCP tool, hasdata_duckduckgo_serp_getSearchResults. Supply a query with q, or provide a nextPageToken returned by an earlier response to retrieve another page. Pagination is charged as a separate call. Region is a request parameter, allowing the same search to be run against different markets without configuring a proxy.

Raw MCP responses contain a text block whose contents are JSON. For direct endpoint clients, the parsed search payload is under the json property; chat clients generally unwrap this structure automatically.

Setup and configuration

Create a HasData API key and configure an MCP client that supports streamable HTTP and custom headers. Add the endpoint and send the key as x-api-key.

Claude Code, Cursor, Windsurf, Cline, VS Code, Codex CLI, and Gemini CLI can use the remote endpoint with their respective MCP configuration formats. Claude Desktop can add the endpoint as a custom connector, or use a local stdio launcher instead. The npm package @hasdata/duckduckgo-mcp and the PyPI package hasdata-duckduckgo-mcp provide launcher options for stdio-only clients; both read HASDATA_API_KEY from the environment.

A remote setup does not require a browser package or a locally maintained server process. Clients with OAuth support can connect using the endpoint and sign in instead of placing an API key in a configuration file.

Tools and capabilities

hasdata_duckduckgo_serp_getSearchResults

Use the search tool to fetch and parse a DuckDuckGo results page. It supports:

  • Query searches through the q parameter.
  • Follow-up pages through nextPageToken from the previous response.
  • Region-targeted searches across 37 markets.
  • Organic result fields including ranking position, title, URL, snippet, displayed URL, date, sitelinks, and video metadata.
  • A separate collection of advertisements.
  • DuckDuckGo's Search Assist AI answer.

When both q and nextPageToken are supplied, the cursor takes precedence and the accompanying query is ignored. A new call is required for every additional page.

Limitations and notes

The server has one search tool rather than separate tools for organic results, ads, and AI answers. All three types of data are returned by the same search operation when available.

Searches and page walks consume credits per call. For example, retrieving three pages requires three calls and costs 30 credits. Results can change as the web changes, so captured examples or prior responses should not be treated as permanent snapshots.

A HasData API key is required for the hosted endpoint. Clients without streamable HTTP support can use the Node.js or Python stdio launcher packages instead.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about HasData DuckDuckGo

HasData DuckDuckGo is an MCP server that connects AI clients to HasData's hosted DuckDuckGo search endpoint. Its main tool, hasdata_duckduckgo_serp_getSearchResults, returns ranked organic results, advertisements in a separate array, and DuckDuckGo's Search Assist AI answer as structured JSON, with region targeting and pagination support.

Configure the hosted streamable-HTTP endpoint with a HasData API key. Use https://mcp.hasdata.com/mcp?apis=duckduckgo and send the key in the x-api-key header; stdio-only clients can use the @hasdata/duckduckgo-mcp npm launcher or the hasdata-duckduckgo-mcp PyPI launcher.

Each successful tool call costs 10 credits. Additional result pages require additional calls, so a three-page search costs 30 credits. HasData provides 1,000 free credits per month, equivalent to 100 searches, without requiring a payment card.

Yes, HasData DuckDuckGo works with Cursor through its remote MCP configuration. Add the streamable-HTTP endpoint to the Cursor MCP file and include the x-api-key header containing your HasData API key.

Pass the region as a search parameter when calling the tool. The server supports 37 regions, so an agent can run the same query in multiple markets and compare the returned domains or rankings without configuring a proxy.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHasData DuckDuckGo AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hasdata-duckduckgo?style=directory)](https://allmcps.com/mcp/hasdata-duckduckgo)
HTML Embed
<a href="https://allmcps.com/mcp/hasdata-duckduckgo"><img src="https://allmcps.com/api/badge/hasdata-duckduckgo?style=directory" alt="HasData DuckDuckGo on AllMCPs" /></a>