MCP Weather Server
This project is to use MCP server protocol of Anthropic to retrieve wheather alerts or details about the wheather using Claude Desktop app
📝 Table of Contents
🧐 About
MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.
Why MCP? MCP helps you build agents and complex workflows on top of LLMs. LLMs frequently need to integrate with data and tools, and MCP provides:
A growing list of pre-built integrations that your LLM can directly plug into The flexibility to switch between LLM providers and vendors Best practices for securing your data within your infrastructure
This project creates one such MCP server , which you can interact with claude desktop client.
🏁 Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Do a "npm i"
- Build the project using "npm build"
- Run the MCP server using node build/index.js
- Modify CLAUDE_DESKTOP_CONFIG.json (found in Library/Application Support/Claude) If not available make a new one and paste below code. // { // "mcpServers": { // "weather": { // "command": "node", // "args": [ // "/Users/spidugu/Downloads/my-projectspace/wheather/build/index.js" // ] // } // } // }
- Restart claude desktop THE HAMMER ICON WOULD SHOW THE INSTALLED MCP, CHECK THE LOGS IF THERE IS ISSUE
Prerequisites
What things you need to install the software and how to install them.
Claude Desktop (https://claude.ai/download) Node version 20 and above (https://nodejs.org/en/download)
Usage
⛏️ Built Using
- NodeJs - Server Environment
✍️ References
https://modelcontextprotocol.io/quickstart/server
Recommend MCP Servers 💡
dicom-mcp
Model Context Protocol (MCP) for interacting with dicom servers (PACS etc.)
py-mcp-line
A Model Context Protocol server implementation in Python that provides access to LINE Bot messages, enabling Language Models to read and analyze LINE conversations.
@timlukahorstmann/mcp-weather
A Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API.
grain-mcp-server
An MCP server that integrates with Grain.com to access meeting information and download transcripts, leveraging Playwright for browser automation.
ifly-spark-agent-mcp
A simple example of using MCP Server to invoke the task chain of the iFlytek SparkAgent Platform
me_mcp_server
An MCP server designed to learn about and interact with a user's personal profile, providing features like job search instructions and access to personal resources (resume, LinkedIn, GitHub, website).