lerich.WeatherMcpServer
0.1.0-beta
This is a prerelease version of lerich.WeatherMcpServer.
{ "servers": { "lerich.WeatherMcpServer": { "type": "stdio", "command": "dnx", "args": ["lerich.WeatherMcpServer@0.1.0-beta", "--yes"] } } }
This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's
.vscode/mcp.json settings file.
dotnet tool install --global lerich.WeatherMcpServer --version 0.1.0-beta
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local lerich.WeatherMcpServer --version 0.1.0-beta
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=lerich.WeatherMcpServer&version=0.1.0-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package lerich.WeatherMcpServer --version 0.1.0-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Weather MCP Server
An MCP (Model Context Protocol) server that provides weather forecasts, current conditions, and location search using the free Open-Meteo API.
Features
- Location Search: Search for cities and places by name or postal code
- Current Weather: Get real-time weather conditions including temperature, humidity, wind, and precipitation
- Hourly Forecast: Get detailed hourly forecasts for up to 16 days
- Daily Summary: Get daily weather summaries with high/low temperatures, sunrise/sunset, and precipitation totals
Tools
| Tool | Description |
|---|---|
weather_search_location |
Search for cities by name or postal code to get coordinates |
weather_get_current |
Get current weather conditions for a location |
weather_get_forecast |
Get hourly weather forecast (temperature, precipitation, wind) |
weather_get_daily_summary |
Get daily weather summary (high/low temps, sunrise/sunset) |
Usage
Prerequisites
- .NET 10.0 SDK or later
Running Locally
cd WeatherMcpServer
dotnet run
Testing with MCP Inspector
npx @modelcontextprotocol/inspector -- dotnet run --project WeatherMcpServer
Configure in VS Code
Add to your .vscode/mcp.json:
{
""servers"": {
""weather"": {
""command"": ""dotnet"",
""args"": [""run"", ""--project"", ""path/to/WeatherMcpServer""]
}
}
}
Example Queries
Once configured, you can ask questions like:
- ""What's the weather in Paris?""
- ""Will it rain in Tokyo tomorrow?""
- ""Show me the 7-day forecast for New York""
- ""What's the current temperature in London?""
API Attribution
This server uses the Open-Meteo API, which is free for non-commercial use with less than 10,000 daily API calls.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-beta | 350 | 2/11/2026 |