Cover image
Try Now
2025-01-22

天气的简单MCP服务器

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

MCP Weather Server

A lightweight Model Context Protocol (MCP) server designed for handling weather data, with a Command-Line Interface (CLI) client for interaction. This project demonstrates how to create and interact with an MCP server, focusing on weather-related information.

Features

  • MCP Server: A modular server to handle weather data and client requests.
  • CLI Client: A command-line tool to connect and interact with the server.
  • Asynchronous Communication: Leverages asyncio for efficient client-server interaction.
  • Extensibility: Easily extend the server to support additional commands or data formats.

Requirements

  • Python 3.12 or higher
  • asyncio
  • Any additional Python packages can be found in requirements.txt.

Installation

  1. Clone the repository:

    git clone https://github.com/Hritik003/mcp-weather-server.git
    
  2. Start the server

    cd Server
    uv --directory <path/to/weather> run weather
    
  3. Start the Client

    cd mcp-Client
    uv run client.py <path/to/server.py>
    

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • XLwebDev.com
  • PR Professional: Guiding You to Get Media Placements and Publicity Quickly and Effectively

  • Jan Meindl
  • Builds new GPTs

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    5 (1)
    Avatar
    user_KSktQo9Y
    2025-04-15

    I've been using MCP PostgreSQL Server for a while now and it's been a game-changer for my database management. The installation was straightforward, and the performance has been reliable. Kudos to Maxim2324 for developing such a robust tool. Highly recommend it to anyone looking for a dependable PostgreSQL server solution.