1.0.2 • Published 11 months ago
@fak111/weather-mcp v1.0.2
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
- Clone the repository:
git clone [your-repository-url]- Install dependencies:
pnpm install
# or if using npm
npm install- Build the project:
pnpm build
# or if using npm
npm run buildUsage
Run the MCP service:
node build/index.jsThe 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:
- Modify the source code in the
srcdirectory - Rebuild the project:
pnpm build- Restart the service
License
MIT