Weather MCP Server

$npm install && npm run build
README.md

Provides real-time weather updates and city geocoding

🌦️ Weather MCP Server

This is a little MCP server that tells you the weather for any city you want. I was specifically using Cursor.

Quick Start with Cursor

  1. Run:
    npm install
    
  2. Build:
    npm run build
    
  3. Configure in Cursor:
    • Go to Cursor Settings > Tools & Integrations to get to mcp.json.
    • Add something like this:
      {
        "mcpServers": {
          "weather-mcp": {
            "command": "node",
            "args": ["path/to/dist/main.js"]
          }
        }
      }
      
    • Refresh Cursor/your chat and it should work! You should be able to see the tool in Cursor settings if it's working.

What does it do?

  • 🌍 Finds your city (Nominatim)
  • ☀️ Gets the current weather (Open-Meteo)

How do I use it?

Once it's running and hooked up to an MCP client, you can ask stuff (Command + Shift + L) like:

  • "What's the weather in Honesdale, PA?"

How does it work?

  • main.ts: Handles weather requests.
  • Nominatim: Turns city names into coords.
  • Open-Meteo: Gives us the actual weather data.

Tools (1)

get_weatherHandles weather requests by turning city names into coordinates and retrieving actual weather data.

Configuration

claude_desktop_config.json
{"mcpServers": {"weather-mcp": {"command": "node", "args": ["path/to/dist/main.js"]}}}

Try it

What's the weather in Honesdale, PA?
Tell me the current temperature in London.
Is it raining in Tokyo right now?
What are the weather conditions in New York City?

Frequently Asked Questions

What are the key features of Weather MCP Server?

Finds your city using Nominatim geocoding. Gets current weather data via Open-Meteo. Integrates with Cursor and other MCP clients. Supports natural language queries for location-based weather.

What can I use Weather MCP Server for?

Checking local weather conditions while coding in Cursor. Retrieving temperature data for specific cities via chat. Converting city names to coordinates for weather reporting. Quickly verifying outdoor conditions before planning activities.

How do I install Weather MCP Server?

Install Weather MCP Server by running: npm install && npm run build

What MCP clients work with Weather MCP Server?

Weather MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use Weather MCP Server with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free