Weather MCP Server

v0.3.2Analyticsstable

Weather Data Fetcher MCP server built with Node.js, MCP SDK, and Zod. Provides weather details like temperature and forecast for cities such as Noida and Delhi via a registered tool. Simplifies API integration, enabling structured responses for clien

mcpnuxtvitevite-pluginmodelcontextprotocol
Share:
907
Stars
0
Downloads
0
Weekly
0/5

What is Weather MCP Server?

Weather MCP Server is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to weather data fetcher mcp server built with node.js, mcp sdk, and zod. provides weather details like temperature and forecast for cities such as noida and delhi via a registered tool. simplifies api in...

Weather Data Fetcher MCP server built with Node.js, MCP SDK, and Zod. Provides weather details like temperature and forecast for cities such as Noida and Delhi via a registered tool. Simplifies API integration, enabling structured responses for clien

This server falls under the Analytics category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Weather Data Fetcher MCP server built with Node.js, MCP SDK,

Use Cases

Real-time weather data fetching
Temperature and forecast retrieval for cities
antfu

Maintainer

LicenseMIT License
Languagetypescript
Versionv0.3.2
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y vite-plugin-mcp

Manual Installation

npx -y vite-plugin-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Weather MCP Server

vite-plugin-mcp is an experimental Vite plugin (with a companion nuxt-mcp-dev Nuxt module) that embeds an MCP server directly into your Vite or Nuxt development server, giving AI assistants real-time awareness of your local dev environment including routes, components, and module graph data. Rather than requiring a separate process, the MCP server runs alongside the Vite dev server so that tools like Claude or Cursor can query live application state while you code. It is authored by Anthony Fu and designed as an opt-in enhancement for front-end developers who want AI assistants to have accurate, up-to-date context about their project during development.

Prerequisites

  • Node.js 18+ and npm/pnpm/yarn
  • An existing Vite or Nuxt project
  • An MCP-compatible client such as Claude Desktop or Cursor
  • The package is experimental — review the GitHub repository for the current stability status before using in critical workflows
1

Install the plugin

Add vite-plugin-mcp to your Vite project's dev dependencies, or use nuxt-mcp-dev for a Nuxt project.

# Vite project:
npm install -D vite-plugin-mcp

# Nuxt project:
npm install -D nuxt-mcp-dev
2

Register the plugin in your Vite config

Import and add the plugin to your vite.config.ts. The MCP server will start automatically alongside the Vite dev server.

// vite.config.ts
import { defineConfig } from 'vite'
import { McpPlugin } from 'vite-plugin-mcp'

export default defineConfig({
  plugins: [
    McpPlugin()
  ]
})
3

Register the module in your Nuxt config (Nuxt projects)

For Nuxt projects, add the module to nuxt.config.ts instead of vite.config.ts.

// nuxt.config.ts
export default defineNuxtConfig({
  modules: ['nuxt-mcp-dev']
})
4

Start the dev server

Run your normal Vite or Nuxt dev command. The MCP server will start on a local port alongside the dev server — check the console output for the MCP endpoint URL.

npm run dev
5

Connect your MCP client

Add the local MCP endpoint to your MCP client configuration. The exact port will be printed in the dev server output when the plugin initializes.

{
  "mcpServers": {
    "vite-mcp": {
      "command": "npx",
      "args": ["-y", "vite-plugin-mcp"]
    }
  }
}

Weather MCP Server Examples

Client configuration

Add vite-plugin-mcp to your MCP client so the AI assistant can query your running Vite dev server.

{
  "mcpServers": {
    "vite-mcp": {
      "command": "npx",
      "args": ["-y", "vite-plugin-mcp"]
    }
  }
}

Prompts to try

With the plugin running alongside your dev server, your AI assistant can query live project state.

- "What routes are currently registered in my Vite app?"
- "List all Vue components loaded in the current module graph"
- "What plugins are active in the Vite dev server right now?"
- "Show me the current module dependencies for App.vue"

Troubleshooting Weather MCP Server

The MCP server port is not printed in the dev server output

Confirm that McpPlugin() is listed in the plugins array of vite.config.ts and that you are running the dev server (not a production build). The MCP server only activates in development mode.

Client cannot connect to the local MCP endpoint

Check that your Vite dev server is running and note the port shown in the console. Ensure no firewall or security tool is blocking local connections on that port.

Plugin is listed as experimental and behavior is unstable

Pin to a specific version in package.json rather than using 'latest' to avoid breaking changes between releases. Check the GitHub repository for the latest stable release and any known issues.

Frequently Asked Questions about Weather MCP Server

What is Weather MCP Server?

Weather MCP Server is a Model Context Protocol (MCP) server that weather data fetcher mcp server built with node.js, mcp sdk, and zod. provides weather details like temperature and forecast for cities such as noida and delhi via a registered tool. simplifies api integration, enabling structured responses for clien It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Weather MCP Server?

Install via npm with the command: npx -y vite-plugin-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Weather MCP Server?

Weather MCP Server works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Weather MCP Server free to use?

Yes, Weather MCP Server is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Analytics MCP Servers

Explore all analytics servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-server": { "command": "npx", "args": ["-y", "vite-plugin-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Weather MCP Server?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides