Back to Browse

Deepseek MCP Server

Developer ToolsModerate7.6MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server for DeepSeek web Search & Fetch: scored web search + page-to-Markdown fetch

About

MCP server for DeepSeek web Search & Fetch: scored web search + page-to-Markdown fetch

Security Report

7.6
Moderate7.6Low Risk

This MCP server wraps DeepSeek's official search and fetch endpoints and reads its API key from the DEEPSEEK_API_KEY environment variable, with no hardcoded credentials found. Its network access is limited to the DeepSeek API base (overridable via DEEPSEEK_API_BASE), and the fetch tool rejects URLs with embedded credentials. Minor observations are the user-overridable API base URL, which could redirect the bearer token if misconfigured, and the lack of input sanitization on the free-form localization parameter, but neither is a significant concern. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.

4 files analyzed · 5 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

DeepSeek API key from https://platform.deepseek.comRequired

Environment variable: DEEPSEEK_API_KEY

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-matthewyin-deepseek-mcp": {
      "env": {
        "DEEPSEEK_API_KEY": "your-deepseek-api-key-here"
      },
      "args": [
        "-y",
        "mcp-deepseek-search"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

mcp-deepseek-search

npm version License: MIT MCP Registry

An Model Context Protocol server that exposes DeepSeek's web Search and Fetch tools to any MCP client — Claude Desktop, Claude Code, Cursor, Cline, ZCode, and more.

Works with any LLM: the search runs on DeepSeek's own search engine, but the results are returned to your existing model as ordinary tool output.

Features

  • deepseek_search — web search backed by DeepSeek's search engine, with two quality signals per result:
    • rerank_score (0–3): relevance; ≥ 1.5 = highly relevant
    • authority (0–4, -1 unknown): source authority; ≥ 3 = highly authoritative
  • deepseek_fetch — fetch a single page and get its main content as Markdown
  • Powerful query syntax: site:, -site:, -term, "exact phrase", -"phrase", lang:zh,en, after:YYYY-MM-DD, before:YYYY-MM-DD
  • Built-in throttling (stays under the 5 QPS account limit) and automatic retry on 408/429/5xx
  • Response-size friendly: summaries by default, full page text only on request

Setup

  1. Get an API key at platform.deepseek.com (web tools are billed at ¥5 per 1,000 successful calls, charged to your DeepSeek account — failed calls and empty results are not billed).
  2. Add the server to your MCP client config:

Claude Desktop / Cursor / Cline / most clients

{
  "mcpServers": {
    "deepseek-web": {
      "command": "npx",
      "args": ["-y", "mcp-deepseek-search"],
      "env": {
        "DEEPSEEK_API_KEY": "sk-your-key-here"
      }
    }
  }
}

ZCode

Add the same mcpServers block to your ZCode MCP settings (Settings → MCP → Add server).

From source

git clone https://github.com/Matthewyin/deepseek-mcp
cd deepseek-mcp && npm install && npm run build
node dist/index.js   # stdio MCP server

Tools

deepseek_search

ParameterTypeRequiredDescription
querystringyes1–128 chars; supports the search syntax above
countintegerno1–50 results, default 10 (does not affect billing)
ori_questionstringnoThe user's original question — improves intent matching when the query was rewritten
localizationstringnoUser IP to localize results (pass only with consent)
need_contentbooleannoInclude full page text per result (each truncated at 8,000 chars). Default false

Each result includes title, url, snippet (short, for display), summary (long, for feeding to a model), rerank_score, authority, site_name, date, and optionally content.

deepseek_fetch

ParameterTypeRequiredDescription
urlstringyesPlain http(s) URL, max 8,192 chars, no embedded credentials

Returns title + Markdown content (truncated at 30,000 chars).

Example

Ask your agent: "用 deepseek_search 搜一下最近一周关于 MCP 的大新闻,挑权威来源,再用 deepseek_fetch 读全文总结" — or in English: "Search for recent DeepSeek news, keep only results with authority ≥ 3, fetch the top one and summarize."

Notes & limits

  • Rate limit is 5 QPS per DeepSeek account (shared across all your API keys); the server throttles automatically.
  • HTTP 402 means your DeepSeek balance ran out; 401 means the key is invalid.
  • Page content depends on the target site's availability and access policy.
  • This is an unofficial community wrapper; not affiliated with DeepSeek.

Development

npm install
npm run build
DEEPSEEK_API_KEY=sk-... npm test   # end-to-end test against the real API

Releases are automated via GitHub Actions: pushing a v* tag publishes to npm and the official MCP Registry.

License

MIT

Reviews

No reviews yet

Be the first to review this server!