hasdata avatar

HasData DuckDuckGo

hasdata/duckduckgo-mcp

DuckDuckGo search as JSON. Ranked results, ads in their own array, 37 regions.

GitHub stars
7
tool
1
auth
Secret needed
transport
STDIO, HTTP
env var
1
last updated
Sep 24, 2026

Install

From registry metadata
$ npx add-mcp 'https://mcp.hasdata.com/mcp?apis=duckduckgo' --name duckduckgo --header 'x-api-key: ${X_API_KEY}'

Run in your terminal. add-mcp asks which agents to add it to, then asks for each value it needs. Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http duckduckgo 'https://mcp.hasdata.com/mcp?apis=duckduckgo' --header 'x-api-key: YOUR_X_API_KEY'

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 1 tools

Verified live against the running server on Nov 6, 2026.

hasdata_duckduckgo_serp_getSearchResultsGet DuckDuckGo Search Results Fetches DuckDuckGo SERPs for a query with region targeting (kl, or cc+setLang), safesearch (off/moderate/strict), device type, and token-based pagination. Returns organic results (title, url, snippet, displayed url, position, date, sitelinks, vide...7 params

Get DuckDuckGo Search Results Fetches DuckDuckGo SERPs for a query with region targeting (kl, or cc+setLang), safesearch (off/moderate/strict), device type, and token-based pagination. Returns organic results (title, url, snippet, displayed url, position, date, sitelinks, vide...

Parameters* required
ccstring
The two-letter country code for the country to search from. Combined with `setLang` to form the DuckDuckGo region. Ignored if `kl` is set.one of ar · au · at · be · br · ca
deviceTypestring
Specify the device type for the search.one of desktop · mobile · tablet
klstring
DuckDuckGo region code in `<country>-<language>` form (e.g. `us-en`, `de-de`). Sets country and interface language at once; takes precedence over `cc`/`setLang`. Use `wt-wt` for no region.one of ar-es · au-en · at-de · be-nl · be-fr · br-pt
nextPageTokenstring
Opaque token returned in each response as `nextPageToken`. Pass it back (in place of `q`) to fetch the next page of results. It carries a pre-signed page URL bound to the original request's session...
qstring
Specify the search term for which you want to scrape the SERP. Required unless `nextPageToken` is provided (which carries the query of the page it continues).
safeSearchstring
Adult Content Filtering option.one of off · moderate · strict
setLangstring
The preferred result/interface language code — usually two letters (e.g. `en`, `de`), with script-tag variants for some languages (e.g. `zh-hans`, `zh-hant`). Combined with `cc` to form the DuckDuc...one of ar · ca · zh-hans · zh-hant · hr · cs

Sponsors

Configuration

HASDATA_API_KEY*secret

HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.

Readme

DuckDuckGo MCP Server

A hosted DuckDuckGo MCP server that gives Claude, Cursor, Windsurf and any other MCP client DuckDuckGo search results as structured JSON. Ranked organic results with positions, ads in their own array, DuckDuckGo's own AI answer, and 37 regions to target. Built for volume and for parsing, with no local browser and no fallback chain to configure.

1,000 free credits every month, no card required, which is 100 searches.

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

View the full README on GitHub

Details

Repository
github.com/hasdata/duckduckgo-mcp
Website
hasdata.com/apis/duckduckgo-serp-api
Categories
Search & Web Crawling, Data & Analytics, Finance & Commerce
Package
@hasdata/duckduckgo-mcp
Transport
STDIO, HTTP
Auth
Required
Registry
MCP registry, active
Resources
5
Tools verified
Nov 6, 2026

More from hasdata

Related Search & Web Crawling MCP servers

View all
1hasdata avatarHasData Web Scrapinghasdata/web-scraping-mcpFetch any public web page through managed proxies, with optional JS rendering and extraction rules.7stars
2hasdata avatarHasData Binghasdata/bing-mcpBing search results with the ad block and Copilot answer, geo and market targeting, as JSON.5stars
3titansneaker avatarpaper-search-mcp-openai-v2titansneaker/paper-search-mcp-openaiFind and download academic papers from leading sources like arXiv, PubMed, bioRxiv, medRxiv, Google Scholar, Semantic Scholar, CrossRef, and IACR. Get standardi4stars
4acedatacloud avatarMcp Serpacedatacloud/serpmcpMCP server for Google search results via SERP API1stars
5x402-index avatarX402search Mcpx402-index/x402search-mcpSearch 13,000+ x402-enabled APIs from your AI agent. Powered by x402search.xyz1stars
6pipeworx-io avatarExapipeworx-io/mcp-exaExa MCP — neural/semantic web search + content retrieval (exa.ai)0stars