H
HasData/duckduckgo-mcp
★ 6·更新 2026-10-29
在 GitHub 查看 ↗直链 · 无中转页
安装与配置
远端端点(Claude Desktop / Cursor / Windsurf 共用 mcpServers)
{
"mcpServers": {
"hasdata-duckduckgo-mcp": {
"url": "https://mcp.hasdata.com/mcp?apis=duckduckgo"
}
}
}把这段粘进 Claude Desktop / Cursor 的 mcpServers 配置即可。端点来自公开证据,我们没有替你安装或托管它。 官方 Registry 记录:这个端点列了【必填】请求头 x-api-key(HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.)。用它要带上你自己的凭据。
VS Code(.vscode/mcp.json —— 键名是 servers,远程要 type: http)
{
"servers": {
"hasdata-duckduckgo-mcp": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=duckduckgo"
}
}
}VS Code 的配置文件和另外三家不同:顶层键是 <code>servers</code>,远程端点还要写 <code>"type": "http"</code>。复制到 .vscode/mcp.json。
Claude Code(命令行)
claude mcp add --transport http hasdata-duckduckgo-mcp https://mcp.hasdata.com/mcp?apis=duckduckgo
Claude Code 不收 JSON 文件,用这条命令直接加。
配置文件在:macOS
~/Library/Application Support/Claude/claude_desktop_config.json、Windows %APPDATA%\Claude\claude_desktop_config.json、Linux ~/.config/Claude/claude_desktop_config.json。配置项的键名以你的客户端为准:客户端与 CLI- ★ 数取值
- 6 ★ · HasData/duckduckgo-mcp · 取自 GitHub 搜索 API · (2026-11-19 20:00:48 核对)
- 来源明细
- 收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-11-18 · 最近见到 2026-11-20 · 共见到 3 次 · 被 3 个来源列出
- 评分构成
- 综合分 300 · 6 ★ · 3 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
HasData/duckduckgo-mcp;我们收录于 2026-11-18;最近见到 2026-11-20。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。README 原文(英文,未翻译) · 在 GitHub 读完整 README →
# DuckDuckGo MCP Server
以下摘录自该仓库的 README(片段)
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
Prompts and resources
## Contents
What you need
Quick start
Example prompts
Tools
Errors and failure paths
Pricing, free tier and limits
Tool selection
How it compares
FAQ
HasData links
Development
Contributing
License
## What you need
An MCP client that speaks streamable HTTP with custom headers. A HasData API key from the dashboard, free to create. Nothing else. This is a remote server, so the simplest path is a URL and a header, with no browser package to add and no local process to keep up. A stdio-only client can use the @hasdata/duckduckgo-mcp (npm) or hasdata-duckduckgo-mcp (PyPI) launcher instead.
## Quick start
The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.
| Field | Value |
| URL | https://mcp.hasdata.com/mcp?apis=duckduckgo |
| Transport | HTTP, streamable |
| Auth header | x-api-key: HASDATA_API_KEY |
Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.
Claude Code
bash
claude mcp add --transport http duckduckgo "https://mcp.hasdata.com/mcp?apis=duckduckgo" \
--header "x-api-key: HASDATA_API_KEY"
Claude Desktop
Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=duckduckgo and sign in.
For the config-file route, Claude Desktop loads only local (stdio) servers, so it reaches a remote server through a stdio launcher. The @hasdata/duckduckgo-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:
json
"mcpServers": {
"duckduckgo": {
"command": "npx",
"args": ["-y", "@hasdata/duckduckgo-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
Python instead of Node? Swap the launcher for the PyPI package, which uvx runs without a manual install:
json
"mcpServers": {
"duckduckgo": {
"command": "uvx",
"args": ["hasdata-duckduckgo-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
Cursor
~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:
json
"mcpServers": {
"duckduckgo": {
"url": "https://mcp.hasdata.com/mcp?apis=duckduckgo",
"headers": { "x-api-key": "HASDATA_API_KEY" }
Windsurf
~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:
json
"mcpServers": {
"duckduckgo": {
"serverUrl": "https://mcp.hasdata.com/mcp?apis=duckduckgo",
"headers": { "x-api-key": "HASDATA_API_KEY" }
Cline
json
"mcpServers": {
"duckduckgo": {
"url": "https://mcp.hasdata.com/mcp?apis=duckduckgo",
"type": "streamableHttp",
"headers": { "x-api-key": "HASDATA_API_KEY" },
"disabled": false
VS Code
.vscode/mcp.json in the workspace:
json
"servers": {
"duckduckgo": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=duckduckgo",
1,000 free credits every month, no card required, which is 100 searches.
https://mcp.hasdata.com/mcp?apis=duckduckgo
Prompts and resources
## Contents
What you need
Quick start
Example prompts
Tools
Errors and failure paths
Pricing, free tier and limits
Tool selection
How it compares
FAQ
HasData links
Development
Contributing
License
## What you need
An MCP client that speaks streamable HTTP with custom headers. A HasData API key from the dashboard, free to create. Nothing else. This is a remote server, so the simplest path is a URL and a header, with no browser package to add and no local process to keep up. A stdio-only client can use the @hasdata/duckduckgo-mcp (npm) or hasdata-duckduckgo-mcp (PyPI) launcher instead.
## Quick start
The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.
| Field | Value |
| URL | https://mcp.hasdata.com/mcp?apis=duckduckgo |
| Transport | HTTP, streamable |
| Auth header | x-api-key: HASDATA_API_KEY |
Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.
Claude Code
bash
claude mcp add --transport http duckduckgo "https://mcp.hasdata.com/mcp?apis=duckduckgo" \
--header "x-api-key: HASDATA_API_KEY"
Claude Desktop
Settings, then Connectors, then Add custom connector, then paste https://mcp.hasdata.com/mcp?apis=duckduckgo and sign in.
For the config-file route, Claude Desktop loads only local (stdio) servers, so it reaches a remote server through a stdio launcher. The @hasdata/duckduckgo-mcp package is that launcher, and it reads the key from the environment. Add this to claude_desktop_config.json:
json
"mcpServers": {
"duckduckgo": {
"command": "npx",
"args": ["-y", "@hasdata/duckduckgo-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
Python instead of Node? Swap the launcher for the PyPI package, which uvx runs without a manual install:
json
"mcpServers": {
"duckduckgo": {
"command": "uvx",
"args": ["hasdata-duckduckgo-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
Cursor
~/.cursor/mcp.json for every project, or .cursor/mcp.json for one:
json
"mcpServers": {
"duckduckgo": {
"url": "https://mcp.hasdata.com/mcp?apis=duckduckgo",
"headers": { "x-api-key": "HASDATA_API_KEY" }
Windsurf
~/.codeium/windsurf/mcp_config.json. Windsurf calls the field serverUrl, not url:
json
"mcpServers": {
"duckduckgo": {
"serverUrl": "https://mcp.hasdata.com/mcp?apis=duckduckgo",
"headers": { "x-api-key": "HASDATA_API_KEY" }
Cline
json
"mcpServers": {
"duckduckgo": {
"url": "https://mcp.hasdata.com/mcp?apis=duckduckgo",
"type": "streamableHttp",
"headers": { "x-api-key": "HASDATA_API_KEY" },
"disabled": false
VS Code
.vscode/mcp.json in the workspace:
json
"servers": {
"duckduckgo": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=duckduckgo",
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/hasdata-duckduckgo-mcp/)
- 来源
- awesome · https://github.com/HasData/duckduckgo-mcp
- 按领域浏览
- MCP 服务
- Traction
- 6 ★
- 收录来源
- 3 个独立来源
- 收录于
- 今天
更多 MCP 服务器
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。