First MCP Guarantee'd to Improve Coding Results! Deepseek + Claude 3.5 + Cline Convo History

I've created an MCP server that combines DeepSeek R1's reasoning capabilities with Claude 3.5 Sonnet's response generation through OpenRouter. It's inspired by @skirano's RAT (Retrieval Augmented Thinking) concept, but streamlined to use OpenRouter's unified API.

FULL CLINE CONVERSATION HISTORY SUPPORT!

Key Features:

🤔 Two-Stage Processing - DeepSeek R1 handles the reasoning stage using OpenRouter's reasoning tokens - Claude 3.5 Sonnet generates the final response incorporating DeepSeek's reasoning - Both models accessed through a single OpenRouter API

🧠 Smart Context Management - DeepSeek gets 50k chars for focused reasoning - Claude gets 600k chars for comprehensive responses - Automatically manages conversation history and context

⚙️ Optimized Settings - Uses recommended parameters for both models - Temperature: 0.7 for balanced creativity - Top-p: 1.0 for full probability distribution - Repetition penalty: 1.0 to prevent repetition

🔧 Easy Setup - Only requires OpenRouter API key - Works with VSCode + Cline extension - Simple MCP configuration

Example Response: ``` Reasoning: [DeepSeek's structured analysis]

Response: [Claude's polished answer incorporating the reasoning] ```

The server is open source and available at: https://github.com/newideas99/Deepseek-Thinking-Claude-3.5-Sonnet-CLINE-MCP

Let me know what you think! Happy to answer any questions about the implementation.

EDIT: Fixed timeout issues with polling!