Weather MCP Server
Enables deployment of the weather MCP server as a serverless function on AWS Lambda with API Gateway integration for scalable temperature conversion services
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Weather MCP Serverconvert 98.6 Fahrenheit to Celsius"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Weather MCP Server
An MCP (Model Context Protocol) server that provides temperature conversion tools via HTTP.
Features
transformFahrenheitToCelsius: Convert temperature from Fahrenheit to Celsius
Related MCP server: Unit Converter MCP Server
Installation
npm installDevelopment
npm run devBuild
npm run buildRun
npm startThe server will run on http://localhost:3000/mcp by default. You can change the port by setting the PORT environment variable.
Usage
Send POST requests to /mcp endpoint with MCP protocol messages.
Example request to call the tool:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "transformFahrenheitToCelsius",
"arguments": {
"fahrenheit": 98.6
}
}
}AWS Deployment
This server is ready for AWS Lambda + API Gateway deployment.
Quick Start
First deployment:
npm run deployUpdate existing deployment:
npm run deploy:quickDelete from AWS:
sam delete --stack-name weather-mcpPrerequisites
AWS CLI installed and configured (
aws configure)AWS SAM CLI installed
AWS account with appropriate permissions
See DEPLOYMENT.md for detailed setup instructions.
Cost
Should be $0 for testing (within AWS free tier: 1M requests/month).
This server cannot be deployed
Maintenance
Related MCP Connectors
temperature-random MCP — wraps StupidAPIs (keyless — no credential needed)
OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
Weather MCP — wraps Open-Meteo API (free, no auth)
ship-on-friday MCP — wraps StupidAPIs (keyless — no credential needed)
Related MCP Servers
- AlicenseAqualityDmaintenanceA simple MCP server that provides a basic greeting tool and serves as a starter template for AWS Lambda deployment. Demonstrates how to build and deploy MCP servers with both local development and cloud deployment capabilities.117 npmMIT
- FlicenseNot gradedqualityDmaintenanceProvides unit conversion tools (celsius/fahrenheit, kilometers/miles) via MCP, along with resources and prompts for conversion explanations and API usage.1-
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server deployed on AWS Lambda and exposed via API Gateway, enabling tools like addition through JSON-RPC interactions.17-
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server deployed on AWS Lambda and API Gateway using AWS CDK, enabling tool execution via JSON-RPC (e.g., an add tool).3-