Skip to main content
Glama

🌦️ 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.

Related MCP server: Weather MCP Tool

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.


Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides weather data from WeatherAPI.com through MCP, enabling AI agents to query current conditions and forecasts via natural language.
    2 npm
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Provides real-time weather information for cities worldwide using the OpenWeatherMap API, accessible through natural language queries via the MCP protocol.
    1
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides weather data including current conditions, forecasts, and summaries via Open-Meteo with no API key required, enabling natural language queries through an MCP interface.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server providing weather data via the Open-Meteo API, including geocoding, current conditions, daily and hourly forecasts, and city lookup. No API key required, with support for multiple units and transport types.
    1
    MIT