Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

DeepSeek Web Search

@matthewyinMCP server · External

MCP server for DeepSeek tools: scored web search, page-to-Markdown fetch, OCR, ASR and TTS

Web searchv1.1.3MITJavaScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: creates or changes data: records, files, settings.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npmmcp-deepseek-searchv1.1.3

Run

npx -y mcp-deepseek-search

MCP client config

{
  "mcpServers": {
    "deepseek-web-search": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-deepseek-search"
      ]
    }
  }
}
README5 min read

mcp-deepseek-search

简体中文

npm version License: MIT MCP Registry

An MCP server for using DeepSeek's Search, Fetch, OCR, ASR and TTS tools in Claude Code, Codex and ZCode.

Works with any LLM: the tools run on DeepSeek's APIs, 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
  • deepseek_ocr — extract text from PDF / Word / PPT / images (incl. scanned pages), per page
  • deepseek_asr — transcribe 16-bit PCM WAV or Ogg Opus audio to text
  • deepseek_tts — synthesize speech (stella female / tide male) to a local wav/pcm file
  • Powerful query syntax: site:, -site:, -term, "exact phrase", -"phrase", lang:zh,en, after:YYYY-MM-DD, before:YYYY-MM-DD
  • Independent throttling for Search and Fetch, with automatic retry on 408/429 and selected 5xx errors
  • Response-size friendly: summaries by default, full page text only on request

Setup

Get an API key at platform.deepseek.com. Web tools cost ¥5 per 1,000 successful calls. Failed calls and empty results are free.

Claude Code and ZCode

For Claude Code, add this block to your project's .mcp.json and replace the placeholder with ${DEEPSEEK_API_KEY} to read the key from your environment. In ZCode, open Settings → MCP → Add server and replace the placeholder with your key.

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

Codex

Add this block to ~/.codex/config.toml and replace the placeholder with your key.

toml
[mcp_servers.deepseek-web]
command = "npx"
args = ["-y", "mcp-deepseek-search"]

[mcp_servers.deepseek-web.env]
DEEPSEEK_API_KEY = "sk-your-key-here"

From source

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

Tools

ParameterTypeRequiredDescription
querystringyes1–128 Unicode characters, with at least one non-whitespace character
countintegerno1–50 results, default 10 (does not affect billing)
ori_questionstring or nullnoThe user's original question, 1–128 Unicode characters. Omit it or pass null when unavailable
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).

deepseek_ocr

ParameterTypeRequiredDescription
file_pathstringyesLocal path to a PDF, Word, PowerPoint or image file
purposestringnotext_recognition (default) or rich_layout_recognition (page-by-page layout-aware recognition)

Returns per-page text (each page truncated at 8,000 chars) with page_count and finish_reason per page. DeepSeek recognition errors are returned as tool errors, including errors sent in an HTTP 200 response.

deepseek_asr

ParameterTypeRequiredDescription
file_pathstringyesLocal path to 16-bit PCM WAV or Ogg Opus audio

Returns text and duration_ms.

deepseek_tts

ParameterTypeRequiredDescription
textstringyesThe text to speak
voice_idstringnostella (female, default) or tide (male)
formatstringnowav (default) or raw pcm (24 kHz, 16-bit signed, mono)
output_pathstringnoPath for a new audio file. Existing paths are rejected. Defaults to a file in a private temp directory

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

  • DeepSeek limits Search to 100 QPS and Fetch to 25 QPS separately per account. Fetch also has a per-domain limit. Each MCP server process spaces Search and Fetch attempts, including retries, independently. Multiple processes using the same account share DeepSeek's limits. DeepSeek rate limits
  • 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.
  • OCR / ASR / TTS have their own file-format and billing rules — see the API docs for details.
  • OCR and ASR accept regular files up to 100 MiB and 8 MiB, respectively. Each server process handles one file upload at a time. If an upload is already running, retry after it finishes.
  • The server allows 185 seconds per OCR HTTP attempt, including the upstream 180-second operation budget and connection time. ASR allows up to 11 minutes per HTTP attempt so the 10-minute upstream upload window leaves time for recognition. MCP clients may have shorter tool timeouts. The server only retries uploads after a retryable HTTP status. Local timeouts or interrupted connections have an unknown outcome, so the file is not automatically sent again. OCR limits · ASR limits
  • This is an unofficial community wrapper; not affiliated with DeepSeek.

Development

bash
npm install
npm run build
npm run test:contract           # Search, OCR and ASR API contract tests using simulated responses
npm run test:security           # file tool regression tests with a local mock API
DEEPSEEK_API_KEY=sk-... npm test   # end-to-end test against the real API

Pushing a v* tag starts a GitHub Actions release. After publishing to npm, the workflow waits for the exact package version to appear in the public npm registry before publishing server.json to the official MCP Registry. The npm visibility check times out after 10 minutes.

License

MIT

Similar modules

Browse Web search