trackmcp
Back to directory
ruixingshi

deepseek-thinker-mcp

View on GitHub

A MCP provider Deepseek reasoning content to MCP-enabled AI Clients, like Claude Desktop. Supports access to Deepseek's CoT from the Deepseek API service or a local Ollama server.

63 stars JavaScriptAI & Machine Learning Updated Oct 16, 2025

Documentation

Deepseek Thinker MCP Server

smithery badge

A MCP (Model Context Protocol) provider Deepseek reasoning content to MCP-enabled AI Clients, like Claude Desktop. Supports access to Deepseek's thought processes from the Deepseek API service or from a local Ollama server.

Core Features

  • 🤖 Dual Mode Support
    • OpenAI API mode support
    • Ollama local mode support
  • 🎯 Focused Reasoning
    • Captures Deepseek's thinking process
    • Provides reasoning output

Available Tools

get-deepseek-thinker

  • Description: Perform reasoning using the Deepseek model
  • Input Parameters:
    • `originPrompt` (string): User's original prompt
  • Returns: Structured text response containing the reasoning process

Environment Configuration

OpenAI API Mode

Set the following environment variables:

bash
API_KEY=
BASE_URL=

Ollama Mode

Set the following environment variable:

bash
USE_OLLAMA=true

Usage

Integration with AI Client, like Claude Desktop

Add the following configuration to your `claude_desktop_config.json`:

json
{
  "mcpServers": {
    "deepseek-thinker": {
      "command": "npx",
      "args": [
        "-y",
        "deepseek-thinker-mcp"
      ],
      "env": {
        "API_KEY": "",
        "BASE_URL": ""
      }
    }
  }
}

Using Ollama Mode

json
{
  "mcpServers": {
    "deepseek-thinker": {
      "command": "npx",
      "args": [
        "-y",
        "deepseek-thinker-mcp"
      ],
      "env": {
        "USE_OLLAMA": "true"
      }
    }
  }
}

Local Server Configuration

json
{
  "mcpServers": {
    "deepseek-thinker": {
      "command": "node",
      "args": [
        "/your-path/deepseek-thinker-mcp/build/index.js"
      ],
      "env": {
        "API_KEY": "",
        "BASE_URL": ""
      }
    }
  }
}

Development Setup

bash
# Install dependencies
npm install

# Build project
npm run build

# Run service
node build/index.js

FAQ

Response like this: "MCP error -32001: Request timed out"

This error occurs when the Deepseek API response is too slow or when the reasoning content output is too long, causing the MCP server to timeout.

Tech Stack

  • TypeScript
  • @modelcontextprotocol/sdk
  • OpenAI API
  • Ollama
  • Zod (parameter validation)

License

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

Frequently asked questions

What is deepseek-thinker-mcp?

deepseek-thinker-mcp is A MCP provider Deepseek reasoning content to MCP-enabled AI Clients, like Claude Desktop. Supports access to Deepseek's CoT from the Deepseek API service or a local Ollama server.

How do I install deepseek-thinker-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is deepseek-thinker-mcp open source?

Yes — it is hosted on GitHub at https://github.com/ruixingshi/deepseek-thinker-mcp and has 63 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP