npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

open-meteo-mcp-lite

v0.1.0

Published

A lightweight MCP server for Open-Meteo weather API - current weather, forecasts, and pressure data

Readme

open-meteo-mcp-lite

A lightweight MCP (Model Context Protocol) server for Open-Meteo weather API.

Simple, fast, no API key required.

Features

  • Current weather: temperature, humidity, wind, pressure, UV index
  • Forecasts: up to 16 days with daily high/low, precipitation, sunrise/sunset
  • Location search: geocoding by city name
  • Pressure data: surface pressure for weather tracking
  • Default location: set once, query without specifying location

Installation

npm install -g open-meteo-mcp-lite

Or use with npx:

npx open-meteo-mcp-lite

Configuration

OpenCode

Add to your opencode.json:

{
  "mcp": {
    "weather": {
      "type": "local",
      "command": ["npx", "-y", "open-meteo-mcp-lite"],
      "enabled": true
    }
  }
}

Claude Desktop

Add to your Claude Desktop config:

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["-y", "open-meteo-mcp-lite"]
    }
  }
}

Tools

set_default_location

Set a default location for weather queries. Stored in ~/.config/open-meteo-mcp-lite/config.json.

Parameters:

  • location (string, optional): City name to set as default
  • latitude (number, optional): Latitude coordinate
  • longitude (number, optional): Longitude coordinate
  • name (string, optional): Custom name for the location (used with coordinates)

Provide either location OR both latitude/longitude.

get_default_location

Get the currently configured default location.

search_location

Search for a location by name to get coordinates.

Parameters:

  • query (string, required): City name or location to search
  • limit (number, optional): Max results 1-10, default 5

get_weather

Get current weather conditions. Uses default location if none specified.

Parameters:

  • location (string, optional): City name
  • latitude (number, optional): Latitude coordinate
  • longitude (number, optional): Longitude coordinate

get_forecast

Get weather forecast up to 16 days. Uses default location if none specified.

Parameters:

  • location (string, optional): City name
  • latitude (number, optional): Latitude coordinate
  • longitude (number, optional): Longitude coordinate
  • days (number, optional): Forecast days 1-16, default 7

Usage

Set your default location by city name:

> set_default_location(location="Barcelona")
Default location set to: Barcelona, Catalonia, Spain
Coordinates: 41.38879, 2.15899

Or by exact coordinates:

> set_default_location(latitude=41.5247, longitude=2.0214, name="Home")
Default location set to: Home
Coordinates: 41.5247, 2.0214

Then just ask for weather without specifying location:

> get_weather()
Location: Home

Current Weather (Europe/Madrid)
...

Example Output

Current Weather

Current Weather (Europe/Madrid)
Time: 2025-01-19T22:00

Temperature: 8.5°C
Feels like: 6.2°C
Humidity: 72%
Condition: Partly cloudy

Pressure: 1023.4 hPa

Wind: 12.3 km/h from 270°
Gusts: 18.5 km/h
UV Index: 0

Forecast

Weather Forecast (Europe/Madrid)

Mon, Jan 20
  Partly cloudy
  High: 14°C / Low: 5°C
  Precipitation: 0mm (0% chance)
  Wind: up to 15 km/h
  Sunrise: 08:15 / Sunset: 18:02

Config File

Default location is stored in:

~/.config/open-meteo-mcp-lite/config.json

Data Source

Weather data provided by Open-Meteo - free for non-commercial use.

License

MIT