A Java (Spring AI) implementation of an MCP server
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"openweather-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.
If you just want to use it in your MCP-ready AI application of your choice, follow these steps:
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.
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
Real-time BART departures, trip planning, fares, stations, and advisories.
A Model Context Protocol (MCP) server providing TomTom's location services, search, routing, and traffic data to AI agents.
MCP server for the VesselAPI — maritime vessel tracking, port events, emissions, and navigation data
Global weather API: forecasts, historical data, marine, ski, astronomy and timezone.
MCP Security Weekly
Get CVE alerts and security updates for Openweather Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
If you just want to use it in your MCP-ready AI application of your choice, follow these steps:
Get your personal openweathermap.org API key:
librechat.yaml):
mcpServers:
openweather-mcp-server:
type: stdio
command: java
args:
- -jar
- /app/my-mcp-servers/openweather-mcp-server-0.1.2.jar
- --spring.config.additional-location=file:/app/my-mcp-servers/application-prod.yml
Download the *.jar file of the openweather-mcp-server
Copy it into a location that is reachable
/LIBRECHAT/my-mcp-servers/Make sure, java is installed in the location
LibreChat in Docker: in /LIBRECHAT/Dockerfile change this line:
# original
RUN apk add --no-cache python3 py3-pip uv
# change into this
RUN apk add --no-cache python3 py3-pip uv openjdk21-jre
Make sure, everything is reachable and packed together:
In file /LIBRECHAT/docker-compose.yml:
# original
image: ghcr.io/danny-avila/librechat-dev:latest
# change into this
# image: ghcr.io/danny-avila/librechat-dev:latest
build: .
Now you can rebuild
Now you can rebuild, restart. With the current versions it is sufficient to execute
docker compose build --no-cache && docker compose up -d. On any problems, please stick
to the update guide.
In your AI application, you should now be able to activate the "openweather-mcp-server" and ask for the current weather in any city :-)
To execute the remote calls to openweathermap.org, you need a personal API key (see above) and set it in an application
profile (application-dev.yml) or environment-variable.
Set this environment variable (e.g. in your test-starters):
secret.openweathermap.apikey=YOUR-OPENWEATHERMAP-API-KEY