weather
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., "@weatherWhat's the weather in New York City?"
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.
My First MCP - Weather Server
A simple Model Context Protocol (MCP) server that provides weather information for any city.
Disclaimer
This is a proof-of-concept implementation meant to demonstrate basic MCP server functionality. It does not include data validation, error handling, rate limiting, or other production-ready features. Use it as a learning resource to understand how to build MCP servers.
Related MCP server: Weather MCP
Installation
Clone the repository
Install dependencies:
pnpm installRunning the Server
Start the server with the inspector:
pnpm insThe server will be available through the MCP protocol. You can use it with any MCP-compatible client.
Configuration
The server is configured locally to run with:
{
"mcpServers": {
"weather": {
"command": "npx",
"args": [
"-y",
"tsx",
"(path-to-the-file)\\index.ts"
]
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
Free, keyless real-time weather and 7-day forecasts for any city worldwide.
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
Provide real-time and forecast weather information for locations in the United States using natura…
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides real-time weather data and forecasts for any city.110 npmISC
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables natural language weather queries for global cities, integrating with OpenWeather API to provide real-time weather information in an easy-to-read format.1-
- FlicenseBqualityDmaintenanceProvides weather information for the United States through the Model Context Protocol. Enables users to query current weather conditions and forecasts for US locations.2-
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather data including temperature, humidity, and conditions for any city through the Model Context Protocol.4-