Deepseek R1

v1.0.0Coding Agentsstable

A Node.js/TypeScript implementation of a Model Context Protocol server for the Deepseek R1 language model, optimized for reasoning tasks with a large context window and fully integrated with Claude Desktop.

deepseek-r1-mcp-servermcpai-integration
Share:
70
Stars
0
Downloads
0
Weekly
0/5

What is Deepseek R1?

Deepseek R1 is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to node.js/typescript implementation of a model context protocol server for the deepseek r1 language model, optimized for reasoning tasks with a large context window and fully integrated with claude desk...

A Node.js/TypeScript implementation of a Model Context Protocol server for the Deepseek R1 language model, optimized for reasoning tasks with a large context window and fully integrated with Claude Desktop.

This server falls under the Coding Agents category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • A Node.js/TypeScript implementation of a Model Context Proto

Use Cases

Leverage Deepseek R1 model for reasoning-heavy tasks.
Integrate advanced reasoning capabilities into Claude.
Utilize large context window for complex problem solving.
kamelirzouni

Maintainer

LicenseMIT License
Languagejavascript
Versionv1.0.0
UpdatedApr 15, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx deepseek-r1-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Deepseek R1

Deepseek R1 MCP Server bridges Claude Desktop with DeepSeek's reasoning-optimized R1 language model via a lightweight Node.js/TypeScript MCP server. When installed, it exposes a single deepseek_r1 tool that sends prompts to the DeepSeek API and returns the model's responses, giving Claude users access to a second model specialized in complex chain-of-thought reasoning tasks. This is useful for tasks where cross-model validation or deeper logical reasoning beyond Claude's native capabilities is desired.

Prerequisites

  • Node.js v18 or higher installed
  • npm package manager
  • A valid DeepSeek API key obtained from the DeepSeek platform (platform.deepseek.com)
  • Claude Desktop application installed
1

Clone the repository

Clone the MCP server repository to your local machine.

git clone https://github.com/kamelirzouni/MCP-server-Deepseek_R1.git
cd MCP-server-Deepseek_R1
2

Install dependencies

Install all required Node.js packages listed in package.json.

npm install
3

Configure your DeepSeek API key

Copy the example environment file and add your DeepSeek API key. This key is required to authenticate requests to the DeepSeek API.

cp .env.example .env
# Edit .env and set:
# DEEPSEEK_API_KEY=your_deepseek_api_key_here
4

Build the TypeScript server

Compile the TypeScript source into JavaScript so it can be run by Node.

npm run build
5

Configure Claude Desktop

Add the server to your Claude Desktop configuration file. Use the absolute path to the built dist/index.js file.

{
  "mcpServers": {
    "deepseek-r1": {
      "command": "node",
      "args": ["/absolute/path/to/MCP-server-Deepseek_R1/dist/index.js"],
      "env": {
        "DEEPSEEK_API_KEY": "your_deepseek_api_key_here"
      }
    }
  }
}

Deepseek R1 Examples

Client configuration

Claude Desktop configuration for the DeepSeek R1 MCP server with the API key provided as an environment variable.

{
  "mcpServers": {
    "deepseek-r1": {
      "command": "node",
      "args": ["/Users/you/projects/MCP-server-Deepseek_R1/dist/index.js"],
      "env": {
        "DEEPSEEK_API_KEY": "sk-xxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Prompts to try

Prompts that invoke the deepseek_r1 tool for reasoning-heavy tasks.

- "Use DeepSeek R1 to solve this logic puzzle: three people each tell one truth and one lie..."
- "Ask DeepSeek R1 to prove why the square root of 2 is irrational, step by step"
- "Have DeepSeek R1 analyze this algorithm for time complexity and suggest optimizations"
- "Use the deepseek_r1 tool with temperature 0.1 to generate a deterministic plan for migrating a monolith to microservices"

Troubleshooting Deepseek R1

Server fails to start with 'Cannot find module' error

Run npm run build before starting. The dist/ folder must exist — the server runs compiled JavaScript, not TypeScript source directly.

API calls return 401 or 'Invalid API key' errors

Confirm your DEEPSEEK_API_KEY is correctly set in the .env file and matches a key from platform.deepseek.com. Restart Claude Desktop after any changes to the config or environment variables.

Responses are cut off before completing

The max_tokens parameter defaults to 8192. For very long reasoning chains, this may be insufficient. The deepseek-reasoner model supports up to 8192 output tokens — break complex problems into smaller sub-prompts if needed.

Frequently Asked Questions about Deepseek R1

What is Deepseek R1?

Deepseek R1 is a Model Context Protocol (MCP) server that node.js/typescript implementation of a model context protocol server for the deepseek r1 language model, optimized for reasoning tasks with a large context window and fully integrated with claude desktop. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Deepseek R1?

Follow the installation instructions on the Deepseek R1 GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Deepseek R1?

Deepseek R1 works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Deepseek R1 free to use?

Yes, Deepseek R1 is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Coding Agents MCP Servers

Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "deepseek-r1-mcp-server": { "command": "npx", "args": ["-y", "deepseek-r1-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Deepseek R1?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides