Skip to main content
Glama

Weather MCP Server

Weather MCP Server

An MCP (Model Context Protocol) server that provides temperature conversion tools via HTTP.

Features

  • transformFahrenheitToCelsius: Convert temperature from Fahrenheit to Celsius

Installation

npm install

Development

npm run dev

Build

npm run build

Run

npm start

The 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 deploy

Update existing deployment:

npm run deploy:quick

Delete from AWS:

sam delete --stack-name weather-mcp

Prerequisites

  • 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).

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables temperature conversion from Fahrenheit to Celsius through HTTP requests. Provides a simple MCP tool for temperature unit conversion with AWS Lambda deployment support.

  1. Features
    1. Installation
      1. Development
        1. Build
          1. Run
            1. Usage
              1. AWS Deployment
                1. Quick Start
                2. Prerequisites
                3. Cost

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/mkowalskizoovu/mcp-test'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server