MCP-SV

Weather MCP Service for use with Claude and other AI assistants

GitHub Stars

0

User Rating

Not Rated

Favorites

0

Views

7

Forks

0

Issues

0

README
Weather MCP Service

This is a Model-Communication-Protocol (MCP) service that provides weather information from the National Weather Service API. It can be used with Claude and other AI assistants that support the MCP protocol.

Features
  • get_alerts: Get weather alerts for a specific US state
  • get_forecast: Get weather forecast for a specific location by latitude and longitude
Installation and Usage
Using NPX

You can run this MCP service directly without installation using NPX:

npx -y github:pankaj-knit/MCP-SV
Requirements
  • Node.js 12 or higher
  • Python 3.9 or higher
  • Python packages: httpx and mcp (will be installed automatically if needed)
Integration with Claude

To use this MCP service with Claude Desktop, add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": [
        "-y",
        "github:pankaj-knit/MCP-SV"
      ]
    }
  }
}
Examples

Once the service is running, you can use it in Claude with commands like:

Get weather alerts for California.

Or:

What's the forecast for latitude 37.7749, longitude -122.4194?
Local Development

To run the service locally:

  1. Clone this repository:

    git clone https://github.com/pankaj-knit/MCP-SV.git
    cd MCP-SV
    
  2. Install dependencies:

    pip install httpx mcp
    
  3. Run the service:

    python weather.py
    
License

MIT