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
asynciofor 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
-
Clone the repository:
git clone https://github.com/Hritik003/mcp-weather-server.git -
Start the server
cd Server uv --directory <path/to/weather> run weather -
Start the Client
cd mcp-Client uv run client.py <path/to/server.py>
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
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.
Reviews
user_KSktQo9Y
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.