1.0.2 • Published 11 months ago

@fak111/weather-mcp v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

Weather MCP Service

This is a TypeScript-based weather service MCP (Mission Control Protocol) that provides weather information for different cities.

Prerequisites

  • Node.js (v14 or higher)
  • pnpm (recommended) or npm

Installation

  1. Clone the repository:
git clone [your-repository-url]
  1. Install dependencies:
pnpm install
# or if using npm
npm install
  1. Build the project:
pnpm build
# or if using npm
npm run build

Usage

Run the MCP service:

node build/index.js

The service will be available for use with Cursor AI, allowing you to query weather information for various cities.

Example Usage

You can use this MCP to get weather information for any city through Cursor AI. For example:

// Get weather for New York
mcp__get_weather({ city: "New York" })

Development

To make changes to the service:

  1. Modify the source code in the src directory
  2. Rebuild the project:
pnpm build
  1. Restart the service

License

MIT

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago