Skip to main content
Glama
DeepSeek Search MCP

DeepSeek Search MCP

by ky-chen23

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEEPSEEK_API_KEYYesDeepSeek API Key used for Bearer authentication. Required.
DEEPSEEK_TIMEOUTNoTimeout for a single request, in seconds.60
DEEPSEEK_BASE_URLNoAPI root address (can point to a mock service for testing).https://api.deepseek.com
DEEPSEEK_MAX_RETRIESNoNumber of additional retries for retryable errors (total attempts = retries + 1).2
DEEPSEEK_MAX_RETRY_DELAYNoUpper limit in seconds for a single retry wait; also caps Retry-After.8
DEEPSEEK_RETRY_BASE_DELAYNoBase delay in seconds for exponential backoff.0.5

Instructions

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

DeepSeek Web Search & Fetch provide real-time web access.

  • deepseek_search: search the web and get ranked, structured results (title, url, short snippet, long summary, optional full page content, publish date, authority).

  • deepseek_fetch: fetch one web page and get its main content as clean Markdown.

Workflow: search first; read the summary fields; only call deepseek_fetch for a page whose full text you actually need. Cite sources by title and URL. Search supports operators such as site:, -site:, -word, "exact phrase", lang:zh,en, after:2025-01-01, before:2026-06-01. Each successful request is billed per call (not per result), so request up to 50 results in one search rather than issuing many small searches.

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
deepseek_searchA

Search the web with DeepSeek's own search engine and return ranked, structured results.

Each result has:

  • rerank_score: 0-3 overall ranking score; >= 1.5 means high quality.

  • title, url: page title and link.

  • snippet: ~100-200 chars, meant for display; summary: ~600-800 chars, meant for LLM reading.

  • content: full page text in Markdown; empty unless need_content=true.

  • site_name, site_icon, date (RFC 3339 UTC or null), authority (0-4; >= 3 very authoritative).

Search syntax (passed through to the engine, combinable): site:github.com restrict to a site (use OR to allow several) -site:example.com exclude a site -word / -"exact phrase" exclude pages containing a word/phrase "exact phrase" exact match lang:zh,en restrict language(s) after:2025 / after:2025-01-01 published after a date before:2026 / before:2026-06-01 published before a date

Billing is per successful request regardless of count, so prefer one search with count=10-50 over several tiny ones. Keep need_content=false and read summary unless you truly need full pages; content can be very large.

deepseek_fetchA

Fetch a single web page through DeepSeek and return its main content as clean Markdown.

Use this after deepseek_search when summaries are not enough. The URL must be http:// or https://, contain a host, have no embedded credentials or whitespace, and be at most 8192 characters. URLs pointing at localhost, private, link-local, multicast or reserved addresses are rejected. Some pages cannot be fetched (site blocks, unsupported content, no extractable body); HTTP 404 usually means no usable content was available. Content longer than max_chars is truncated (set max_chars=0 for no limit). Each successful fetch is billed as one request; failures are not billed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.3/5.0

Scored across 2 tools

Disambiguation5/5

deepseek_search (query the engine, return ranked results) and deepseek_fetch (retrieve a single known URL as Markdown) are cleanly separated discovery vs. retrieval operations with no overlap. The fetch description even states explicitly when to use it after search, eliminating misselection risk.

Naming Consistency5/5

Both tools follow the same predictable pattern: a shared `deepseek_` namespace prefix plus a short, unambiguous verb (search, fetch). No mixed casing or verb-style drift.

Tool Count4/5

Two tools is thin in absolute terms but this is the canonical minimal surface for a search server — one discovery tool, one retrieval tool, each earning its place with no bloat. Slight under-coverage relative to a fuller web-research surface, but nothing is superfluous.

Completeness4/5

The domain (web search + page retrieval) is essentially covered end-to-end: rich query syntax, ranking/authority metadata, content extraction, truncation control, and SSRF-style URL validation. Minor gaps remain — no pagination/offset tool to page deeper into results and no batch fetch — but agents can work around both by re-querying or looping fetches.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues