Weather MCP Server
Click on "Install 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 ServerWhat are the active weather alerts for California?"
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
A TypeScript Model Context Protocol (MCP) Streamable HTTP server that provides real-time US weather data using the NOAA National Weather Service (NWS) API.
Tools
Tool | Description |
| Get active weather alerts for a US state (two-letter state code, e.g. |
| Get weather forecast for a US location by latitude and longitude |
Note: Only US locations are supported by the NWS API.
Related MCP server: Weather MCP Server
Prerequisites
Node.js v18 or later
npm
Setup
Clone the repository and install dependencies:
git clone <repository-url> cd custom-mcp-server npm installBuild the TypeScript source:
npm run buildRun the server:
npm start
The MCP endpoint is available at http://127.0.0.1:3010/mcp.
Set HOST and PORT to change the listening address. For example:
HOST=0.0.0.0 PORT=8080 npm startDevelopment
To watch for changes and recompile automatically:
npm run devConnecting to an MCP Client
To use this server with an MCP client such as VS Code Copilot, start the server and add its URL to your MCP configuration:
{
"servers": {
"weather": {
"type": "http",
"url": "http://127.0.0.1:3010/mcp"
}
}
}Container
Build and run the server locally:
docker build -t weather-mcp .
docker run --rm -p 3010:3010 weather-mcpThe health endpoint is available at http://127.0.0.1:3010/healthz.
Deploy to Azure Container Apps
The deployment creates an Azure Container Registry, a Consumption-plan Container Apps environment, Log Analytics, and an externally accessible Container App. The app uses a managed identity with the AcrPull role; registry admin credentials are disabled.
Prerequisites:
Azure CLI
An Azure account with permission to create resources and role assignments
Sign in and run the deployment:
az login
./scripts/deploy.shCustomize the deployment with environment variables:
RESOURCE_GROUP=my-weather-rg \
LOCATION=westus2 \
APP_NAME=my-weather-mcp \
IMAGE_TAG=v1 \
./scripts/deploy.shSet AZURE_SUBSCRIPTION_ID when the signed-in account has access to multiple subscriptions. The script builds and publishes the image with ACR Tasks, so local Docker is not required.
Project Structure
src/
index.ts # Server entry point and tool definitions
build/
index.js # Compiled output (generated by npm run build)
infra/
registry.bicep # Azure Container Registry
main.bicep # Container Apps resources
scripts/
deploy.sh # Build, publish, and deploy workflow
Dockerfile
package.json
tsconfig.jsonThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides tools to fetch weather alerts for US states and forecasts based on latitude/longitude coordinates using the US National Weather Service API.Last updated21051MIT
- FlicenseBqualityDmaintenanceA Model Context Protocol server that provides current weather forecasts for specific locations and active weather alerts for US states.Last updated2
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables AI models to fetch weather alerts and detailed forecasts for US locations using the National Weather Service API.Last updated105GPL 3.0
- Flicense-qualityDmaintenanceA Model Context Protocol (MCP) server that provides real-time weather alerts and forecasts from the US National Weather Service.Last updated
Related MCP Connectors
Get US weather forecasts, active alerts, and current observations.
NOAA Weather MCP — National Weather Service forecasts and alerts
Hosted weather data MCP for discovery, validation, and OAuth-protected GribStream queries.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/ruifelixpereira/mcp-http-example'
If you have feedback or need assistance with the MCP directory API, please join our Discord server