MCP ExplorerExplorer

Mcpwithdeepseek

@Ericemily111on a year ago
1 MIT
FreeCommunity
AI Systems
Intergrate MCP with Deepseek

Overview

What is Mcpwithdeepseek

McpWithDeepseek is a customized Python client that integrates the Model Context Protocol (MCP) with the DeepSeek LLM, replacing the default Claude LLM model.

Use cases

Use cases include weather forecasting applications, chatbots, and any application that benefits from enhanced language understanding and generation.

How to use

To use McpWithDeepseek, clone the repository, set up a virtual environment, install the necessary dependencies, configure your DeepSeek API key, and run the client with the desired script.

Key features

Key features include the integration of DeepSeek LLM API, preservation of the original MCP logic and structure, and ease of customization for specific use cases.

Where to use

McpWithDeepseek can be used in various fields such as natural language processing, AI-driven applications, and any domain requiring advanced language model capabilities.

Content

DeepSeek Client for Model Context Protocol (MCP)

This project is a customized Python client based on the official Model Context Protocol (MCP) quickstart guide.
It replaces the default Claude LLM model with the DeepSeek LLM by updating the API configuration in client.py.

🚀 Quick Start

1. Clone the Repository

git clone https://github.com/your-username/deepseek-mcp-client.git
cd deepseek-mcp-client

2. Set Up Environment

It’s recommended to use a virtual environment:

uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

Then install dependencies:

uv add mcp anthropic python-dotenv

3. Configure API Keys

Make sure you have an API key for the DeepSeek LLM.

DEEPSEEK_API_KEY=your_deepseek_api_key

4. Run the Client

uv run client.py ../MCP-SERVER-DEMO/weather.py

The weather.py is same with https://github.com/modelcontextprotocol/quickstart-resources/blob/main/weather-server-python/weather.py and https://modelcontextprotocol.io/quickstart/server

🔧 What’s Modified?

Only client.py is changed from the original MCP implementation:

  • Replaced Claude LLM API with DeepSeek LLM API.
  • Preserved the original Model Context Protocol logic and structure.

📚 References


Feel free to customize the client.py further to suit your use case.

📝 License

MIT License

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers