内容
# DeepSeek-Claude MCP 服务器
[](https://smithery.ai/server/@HarshJ23/deepseek-claude-MCP-server)
**通过集成 DeepSeek R1 的高级推理引擎,增强 Claude 的推理能力**。该服务器通过利用 deepseek r1 模型的推理能力,使 Claude 能够处理复杂的推理任务。
<a href="https://glama.ai/mcp/servers/w3q7v1srsw"><img width="380" height="200" src="https://glama.ai/mcp/servers/w3q7v1srsw/badge" alt="DeepSeek-Claude 服务器 MCP 服务器" /></a>
---
## 🚀 功能特点
### **高级推理能力**
- 无缝集成 DeepSeek R1 的推理能力与 Claude。
- 支持复杂的、多步骤的推理任务。
- 设计用于精确和高效地生成深思熟虑的响应。
---
## 完整设置指南
### 通过 Smithery 安装
要通过 [Smithery](https://smithery.ai/server/@HarshJ23/deepseek-claude-MCP-server) 自动安装 DeepSeek-Claude 以用于 Claude Desktop:
```bash
npx -y @smithery/cli install @HarshJ23/deepseek-claude-MCP-server --client claude
```
### 先决条件
- Python 3.12 或更高版本
- `uv` 包管理器
- DeepSeek API 密钥(在 [DeepSeek 平台](https://platform.deepseek.com) 注册)
1. **克隆仓库**
```bash
git clone https://github.com/harshj23/deepseek-claude-MCP-server.git
cd deepseek-claude-MCP-server
```
2. **确保 UV 已设置**
- **Windows**:在 PowerShell 中运行以下命令:
```powershell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
```
- **Mac**:运行以下命令:
```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
```
3. **创建虚拟环境**
```bash
uv venv
source .venv/bin/activate
```
4. **安装依赖项**
```bash
uv add "mcp[cli]" httpx
```
5. **设置 API 密钥**
```bash
从此处获取您的 API 密钥:https://platform.deepseek.com/api_keys
```
6. **配置 MCP 服务器**
编辑 `claude_desktop_config.json` 文件以包含以下配置:

```json
{
"mcpServers": {
"deepseek-claude": {
"command": "uv",
"args": [
"--directory",
"C:\\ABSOLUTE\\PATH\\TO\\PARENT\\FOLDER\\deepseek-claude",
"run",
"server.py"
]
}
}
}
```
7. **运行服务器**
```bash
uv run server.py
```
8. **测试设置**
- ##### 重启 Claude Desktop。
- 验证工具图标是否在界面中可见。


- 如果服务器不可见,请参阅[故障排除指南](https://modelcontextprotocol.io/quickstart/server#troubleshooting)。
---
## 🛠 使用方法
### 启动服务器
服务器在与 Claude Desktop 一起使用时会自动启动。确保 Claude Desktop 已配置为检测 MCP 服务器。
### 示例工作流程
1. Claude 接收到需要高级推理的查询。
2. 查询被转发到 DeepSeek R1 进行处理。
3. DeepSeek R1 返回用 `<ant_thinking>` 标签包装的结构化推理。
4. Claude 将推理结果整合到其最终响应中。
---
## 📄 许可证
该项目根据 MIT 许可证授权。有关详细信息,请参见 [LICENSE](LICENSE) 文件。
---
连接信息
猜你喜欢
MarkItDown
将文件和办公文档转换为Markdown的Python工具。
Whisper 语音识别
OpenAI Whisper MCP Server - 基于本地 Whisper CLI 的离线语音识别与翻译,无需 API Key,支持...
claude-flow
Claude-Flow v2.7.0 是一个企业级AI编排平台。
oh-my-opencode
背景代理 · 精心挑选的代理,如 oracle、librarians、frontend engineer · 预构建工具,如 LSP/AST ·...
ai-engineering-from-scratch
学习它。构建它。交付给他人。最全面的开源AI工程课程:200多节课程,内容涵盖从线性代数到自主代理集群,支持Python、TypeScript、Rust和Julia。
hyperframes
编写HTML。渲染视频。为代理而建。