PHPackages                             mrkiyani001/laravel-weather-mcp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mrkiyani001/laravel-weather-mcp

ActiveLibrary[API Development](/categories/api)

mrkiyani001/laravel-weather-mcp
===============================

A Laravel MCP Server that provides real-time weather data for any city using Open-Meteo API — no API key required.

00PHP

Since May 5Pushed 1mo agoCompare

[ Source](https://github.com/Mrkiyani001/Laravel-Weather-Mcp)[ Packagist](https://packagist.org/packages/mrkiyani001/laravel-weather-mcp)[ RSS](/packages/mrkiyani001-laravel-weather-mcp/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Weather MCP Server
==========================

[](#laravel-weather-mcp-server)

A simple, plug-and-play Model Context Protocol (MCP) server package for Laravel. It provides real-time weather data for any city to your AI assistant (Claude, Cursor, etc.) using the free Open-Meteo API. No API keys required.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 12.0+

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require mrkiyani001/laravel-weather-mcp
```

The package will automatically register its service provider.

Usage
-----

[](#usage)

Start the MCP server using the following artisan command:

```
php artisan mcp:serve weather
```

### Connecting to AI Assistants

[](#connecting-to-ai-assistants)

#### Claude Desktop

[](#claude-desktop)

Add this to your `claude_desktop_config.json`:

```
{
  "mcpServers": {
    "laravel-weather": {
      "command": "php",
      "args": ["C:\\path\\to\\your\\laravel-project\\artisan", "mcp:serve", "weather"]
    }
  }
}
```

#### Cursor IDE

[](#cursor-ide)

Add this to your `~/.cursor/mcp.json`:

```
{
  "mcpServers": {
    "laravel-weather": {
      "command": "php",
      "args": ["artisan", "mcp:serve", "weather"],
      "cwd": "C:\\path\\to\\your\\laravel-project"
    }
  }
}
```

Once connected, simply ask your AI: *"What is the weather in Lahore?"*

Author
------

[](#author)

**Farhan Kayani** - Backend Developer

- GitHub: [@Mrkiyani001](https://github.com/Mrkiyani001)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance61

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dc17d06e88c2d85aa6f66881510e63c2f8d7cc061bd78f050085aba05eed676c?d=identicon)[mrkiyani001](/maintainers/mrkiyani001)

---

Top Contributors

[![Mrkiyani001](https://avatars.githubusercontent.com/u/169098905?v=4)](https://github.com/Mrkiyani001 "Mrkiyani001 (1 commits)")

### Embed Badge

![Health badge](/badges/mrkiyani001-laravel-weather-mcp/health.svg)

```
[![Health](https://phpackages.com/badges/mrkiyani001-laravel-weather-mcp/health.svg)](https://phpackages.com/packages/mrkiyani001-laravel-weather-mcp)
```

###  Alternatives

[facebook/php-business-sdk

PHP SDK for Facebook Business

90923.5M35](/packages/facebook-php-business-sdk)[exsyst/swagger

A php library to manipulate Swagger specifications

35916.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
