Skip to main content
Glama
deepseek-search-mcp
by yimchn

deepseek-search-mcp

极简、透明的 MCP Server,直接封装 DeepSeek 官方独立 REST 接口:

  • POST /v1/tools/search → MCP 工具 deepseek_search

  • POST /v1/tools/fetch → MCP 工具 deepseek_fetch

仅依赖 mcp 与 httpx,可通过 uvx 在任意机器一行启动,无需手动 clone 或安装环境。

环境变量

变量名

必填

说明

DEEPSEEK_API_KEY

是

DeepSeek 官方 API Key

DEEPSEEK_API_BASE

否

默认 https://api.deepseek.com

DEEPSEEK_TIMEOUT

否

请求超时时间(秒),默认 30

Related MCP server: mcp-deepseek-search

在 Claude Code 中接入

claude mcp add deepseek-search -e DEEPSEEK_API_KEY=sk-your-key -- \
  uvx --from git+https://github.com/yimchn/deepseek-search-mcp deepseek-search-mcp

或写入 ~/.claude/.mcp.json:

{
  "mcpServers": {
    "deepseek-search": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/yimchn/deepseek-search-mcp",
        "deepseek-search-mcp"
      ],
      "env": {
        "DEEPSEEK_API_KEY": "sk-your-key"
      }
    }
  }
}

在 OpenCode v2 中接入

在 ~/.config/opencode/opencode.json 中添加 mcp 配置:

{
  "mcp": {
    "deepseek-search": {
      "type": "local",
      "command": [
        "uvx",
        "--from",
        "git+https://github.com/yimchn/deepseek-search-mcp",
        "deepseek-search-mcp"
      ],
      "environment": {
        "DEEPSEEK_API_KEY": "{env:DEEPSEEK_API_KEY}"
      }
    }
  }
}

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
      159 npm
      3
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables web search and page fetching through the DeepSeek Search and Fetch APIs, exposing search and fetch tools to MCP clients. Supports paginated content retrieval with cursors so long pages can be read in chunks without repeating upstream requests.
      2
      AGPL 3.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Exposes DeepSeek's search and fetch APIs as two MCP tools, letting any MCP-compatible AI agent perform web search with relevance and authority scores, then retrieve chosen pages as Markdown.
      MIT