Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"real-weather-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol (MCP) server that fetches real weather data using the OpenWeather API and exposes two tools for AI agents and IDEs to consume: current weather and forecast.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in maps
Hawaii MCP: tours, events, weather, restaurants, and day-plan itineraries across 4 islands.
Real-time SF Muni departures, routes, alerts, vehicle positions, and schedules.
I Ching hexagram analysis and geographic feng shui for Taiwan locations
Single MCP server for Belgian public transport, statistics, open data, and geospatial services.
MCP Security Weekly
Get CVE alerts and security updates for Real Weather Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Model Context Protocol (MCP) server that fetches real weather data using the OpenWeather API and exposes two tools for AI agents and IDEs to consume: current weather and forecast.
get_city_weather, get_city_weather_forecastCreate an MCP configuration file for your IDE and provide your OpenWeather API key.
<WORKSPACE DIRECTORY>/.vscode/mcp.json<SOLUTION DIRECTORY>/.mcp.jsonYou must sign up at OpenWeather and obtain an API key: https://openweathermap.org/api.
Configure your IDE to run the project via dotnet run and pass the API key as an environment variable.
{
"servers": {
"RealWeatherMcpServer": {
"type": "stdio",
"command": "dotnet",
"args": [
"run",
"--project",
"<PATH TO src/RealWeatherMcpServer>"
],
"env": {
"OPENWEATHER_API_KEY": "<YOUR OPENWEATHER API KEY HERE>"
}
}
}
}
Environment variables used by the server:
Once configured, ask Copilot Chat or another MCP-capable client about the weather. The server exposes two tools.
get_city_weatherLondon, London,UK,
94040,USmetric or imperial. Defaults to metric.get_city_weather_forecastmetric or imperial. Defaults to metric.Notes:
metric or imperial, the server will default to metric.London,CA vs London,UK).<PackageId> if publishing under a different ID)..mcp/server.json declares your inputs correctly (see https://aka.ms/nuget/mcp/guide/configuring-inputs).dotnet pack -c Release.dotnet nuget push bin/Release/*.nupkg --api-key <your-api-key> --source https://api.nuget.org/v3/index.json.The bin/Release directory will contain the .nupkg file ready to publish.
After publishing the package in NuGet, IDEs can bootstrap with the dnx command. Use the package name and version below.
{
"servers": {
"RealWeatherMcpServer": {
"type": "stdio",
"command": "dnx",
"args": [
"Sponkrashin.RealWeatherMcpTool",
"--version",
"0.1.0-beta",
"--yes"
],
"env": {
"OPENWEATHER_API_KEY": "<YOUR OPENWEATHER API KEY HERE>"
}
}
}
}
This matches the package declaration in .mcp/server.json.