deepseek-thinker-mcp

This repository provides a Model Context Protocol (MCP) server, enabling AI clients like Claude Desktop to access Deepseek's reasoning process from the Deepseek API or a local Ollama server. It

52
7

Deepseek Thinker MCP Server

This project provides a Model Context Protocol (MCP) server that enables AI clients, such as Claude Desktop, to access Deepseek's reasoning process. It supports two modes: accessing Deepseek's API service or using a local Ollama server.

Core Features

  • Dual Mode Support: Supports both OpenAI API and local Ollama modes.
  • Focused Reasoning: Captures and provides Deepseek's thinking process as structured output.

get-deepseek-thinker

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

Environment Configuration

Configuration instructions are provided for both OpenAI API mode (using API_KEY and BASE_URL) and Ollama mode (using USE_OLLAMA=true).

Usage

Configuration examples are provided for integrating with AI clients like Claude Desktop, demonstrating how to set up the mcpServers configuration with the necessary command, arguments, and environment variables for both OpenAI API and Ollama modes. Local server configuration is also provided.

Development Setup

Instructions for installing dependencies (npm install), building the project (npm run build), and running the service (node build/index.js) are included.

Tech Stack

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

License

MIT License.

Repository

RU
ruixingshi

ruixingshi/deepseek-thinker-mcp

Created

February 13, 2025

Updated

March 26, 2025

Language

JavaScript

Category

AI