mcpField
W
Weather Service Application

Weather Service Application

Local
github.com/DaliGabrielMedia & Design0Updated 73w ago

About Weather Service Application

Weather Service Application is a Python weather service that retrieves current conditions from the National Weather Service API using latitude and longitude coordinates. It includes a client and server that run separately.

Key features

  1. 01Current weather lookup
  2. 02National Weather Service API data
  3. 03Latitude and longitude input

Use cases

  1. 01Check current conditions for a set of coordinates
  2. 02Run the sample client and server locally

MCP support

The project includes an MCP server and a client that connects to it to request weather information.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Weather Service Application

A simple weather service that retrieves current weather information using the National Weather Service API.

Prerequisites

  • Python 3.10+
  • uv package manager
  • Virtual environment (automatically created in setup)

Setup and Installation

  1. Clone the repository:

    git clone https://github.com/DaliGabriel/Custom-cliente-mcp.git
    cd mcp-client
    
  2. Set up the virtual environment and install dependencies:

    uv venv
    

Running the Application

The application consists of two main components that need to run in separate terminals.

Terminal 1: Start the Server
  1. Navigate to the project directory and activate the virtual environment:

    cd .\mcp-client\
    .\.venv\Scripts\activate
    
  2. Start the server:

    uv run .\server.py
    

    Keep this terminal window open and running.

Terminal 2: Run the Client
  1. Open a new terminal window

  2. Navigate to the project directory and activate the virtual environment:

    cd .\mcp-client\
    .\.venv\Scripts\activate
    
  3. Run the client with the server file:

    uv run .\client.py .\server.py
    

Example Usage

Once both server and client are running, you can ask for weather information by providing latitude and longitude coordinates. For example:

What's the weather at this location? (latitude: 40.7128, longitude: -74.0060)

This will return the current weather conditions for New York City.

API Reference

This application uses the National Weather Service API for weather data.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.