Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP

by newideas99

114 523 downloads Not rated yet MIT
GitHub

About

🧠 MCP server implementing RAT (Retrieval Augmented Thinking) - combines DeepSeek's reasoning with GPT-4/Claude/Mistral responses, maintaining conversation context between interactions.

Details

License
MIT

Explore

- Two-Stage Processing:
- Uses DeepSeek R1 for initial reasoning (50k character context)
- Uses Claude 3.5 Sonnet for final response (600k character context)
- Both models accessed through OpenRouter's unified API
- Injects DeepSeek's reasoning tokens into Claude's context

- Smart Conversation Management:
- Detects active conversations using file modification times
- Handles multiple concurrent conversations
- Filters out ended conversations automatically
- Supports context clearing when needed

- Optimized Parameters:
- Model-specific context limits:
DeepSeek: 50,000 characters for focused reasoning
Claude: 600,000 characters for comprehensive responses
- Recommended settings:
temperature: 0.7 for balanced creativity
top_p: 1.0 for full probability distribution
* repetition_penalty: 1.0 to prevent repetition

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To install DeepSeek Thinking with Claude 3.5 Sonnet for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @newideas99/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP --client claude

1. Clone the repository:

git clone https://github.com/yourusername/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP.git
cd Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP

2. Install dependencies:

npm install

3. Create a .env file with your OpenRouter API key:


DEEPSEEK_MODEL=deepseek/deepseek-r1 # DeepSeek model for reasoning
CLAUDE_MODEL=anthropic/claude-3.5-sonnet:beta # Claude model for responses

4. Build the server:

npm run build

Add to your Cline MCP settings (usually in ~/.vscode/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json):

{
  "mcpServers": {
    "deepseek-claude": {
      "command": "/path/to/node",
      "args": ["/path/to/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP/build/index.js"],
      "env": {
        "OPENROUTER_API_KEY": "your_key_here"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

The server provides two tools for generating and monitoring responses:

The server provides two tools for generating and monitoring responses:

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "deepseek-thinking-claude-3.5-sonnet-cline-mcp": {
            "Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP": {
                "command": "npx",
                "args": [
                    "-y",
                    "@smithery/cli",
                    "install",
                    "@newideas99/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP",
                    "--client",
                    "claude"
                ]
            }
        }
    }
}

McpServers

{
    "Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP": {
        "command": "npx",
        "args": [
            "-y",
            "@smithery/cli",
            "install",
            "@newideas99/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP",
            "--client",
            "claude"
        ]
    }
}

smithery badge

A Model Context Protocol (MCP) server that combines DeepSeek R1's reasoning capabilities with Claude 3.5 Sonnet's response generation through OpenRouter. This implementation uses a two-stage process where DeepSeek provides structured reasoning which is then incorporated into Claude's response generation.

Features

- Two-Stage Processing:
- Uses DeepSeek R1 for initial reasoning (50k character context)
- Uses Claude 3.5 Sonnet for final response (600k character context)
- Both models accessed through OpenRouter's unified API
- Injects DeepSeek's reasoning tokens into Claude's context

- Smart Conversation Management:
- Detects active conversations using file modification times
- Handles multiple concurrent conversations
- Filters out ended conversations automatically
- Supports context clearing when needed

- Optimized Parameters:
- Model-specific context limits:
DeepSeek: 50,000 characters for focused reasoning
Claude: 600,000 characters for comprehensive responses
- Recommended settings:
temperature: 0.7 for balanced creativity
top_p: 1.0 for full probability distribution
* repetition_penalty: 1.0 to prevent repetition

Installation

Installing via Smithery

To install DeepSeek Thinking with Claude 3.5 Sonnet for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @newideas99/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP --client claude

Manual Installation

1. Clone the repository:
git clone https://github.com/yourusername/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP.git
cd Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP

2. Install dependencies:

npm install

3. Create a .env file with your OpenRouter API key:
```env

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.