wheather-mcp-server

このプロジェクトは、AnthropicのMCPサーバープロトコルを使用して、天気警報や天気の詳細を取得するためのサーバーです。Claude Desktopアプリを介して、標準化された方法でAIアプリケーションにコンテキストを提供します。MCPは、AIアプリケーションの接続を簡素化し、効率的なデータ取得を可能にします。

GitHubスター

0

ユーザー評価

未評価

お気に入り

0

閲覧数

4

フォーク

0

イシュー

0

README
MCP Weather Server

Status
GitHub Issues
GitHub Pull Requests
License


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.

  1. Do a "npm i"
  2. Build the project using "npm build"
  3. Run the MCP server using node build/index.js
  4. 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"
    // ]
    // }
    // }
    // }
  5. 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
Screenshot 2025-04-13 at 07 39 51
⛏️ Built Using
✍️ References

https://modelcontextprotocol.io/quickstart/server