
🧠 DeepSeek MCP Server
MCP server that enhances Claude's reasoning capabilities by integrating DeepSeek R1's advanced reasoning engine
What is DeepSeek MCP Server?
DeepSeek MCP Server is a server that enhances Claude's reasoning capabilities by integrating DeepSeek R1's advanced reasoning engine, allowing for complex reasoning tasks.
How to use DeepSeek MCP Server?
To use the DeepSeek MCP Server, clone the repository, set up the environment, install dependencies, configure the server, and run it alongside Claude Desktop.
Key features of DeepSeek MCP Server?
- Integration with DeepSeek R1 for advanced reasoning.
- Multi-step logical analysis strategies.
- Confidence evaluation and uncertainty monitoring.
- Edge case and bias detection.
Use cases of DeepSeek MCP Server?
- Enhancing AI responses with structured reasoning.
- Supporting complex decision-making processes.
- Improving user interaction through better reasoning capabilities.
FAQ from DeepSeek MCP Server?
- What are the prerequisites for using the server?
Python 3.12 or higher and the
uv
package manager are required.
- How do I set up the API key?
You need to sign up at the INFINI API platform and set the key in the
.env
file.
- Is there a license for this project?
Yes, the project is licensed under the MIT License.
🧠 DeepSeek MCP Server
🚀 Features
Enhance Claude's reasoning capabilities with the integration of DeepSeek R1's advanced reasoning engine. This server enables Claude to tackle complex reasoning tasks by leveraging the reasoning capabilites of deepseek r1 model.
-
DeepSeek R1 (The Brain) acts as the advanced reasoning planner:
- Plans multi-step logical analysis strategies
- Structures cognitive frameworks
- Evaluates confidence and uncertainty
- Monitors reasoning quality
- Detects edge cases and biases
-
Claude (The Executor) implements the reasoning plans:
- Executes the structured analysis
- Implements planned strategies
- Delivers final responses
- Handles user interaction
- Manages system integrations
🚀 Features
Advanced Reasoning Capabilities
- Supports intricate multi-step reasoning tasks.
- Designed for precision and efficiency in generating thoughtful responses.
- 使用无问芯穹的API
Complete Setup guide
Prerequisites
- Python 3.12 or higher
uv
package manager- INFINI_API_KEY For DeepSeek (Sign up at 无问芯穹)
-
Clone the Repository
git clone https://github.com/moyu6027/deepseek-MCP-server.git cd deepseek-MCP-server
-
Ensure UV is Set Up
- Windows: Run the following in PowerShell:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- Mac: Run the following:
curl -LsSf https://astral.sh/uv/install.sh | sh
- Windows: Run the following in PowerShell:
-
Create Virtual Environment
uv venv source .venv/bin/activate
-
Install Dependencies
uv add "mcp[cli]" httpx
-
Set Up API Key
echo "INFINI_API_KEY=your_key_here" > .env
-
Install the Server
mcp install server.py -f .env
-
Configure MCP Server Edit the
claude_desktop_config.json
file to include the following configuration:{ "mcpServers": { "deepseek-mcp": { "command": "uv", "args": [ "--directory", "PATH_TO_DEEPSEEK_MCP_SERVER", "run", "server.py" ] } } }
-
Run the Server
uv run server.py
🛠 Usage
Starting the Server
The server automatically starts when used with Claude Desktop. Ensure Claude Desktop is configured to detect the MCP server.
Example Workflow
- Claude receives a query requiring advanced reasoning.
- The query is forwarded to DeepSeek R1 for processing.
- DeepSeek R1 returns structured reasoning wrapped in
<ant_thinking>
tags. - Claude integrates the reasoning into its final response.
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.