Cover image
Try Now
2025-03-10

Servidor MCP para obtener el clima de la ciudad de los Estados Unidos

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

Weather MCP Server

This repository contains a weather information service built using the MCP (Model-Completion-Protocol) framework. The service provides weather forecasts for any city by leveraging the National Weather Service (NWS) API.

Features

  • Geocode city names to latitude/longitude coordinates
  • Fetch weather data from the National Weather Service API
  • Get detailed weather forecasts including temperature, conditions, and wind information
  • Modular design with separate tools for each step of the process

Available MCP Tool

  • get_weather: Get complete weather information for a city

Installation

We recommend using uv to manage your Python projects:

uv add "mcp[cli]"

Alternatively:

pip install mcp

Usage

Test the MCP Server Locally

To test the MCP server locally, use:

mcp dev weather.py

Use with Claude Desktop

To use this weather server with Claude Desktop, add the following configuration to your Claude Desktop config:

{
  "mcpServers": {
    "my_python_server": {
      "command": "/Users/<user_name>/.local/bin/uv",
      "args": [
        "--directory",
        "/Users/<user_name>/<git_repository_path>",
        "run",
        "weather.py"
      ]
    }
  }
}

Make sure to replace the directories with your own path: </Users/user_name/Your_directory>

Example

Once configured, you can ask Claude questions like:

  • "What's the weather in San Francisco?"
  • "How's the weather in New York City?"
  • "Get me the weather forecast for Chicago"

Claude will use the MCP server to fetch and display the weather information.

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). See the LICENSE.md file for details.

相关推荐

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

  • 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.

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

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

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

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

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • OffchainLabs
  • Implementación de la prueba de estaca Ethereum

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_W8nO91BT
    2025-04-16

    I have been using the mcp-us-city-weather application for a while now, and it's fantastic! Developed by yogi-miraje, this tool provides accurate and up-to-date weather data for various US cities. The interface is user-friendly, and the information is presented clearly. Whether you need to plan your day or check the weather for travel, this app is reliable and efficient. Highly recommended for anyone looking for a dependable US weather information source. Check it out at https://github.com/yogi-miraje/mcp-us-city-weather.