返回 MCP 目录
public公开dns本地运行

深度搜索推理增强服务

通过集成DeepSeek R1的高级推理引擎以处理复杂推理任务,从而增强Claude推理能力的服务器。

article

README

🧠 DeepSeek MCP Server

DeepSeek MCP Server

🚀 Features

Enhance Claude's reasoning capabilities with the integration of DeepSeek R1's advanced reasoning engine. This server enables Claude to tackle complex reasoning tasks by leveraging the reasoning capabilites of deepseek r1 model.

  • DeepSeek R1 (The Brain) acts as the advanced reasoning planner:

    • Plans multi-step logical analysis strategies
    • Structures cognitive frameworks
    • Evaluates confidence and uncertainty
    • Monitors reasoning quality
    • Detects edge cases and biases
  • Claude (The Executor) implements the reasoning plans:

    • Executes the structured analysis
    • Implements planned strategies
    • Delivers final responses
    • Handles user interaction
    • Manages system integrations

🚀 Features

Advanced Reasoning Capabilities

  • Supports intricate multi-step reasoning tasks.
  • Designed for precision and efficiency in generating thoughtful responses.
  • 使用无问芯穹的API

Complete Setup guide

Prerequisites

  • Python 3.12 or higher
  • uv package manager
  • INFINI_API_KEY For DeepSeek (Sign up at 无问芯穹)
  1. Clone the Repository

    git clone https://github.com/moyu6027/deepseek-MCP-server.git
    cd deepseek-MCP-server
    
  2. Ensure UV is Set Up

    • Windows: Run the following in PowerShell:
      powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
      
    • Mac: Run the following:
      curl -LsSf https://astral.sh/uv/install.sh | sh
      
  3. Create Virtual Environment

    uv venv
    source .venv/bin/activate
    
  4. Install Dependencies

    uv add "mcp[cli]" httpx
    
  5. Set Up API Key

    echo "INFINI_API_KEY=your_key_here" > .env
    
  6. Install the Server

    mcp install server.py -f .env
    
  7. Configure MCP Server Edit the claude_desktop_config.json file to include the following configuration:

    {
        "mcpServers": {
            "deepseek-mcp": {
                "command": "uv",
                "args": [
                    "--directory",
                    "PATH_TO_DEEPSEEK_MCP_SERVER",
                    "run",
                    "server.py"
                ]
            }
        }
    }
    
  8. Run the Server

    uv run server.py
    

🛠 Usage

Starting the Server

The server automatically starts when used with Claude Desktop. Ensure Claude Desktop is configured to detect the MCP server.

Example Workflow

  1. Claude receives a query requiring advanced reasoning.
  2. The query is forwarded to DeepSeek R1 for processing.
  3. DeepSeek R1 returns structured reasoning wrapped in <ant_thinking> tags.
  4. Claude integrates the reasoning into its final response.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.


help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端