Skip to main content
Glama

deepseek-tool-mcp

DeepSeek 工具 MCP 服务:网页搜索、网页抓取、OCR、语音合成(TTS)、语音识别(ASR),通过 DeepSeek API 实现。

工具列表

工具

说明

deepseek_web_search

按关键词搜索实时网页,返回标题、链接与摘要

deepseek_web_fetch

抓取单个网页,以 Markdown 返回正文

deepseek_ocr

识别 PDF / Word / PowerPoint / 图片中的文字,按页返回

deepseek_tts

文字转语音,返回音频(整段合成)

deepseek_asr

音频文件转写为文字

OCR 与 ASR 的文件参数为 fileBase64(支持 data URL 前缀)加 fileName(保留扩展名)。 TTS 返回 MCP 音频内容(audio/wav 或 audio/pcm)。

Related MCP server: mcp-deepseek-search

环境变量

变量

必填

默认值

说明

DEEPSEEK_API_KEY

是

-

在 https://platform.deepseek.com 申请

DEEPSEEK_BASE_URL

否

https://api.deepseek.com

接口地址,可填写自建代理

TRANSPORT

否

stdio

stdio 或 http

PORT

否

3000

TRANSPORT=http 时的监听端口

HOST

否

127.0.0.1

TRANSPORT=http 时的监听地址

MCP_PATH

否

/mcp

TRANSPORT=http 时的 MCP 端点路径

本地开发可复制 .env.example 为 .env 填写。

运行

pnpm install
pnpm typecheck
pnpm build

# stdio 模式(默认)
pnpm start

# HTTP 模式
TRANSPORT=http PORT=3000 pnpm start
# 健康检查:GET /healthz;MCP 端点:POST /mcp

接入 MCP 客户端

stdio 模式:

{
  "mcpServers": {
    "deepseek-tool": {
      "command": "node",
      "args": ["./dist/index.js"],
      "env": {
        "DEEPSEEK_API_KEY": "sk-...",
        "DEEPSEEK_BASE_URL": "https://api.deepseek.com"
      }
    }
  }
}

HTTP 模式(以 Streamable HTTP 接入):

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

校验

pnpm verify

无 API Key 时执行离线校验(工具注册与参数校验);设置 DEEPSEEK_API_KEY 后追加一次真实搜索调用。

发布到 npmjs

pnpm build
npm publish

发布内容仅包含 dist 与 README.md,安装后可通过 npx deepseek-tool-mcp 启动。

License

MIT,见 LICENSE。

Tool Schema Changelog

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

Loading tool schema changelog…

    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
      781 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