
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@jaredco/weather-mcp-server
Advanced tools
Fast current conditions and multi-day forecasts by city or lat/long. MCP-compliant weather server for Claude and other AI assistants.
Fast, reliable weather data for Claude and other MCP clients. Get current conditions and multi-day forecasts for any location worldwide.
Production Server: https://mcp-weathertrax.jaredco.com
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"weathertrax": {
"url": "https://mcp-weathertrax.jaredco.com"
}
}
}
# Check server health
curl https://mcp-weathertrax.jaredco.com/healthz
# Get server manifest
curl https://mcp-weathertrax.jaredco.com/.well-known/mcp/manifest
Get current weather conditions for any location:
Request:
curl -X POST https://mcp-weathertrax.jaredco.com/tools/weatherTool \
-H "Content-Type: application/json" \
-d '{
"location": "San Francisco, CA",
"query_type": "current"
}'
Response:
{
"summary": "It is currently 54°F and Clear in San Francisco.",
"temp_high": 54,
"temp_low": 54,
"condition": "Clear",
"wind": "5 mph W",
"feels_like": 54,
"humidity": 65,
"uv_index": 0,
"visibility": 10,
"pressure": 1013,
"cloud_cover": 0,
"units": {
"temperature": "°F",
"distance": "miles",
"speed": "mph",
"pressure": "mb"
}
}
Retrieve a detailed forecast for the next several days:
Request:
curl -X POST https://mcp-weathertrax.jaredco.com/tools/weatherTool \
-H "Content-Type: application/json" \
-d '{
"location": "New York",
"query_type": "multi_day",
"num_days": 3
}'
Response:
{
"forecast": [
{
"date": "2026-03-26",
"high": 79,
"low": 42,
"condition": "Sunny",
"precip_chance": 0,
"wind": "18 mph SW",
"sunrise": "06:49 AM",
"sunset": "07:15 PM"
},
{
"date": "2026-03-27",
"high": 59,
"low": 39,
"condition": "Moderate rain",
"precip_chance": 0.88,
"wind": "19 mph WNW",
"sunrise": "06:48 AM",
"sunset": "07:16 PM"
},
{
"date": "2026-03-28",
"high": 41,
"low": 28,
"condition": "Sunny",
"precip_chance": 0,
"wind": "17 mph W",
"sunrise": "06:46 AM",
"sunset": "07:17 PM"
}
]
}
Get a 7-day forecast optimized for planning outdoor activities, construction work, or events:
Request:
curl -X POST https://mcp-weathertrax.jaredco.com/tools/weatherPlanningTool \
-H "Content-Type: application/json" \
-d '{
"location": "Miami, FL",
"context": "outdoor event planning",
"timeframe": "next week"
}'
Response:
{
"forecast": [
{
"date": "2026-03-26",
"high": 82,
"low": 73,
"condition": "Sunny",
"precip_chance": 0,
"wind": "12 mph E",
"sunrise": "07:18 AM",
"sunset": "07:35 PM"
},
{
"date": "2026-03-27",
"high": 77,
"low": 72,
"condition": "Partly Cloudy",
"precip_chance": 0,
"wind": "12 mph E",
"sunrise": "07:17 AM",
"sunset": "07:35 PM"
}
// ... 5 more days
],
"provenance": {
"source": "World Weather Online",
"generated_at": "2026-03-26T09:18:36.704Z"
}
}
Using the MCP JSON-RPC protocol to call tools:
Request:
curl -X POST https://mcp-weathertrax.jaredco.com/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "weatherTool",
"arguments": {
"location": "London, UK",
"query_type": "current"
}
}
}'
Response:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"toolUseId": 1,
"isFinal": true,
"output": {
"summary": "It is currently 48°F and Cloudy in London.",
"temp_high": 48,
"temp_low": 48,
"condition": "Cloudy",
"wind": "10 mph NW",
"feels_like": 45,
"humidity": 78,
"uv_index": 1,
"visibility": 10,
"pressure": 1015,
"cloud_cover": 75
}
}
}
Retrieve real-time weather conditions or multi-day forecasts.
Input Schema:
{
"location": "string (required) - City name, ZIP, or coordinates",
"query_type": "string (required) - 'current' or 'multi_day'",
"num_days": "number (optional) - For multi_day, number of days (1-14, default: 3)"
}
Annotations:
readOnlyHint: true - No destructive operationscategory: "Information"requiresConfirmation: falseSpecialized tool for planning queries including construction scheduling, outdoor work, event planning, or travel preparation.
Input Schema:
{
"location": "string (required) - City name, ZIP, or place name",
"context": "string (optional) - Planning context (e.g., 'construction', 'outdoor event')",
"timeframe": "string (optional) - Timeframe hint (e.g., 'next week', 'Thursday')"
}
Annotations:
readOnlyHint: true - No destructive operationscategory: "Information"requiresConfirmation: falsehttps://mcp-weathertrax.jaredco.com
GET /healthz
Returns server health and version information.
GET /.well-known/mcp/manifest
Returns the MCP protocol manifest with tool definitions.
GET /privacy
Returns the server's privacy policy.
POST /tools/weatherTool
POST /tools/weatherPlanningTool
Direct HTTP endpoints for tool execution (no JSON-RPC wrapper).
POST /mcp
POST /
Full MCP protocol support via JSON-RPC 2.0.
Supported Methods:
initialize - MCP handshaketools/list - Discover available toolstools/call - Execute a toolAll errors follow this structure:
{
"error": {
"code": "ERROR_CODE",
"message": "Human-readable error message",
"hint": "Suggestion for fixing the error",
"retry_after": null
}
}
Common Error Codes:
INVALID_INPUT - Missing or invalid parametersINTERNAL_ERROR - Server error-32601 - Method not found (JSON-RPC)-32602 - Invalid params (JSON-RPC)Tools are automatically discovered via the manifest endpoint:
curl https://mcp-weathertrax.jaredco.com/.well-known/mcp/manifest
claude_desktop_config.jsonThe server includes comprehensive test coverage:
# Install dependencies
npm install
# Start the server
npm start
# Run quick tests (8 core tests)
npm test
# Run full test suite (67 tests)
npm run test:full
Test Coverage:
Latest Results: 67/67 tests passing ✅
# Test current weather
curl -X POST https://mcp-weathertrax.jaredco.com/tools/weatherTool \
-H "Content-Type: application/json" \
-d '{"location": "Tokyo", "query_type": "current"}'
# Test forecast
curl -X POST https://mcp-weathertrax.jaredco.com/tools/weatherTool \
-H "Content-Type: application/json" \
-d '{"location": "Paris", "query_type": "multi_day", "num_days": 5}'
# Test MCP protocol
curl -X POST https://mcp-weathertrax.jaredco.com/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
We take your privacy seriously. Our privacy policy is available at:
Key Points:
# Clone repository
git clone https://github.com/jaredco/weather-mcp-server.git
cd weather-mcp-server
# Install dependencies
npm install
# Set up environment
cp .env.example .env
# Add your WEATHER_API_KEY to .env
# Start server
npm start
Server runs on http://localhost:3000
PORT=3000 # Server port
WEATHER_API_KEY=your_key # World Weather Online API key
NODE_ENV=production # Environment
weather-mcp-server/
├── mcp-server.js # Main server
├── tools/
│ ├── weatherTool.js # Current & forecast tool
│ └── weatherPlanningTool.js # Planning tool
├── utils/
│ └── logger.js # Logging utilities
├── test-suite.js # Comprehensive tests
├── quick-test.js # Quick smoke tests
└── weathertrax-mcp-demo/ # n8n workflow examples
MIT License - see LICENSE file for details.
Last Updated: March 26, 2026
Made with ☀️ for Claude and MCP
FAQs
Fast current conditions and multi-day forecasts by city or lat/long. MCP-compliant weather server for Claude and other AI assistants.
We found that @jaredco/weather-mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.