MCP Demo

Created By
guobinqiua year ago
测试mcp host连接到mcp server
Overview

what is MCP Demo?

MCP Demo is a project that demonstrates the connection between an MCP host and an MCP server, utilizing the DeepSeek-V3 model for various tasks, including weather forecasting.

how to use MCP Demo?

To use MCP Demo, follow these steps:

  1. Initialize the project with uv init mcp-demo.
  2. Navigate into the project directory and set up a virtual environment.
  3. Install the required packages using uv add commands.
  4. Replace the OPENAI_API_KEY in the .env file with your DeepSeek API key.
  5. Run the client with python3 client.py weather.py.

key features of MCP Demo?

  • Connects to an MCP server for real-time data processing.
  • Provides weather forecasts based on user queries.
  • Utilizes the DeepSeek-V3 model for enhanced performance.

use cases of MCP Demo?

  1. Fetching current weather information for specific locations.
  2. Demonstrating the capabilities of the MCP framework.
  3. Integrating with other tools for data analysis and processing.

FAQ from MCP Demo?

  • What is the purpose of MCP Demo?

MCP Demo serves as a demonstration of how to connect and interact with an MCP server using the DeepSeek model.

  • Is there a cost to use MCP Demo?

MCP Demo is free to use, but you need a valid DeepSeek API key for full functionality.

  • What programming language is used in MCP Demo?

MCP Demo is developed in Python.

Project Info
Created At
a year ago
Updated At
a year ago
Author Name
guobinqiu
Star
1
Language
Python
License
-

Recommend Servers

View All
Mnemom

14 hours ago
//beforeyouship — LLM Cost Modeling From Your Editor
@Indiegoing

Query realistic LLM cost models without leaving your editor. beforeyouship models the **true monthly cost** of an LLM app architecture — retries, prompt caching, batch discounts, infra overhead, and 3×/10× growth — across GPT-5.x, Claude, Gemini, DeepSeek, and more. Not a token calculator: a planning tool for the design phase, before you commit to a stack. **No API key needed to try it** — demo mode covers the six free-tier models. A Pro key from [beforeyouship.dev](https://beforeyouship.dev) unlocks the full 18-model catalog. ## What you can ask - "How much will a RAG chatbot cost at 10,000 requests/day?" - "Compare Claude Haiku vs Gemini Flash pricing for my workload" - "What's the cheapest model for a multi-step agent at scale?" - "Show me current per-token prices for Anthropic models" ## Tools ### `estimate_cost` Full cost model for an architecture at a given usage level. Returns Naive / Realistic / Worst Case monthly cost per model, 3×/10× growth scenarios, and an opinionated recommendation with reasoning. ### `get_model_prices` Current per-1M-token pricing — input, output, cached input, batch — with context windows and staleness metadata. ### `list_archetypes` Seven preset architecture patterns (simple chatbot, chatbot with history, RAG pipeline, multi-model router, coding assistant, document processor, multi-step agent) used as starting points for estimates. ## Setup **Claude Code:** ​```bash claude mcp add --transport http beforeyouship https://beforeyouship.dev/api/mcp ​``` **Cursor / other clients** — add a remote server: ​```json { "mcpServers": { "beforeyouship": { "type": "streamable-http", "url": "https://beforeyouship.dev/api/mcp" } } } ​``` Add an `Authorization: Bearer bys_...` header with a Pro key for the full catalog. ## Try it > Estimate the monthly cost of a RAG pipeline at 10,000 requests/day

13 hours ago
Docwand

13 hours ago