MCP cover image
天气麦克风服务器 logo
Public

天气麦克风服务器

See in Github
2025-03-23

这是适合我们天气的MCP服务器,我为测试目的创建它

1

Github Watches

1

Github Forks

0

Github Stars

MCP Weather Server

An MCP (Model Context Protocol) server providing USA weather information using the National Weather Service API. This server allows Claude and other MCP-compatible AI assistants to access real-time weather data.

Features

  • Weather Alerts: Get current weather alerts for any US state
  • Weather Forecasts: Get detailed weather forecasts for any location in the US using latitude and longitude

Installation

For Users

To use this MCP server with Claude or other MCP-compatible AI assistants:

# Install from PyPI
pip install mcp-weather

# Or install with uv
uv pip install mcp-weather

For Developers

To set up the development environment:

# Clone the repository
git clone https://github.com/michael7736/mcp-weather.git
cd mcp-weather

# Create a virtual environment
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install dependencies
pip install -e ".[dev]"

Configuration

Cline (VS Code Extension)

Add the following to your Cline MCP settings file (cline_mcp_settings.json):

{
  "mcpServers": {
    "weather": {
      "command": "mcp-weather",
      "disabled": false,
      "autoApprove": []
    }
  }
}

Claude Desktop App

Add the following to your Claude Desktop config file (claude_desktop_config.json):

{
  "mcpServers": {
    "weather": {
      "command": "mcp-weather",
      "disabled": false,
      "autoApprove": []
    }
  }
}

Usage

Once configured, you can ask Claude or other MCP-compatible AI assistants questions about the weather:

  • "What are the current weather alerts in CA?"
  • "What's the weather forecast for San Francisco?" (The assistant will use coordinates for San Francisco)

Publishing

To publish this package to PyPI:

  1. Make sure you have the latest build tools:

    pip install --upgrade build twine
    
  2. Build the package:

    python -m build
    
  3. Upload to PyPI:

    python -m twine upload dist/*
    

License

This project is licensed under the MIT License - see the LICENSE file for details.

相关推荐

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

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

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

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

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

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

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

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

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

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

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

    Reviews

    2 (1)
    Avatar
    user_ygbj5q2L
    2025-04-16

    I've been using the Dub.co MCP Server from MCP-Mirror, and it's been a game-changer for my projects! The seamless integration and efficient server management have significantly boosted my productivity. If you're looking for a reliable MCP server, I highly recommend checking it out. Perfect for both beginners and advanced users.