A
Ai Weather MCP
by @pabz616
MCP Tutorial using Typescript and weather.com API
Created 3/5/2026
Updated about 4 hours ago
README
Repository documentation and setup instructions
ai-weather-mcp
MCP Tutorial using Typescript and weather.com API
src https://debbie.codes/blog/building-your-first-mcp-server-a-beginners-tutorial/git
OBJECTIVES
✅ Create a functional MCP server from scratch
✅ Integrate a real-time weather data from an external API
✅ Connect the MCP to VS Code and GitHub Copilot
✅ Learn the fundamentals of the Model Context Protocol
RESOURCES USED
- MCP SDK for the MCP Server -
npm install @modelcontextprotocol/sdk - ZOD for data validation -
npm install zod - Open-Meteo Weather API - Free weather data service -
https://open-meteo.com/
OUTPUT
Quick Setup
Installation guide for this server
Install Package (if required)
npx @modelcontextprotocol/server-ai-weather-mcp
Cursor configuration (mcp.json)
{
"mcpServers": {
"pabz616-ai-weather-mcp": {
"command": "npx",
"args": [
"pabz616-ai-weather-mcp"
]
}
}
}