MCP cover image
See in Github
2025-01-22

天气的简单MCP服务器

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.

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

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • 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

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • Jan Meindl
  • Builds new GPTs

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • https://jgadvisorycpa.com
  • This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.

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

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

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • modelcontextprotocol
  • 模型上下文协议服务器

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

  • OffchainLabs
  • 进行以太坊的实施

  • n8n-io
  • 具有本机AI功能的公平代码工作流程自动化平台。将视觉构建与自定义代码,自宿主或云相结合,400+集成。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、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.