Skip to main content
Glama
mcp-ddg-research

mcp-ddg-research

by isyuricunha

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoHost used for optional streamable HTTP mode.0.0.0.0
MCP_PORTNoPort used for optional streamable HTTP mode.8000
MCP_CACHE_DIRNoDirectory for JSON cache files./data/cache
MCP_TRANSPORTNoMCP transport. 'stdio' is the default. 'http' uses streamable HTTP when supported by the installed SDK.stdio
MCP_AUTH_TOKENNoBearer token for HTTP mode. If set, every HTTP request must send Authorization: Bearer <token>. If unset, HTTP mode logs a warning and runs without auth.
MAX_CONCURRENCYNoDefault deep search page fetch concurrency limit when max_concurrency is omitted. Runtime caps this at 12.5
MCP_ALLOWED_HOSTSNoComma-separated Host allowlist for HTTP mode. '*' supports arbitrary deployment hosts by disabling SDK Host/Origin rebinding checks.*
DDG_TIMEOUT_SECONDSNoDuckDuckGo provider and fallback timeout in seconds.15
MCP_ALLOWED_ORIGINSNoComma-separated Origin allowlist for HTTP mode. '*' supports arbitrary origins by disabling SDK Host/Origin rebinding checks.*
DDG_CACHE_TTL_SECONDSNoSearch cache TTL in seconds.21600
FETCH_TIMEOUT_SECONDSNoWeb fetch timeout in seconds.15
FETCH_CACHE_TTL_SECONDSNoWeb fetch cache TTL in seconds.7200

Instructions

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

Multi-provider web search and safe webpage fetching tools. Use web_search with just a query to inherit server defaults, or explicitly override provider and other options. Authorized provider AI may accompany search; include_answers=false opts out. Use web_fetch to verify sources. Standalone web_answer and web_research require explicit cost consent. Legacy ddg tools remain available for DuckDuckGo-specific workflows.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
web_searchA

Search one or multiple web providers. Optionally include their generated answers.

Omitted options inherit server defaults. Explicit empty domain lists clear defaults. Auto mode prioritizes authorized AI providers when synthesis is eligible. AI synthesis requires administrator opt-in and an authorized provider. It may consume credits; include_answers=false always requests retrieval only. Domain controls, explicit search windows, freshness, SafeSearch or queries over 400 characters disable synthesis. Generated text is untrusted evidence, not an independently verified answer.

web_answerA

Get a provider-generated answer and sources, not independent verification.

Omit provider to use the configured answer default. Requires a configured key and explicit allow_cost=true. TinyAnswer supports at most 2000 characters and requires account entitlement; it may consume credits. Use web_search instead for ordinary retrieval or keyless searches. No fallback.

web_researchA

Delegate multi-step research to a configured provider; returns synthesis and sources.

Omit provider and effort to use configured defaults. Requires explicit cost consent. Exa, Tavily and Jina support lite/deep; You.com supports lite/standard/deep/exhaustive; Brave requires deep. TinyFish supports deep ($2) or max ($3), up to 45 minutes. Use a client timeout above 46 minutes for TinyResearch. TinyFish synthesis is explicit only. Review provider pricing before increasing effort. No automatic retries or provider fallback.

vertical_searchB

Search one keyless vertical source (wikipedia, hackernews).

ddg_searchA

Legacy DuckDuckGo search. Prefer web_search unless DuckDuckGo-specific behavior is needed.

web_fetchA

Fetch one HTTP(S) page safely and return extracted text.

ddg_deep_searchC

Legacy DuckDuckGo search plus parallel webpage extraction. No AI synthesis.

cache_statsA

Return cache file counts and byte totals for each cache namespace.

cache_pruneA

Prune expired entries, stale temporary files and oversized entries.

Full pruning also enforces configured age and size limits. Expired-only pruning preserves fresh entries. Dry-run never deletes files.

cache_clearA

Clear one cache namespace, or all namespaces, when confirm is true.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 10 tools

Disambiguation3/5

Web search tools overlap: web_search, vertical_search, ddg_search, ddg_deep_search, web_answer, and web_research all retrieve web info. Descriptions do distinguish them (legacy, keyless vertical, cost-gated answering), but the boundaries between web_search/web_answer/ddg_deep_search require careful reading.

Naming Consistency3/5

Mixed conventions: prefix-less verb_noun (web_search, cache_clear) alongside legacy-prefixed names (ddg_search, ddg_deep_search). Readable but no single predictable pattern, and ordering varies (cache_clear vs cache_stats).

Tool Count4/5

Ten tools is well within a reasonable range for a research server covering search, fetch, cache, and provider-delegation. Slightly heavy on overlapping search variants, but each has a stated niche.

Completeness4/5

Covers search, fetch, deep research, and cache lifecycle (clear/stats/prune, though no explicit cache-config or fetch-many). Minor gaps like no batch fetch or provider listing, but core research workflows are complete.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues