Skip to main content
Glama
DuckDuckGo MCP Server

DuckDuckGo MCP Server

by Leonx01

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DDG_REGIONNoDefault region/language code, for example us-en, cn-zh, jp-ja, or wt-wt.
DDG_SAFE_SEARCHNoSafeSearch setting. Valid values are STRICT, MODERATE (default), or OFF.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchA

Search the web using DuckDuckGo. Returns a list of results with titles, URLs, and snippets. Use this to find current information, research topics, or locate specific websites. For best results, use specific and descriptive search queries.

Args: query: The search query string. Be specific for better results (e.g., 'Python asyncio tutorial' rather than 'Python'). max_results: Maximum number of results to return, between 1 and 20 (default: 10). region: Optional region/language code to localize results. Examples: 'us-en' (USA/English), 'uk-en' (UK/English), 'de-de' (Germany/German), 'fr-fr' (France/French), 'jp-ja' (Japan/Japanese), 'cn-zh' (China/Chinese), 'wt-wt' (no region). Leave empty to use the server default. ctx: MCP context for logging.

fetch_contentA

Fetch and extract the main text content from a webpage. Strips out navigation, headers, footers, scripts, and styles to return clean readable text. Use this after searching to read the full content of a specific result. Supports pagination for long pages via start_index and max_length.

Args: url: The full URL of the webpage to fetch (must start with http:// or https://). start_index: Character offset to start reading from (default: 0). Use this to paginate through long content. max_length: Maximum number of characters to return (default: 8000). Increase for more content per request or decrease for quicker responses. ctx: MCP context for logging.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 2 tools

Disambiguation5/5

The two tools serve clearly different stages of a workflow: search discovers URLs and fetch_content reads a chosen URL. There is no overlap in inputs or outputs, and the descriptions explicitly state the sequencing ('Use this after searching').

Naming Consistency4/5

Both names are lowercase snake_case verbs, so the convention is coherent. However, 'search' is a bare verb while 'fetch_content' is verb_noun, a minor asymmetry.

Tool Count3/5

Two tools is thin even for a focused search server; the search-and-read loop is minimal but nothing else (news, instant answers, site-scoped search) is exposed as a distinct capability. Each tool does earn its place, so it is not an extreme mismatch.

Completeness4/5

The core discover-then-read lifecycle is fully covered, including pagination parameters for long pages and region/max_results controls on search. Some expected search variants (news, images) are absent, but agents can work around this with query phrasing.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues