Skip to main content
Glama

deepseek-tool-mcp

DeepSeek tools MCP server: web search, web fetch, OCR, text-to-speech (TTS), and speech recognition (ASR), powered by the DeepSeek API.Build for every agent.

中文版

Add MCP to your Agent

Copy the prompt to help your agent to install deepseek-tool-mcp.

Install `deepseek-tool-mcp` via npx (`npx -y deepseek-tool-mcp@latest`), help me configure the MCP and register it in my agent. If I don't have a key for DeepSeek, please guide me to register a DeepSeek API key at https://platform.deepseek.com/

Related MCP server: mcp-deepseek-search

Tools

Tool

Description

Skill reference

deepseek_web_search

Search live web pages by keyword, returns titles, links, and summaries

skills/deepseek-tool/references/web-search.md

deepseek_web_fetch

Fetch a single web page, returns its content as Markdown

skills/deepseek-tool/references/web-fetch.md

deepseek_ocr

Recognize text in PDF / Word / PowerPoint / images, returns per-page results

skills/deepseek-tool/references/ocr.md

deepseek_tts

Convert text to natural speech, returns audio (full-segment synthesis)

skills/deepseek-tool/references/tts.md

deepseek_asr

Transcribe an audio file to text

skills/deepseek-tool/references/asr.md

OCR and ASR take files as fileBase64 (data URL prefix supported) plus fileName (keep the extension). TTS returns MCP audio content (audio/wav or audio/pcm).

Use as an agent skill

This repo ships skills/deepseek-tool/SKILL.md in the standard agent-skills layout.

From GitHub:

npx skills add arkpln/deepseek-tool-mcp --skill deepseek-tool

From an installed npm package:

npm install deepseek-tool-mcp
npx skills sync -y

Environment variables

Variable

Required

Default

Description

DEEPSEEK_API_KEY

Yes

-

Apply at https://platform.deepseek.com

DEEPSEEK_BASE_URL

No

https://api.deepseek.com

API endpoint, can point to a self-hosted proxy

TRANSPORT

No

stdio

stdio or http

PORT

No

3000

Listen port when TRANSPORT=http

HOST

No

127.0.0.1

Listen address when TRANSPORT=http

MCP_PATH

No

/mcp

MCP endpoint path when TRANSPORT=http

For local development, copy .env.example to .env and fill it in.

Run

pnpm install
pnpm typecheck
pnpm build

# stdio mode (default)
pnpm start

# HTTP mode
TRANSPORT=http PORT=3000 pnpm start
# Health check: GET /healthz; MCP endpoint: POST /mcp

Connect from an MCP client

stdio mode (recommended, auto-updates via npm):

{
  "mcpServers": {
    "deepseek-tool": {
      "command": [
        "npx",
        "-y",
        "deepseek-tool-mcp@latest"
      ],
      "environment": {
        "DEEPSEEK_API_KEY": "sk-...",
        "DEEPSEEK_BASE_URL": "https://api.deepseek.com"
      }
    }
  }
}

HTTP mode (connect via Streamable HTTP):

TRANSPORT=http PORT=3000 DEEPSEEK_API_KEY=sk-... node dist/index.js

Verify

pnpm verify

Without an API key it runs offline checks (tool registration and input validation); with DEEPSEEK_API_KEY set it additionally performs one live search call.

Publish

Releases are published automatically. Bump version in package.json, merge to master, then push a matching tag:

git tag v1.1.2
git push origin v1.1.2

The publish workflow then typechecks, builds, and publishes to npmjs via trusted publishing (no OTP needed). The tag must match the version in package.json, otherwise the workflow fails. Manual publishing with pnpm build && pnpm publish still works but requires an OTP.

License

MIT, see LICENSE.

Disclaimer

  1. This project is not an official DeepSeek repository or service. The DeepSeek logo and brand belong to Hangzhou DeepSeek Artificial Intelligence Basic Technology Research Co., Ltd. (杭州深度求索人工智能基础技术研究有限公司) and may not be used for commercial purposes without authorization. The banner image of this repository was generated with Google Gemini Nano Banana 2.

  2. This project must not be used for any illegal or criminal activities.

  3. This project heavily depends on the official DeepSeek API service, and this repository assumes no joint liability for issues arising from it (such as service changes, outages, or billing disputes).

Available Tools

5 tools
deepseek_asrDeepSeek ASRA

把音频文件转写为文字。支持 16 位 PCM WAV 或 Ogg Opus,单次最大 8 MiB、最长 120 秒,语种自动识别。

Inputs: fileName (required), fileBase64 (required). Returns: text, request_id, duration_ms

deepseek_ocrDeepSeek OCRA

识别 PDF、Word、PowerPoint 文档或图片中的文字,按页返回识别结果。文件通过 base64 传入,不会存入 Files API。

Inputs: fileName (required), fileBase64 (required), purpose. Returns: id, pages, purpose, page_count

deepseek_ttsDeepSeek TTSB

把文字合成为自然语音,一次调用返回完整音频,支持男女两种音色。

Inputs: text (required), format, voice_id, filter_markdown.

deepseek_web_fetchDeepSeek Web FetchC

使用 DeepSeek Fetch API 抓取单个网页,以 Markdown 文本返回页面内容。

Inputs: url (required). Returns: title, content

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a clearly distinct capability: web fetch, web search, OCR, TTS, and ASR. There is no overlap — fetch retrieves raw page content, search returns indexed results, and the three media tools operate on separate input/output modalities (documents→text, text→audio, audio→text). An agent cannot reasonably confuse any pair.

    Naming Consistency5/5

    All five tools follow one predictable pattern: a shared 'deepseek_' prefix plus a lowercase snake_case capability label (web_fetch, web_search, ocr, tts, asr). The verb/noun semantics are consistent and the prefix makes provenance obvious.

    Tool Count4/5

    Five tools is on the lean side but each one corresponds to a genuinely separate capability, so nothing feels padded. It is slightly under-scoped for a general 'tool' server — there are no batch or utility helpers — but the count matches the stated purpose well.

    Completeness4/5

    The surface covers the natural multimodal loop: search → fetch → OCR → TTS → ASR, with documented input constraints (base64, size/duration limits). Minor gaps remain — no batch fetch, no chunked output retrieval for long pages, and the OCR description references a 'Files API' that is not exposed here, which is a mild dead end.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Exposes DeepSeek's Search and Fetch REST APIs as two read-only MCP tools, letting any MCP-capable agent run ranked web searches and retrieve individual pages as truncated Markdown. Works with whichever model the host runs, over stdio or Streamable HTTP.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Exposes DeepSeek's web search and page-fetch tools to any MCP client, letting any LLM run searches with quality signals like rerank score and source authority, plus advanced query syntax. It also retrieves single pages as Markdown, with built-in throttling, retries, and size-conscious summaries.
      2
      159 npm
      3
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP clients such as Claude Code to run real-time web searches and fetch public web pages as Markdown through DeepSeek's official search and fetch APIs, with result pagination and response caching. Runs over stdio and only requires a DeepSeek API key, needing no browser, Docker, or database.
      2
      1
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables MCP clients to run web searches that return ranked results with titles, URLs, snippets, summaries, and optional extracted page content, and to fetch HTTP or HTTPS pages as Markdown. It runs over stdio as a zero-dependency Python server that uses DeepSeek's official APIs and any supported MCP client.
      2
      3
      MIT