An open API service indexing awesome lists of open source software.

https://github.com/ayaan270/weather-mcp-server

A lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data.
https://github.com/ayaan270/weather-mcp-server

agent claude go mcp mcp-server modelcontextprotocol nodejs python sse stdio typescript weather

Last synced: 2 months ago
JSON representation

A lightweight Model Context Protocol (MCP) server that enables AI assistants like Claude to retrieve and interpret real-time weather data.

Awesome Lists containing this project

README

        

# 🌤️ Weather MCP Server

![GitHub Repo stars](https://img.shields.io/github/stars/Ayaan270/weather-mcp-server?style=social) ![GitHub license](https://img.shields.io/github/license/Ayaan270/weather-mcp-server) ![GitHub issues](https://img.shields.io/github/issues/Ayaan270/weather-mcp-server)

Welcome to the **Weather MCP Server**! This lightweight Model Context Protocol (MCP) server allows AI assistants like Claude to retrieve and interpret real-time weather data. With a focus on simplicity and efficiency, this server provides an easy way to access weather information and enhance your applications.

## Table of Contents

- [Features](#features)
- [Getting Started](#getting-started)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

## Features

- **Lightweight**: Designed to be efficient and easy to use.
- **Real-time Data**: Fetch current weather data effortlessly.
- **AI Integration**: Compatible with AI assistants like Claude.
- **Open Source**: Contribute to the project and help it grow.

## Getting Started

To get started with the Weather MCP Server, download the latest release from our [Releases page](https://github.com/Ayaan270/weather-mcp-server/releases).

### Prerequisites

- Go (Golang) installed on your machine.
- Basic understanding of how to run Go applications.

### Installation

1. Download the latest release from the [Releases page](https://github.com/Ayaan270/weather-mcp-server/releases).
2. Extract the downloaded file.
3. Navigate to the extracted folder in your terminal.

## Usage

To run the server, use the following command:

```bash
go run main.go
```

Once the server is running, you can make requests to fetch weather data. The server listens for incoming requests and responds with the necessary weather information.

### Example Request

You can make a request using curl:

```bash
curl http://localhost:8080/weather?location=NewYork
```

This will return the current weather data for New York.

## Contributing

We welcome contributions! If you have ideas for improvements or new features, please open an issue or submit a pull request.

### Steps to Contribute

1. Fork the repository.
2. Create a new branch for your feature or fix.
3. Make your changes.
4. Submit a pull request.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

## Contact

For any questions or feedback, feel free to reach out:

- GitHub: [Ayaan270](https://github.com/Ayaan270)
- Email: [email protected]

---

Thank you for your interest in the Weather MCP Server! We hope it serves your needs well. Don't forget to check the [Releases page](https://github.com/Ayaan270/weather-mcp-server/releases) for the latest updates and downloads. Happy coding!