weather mcp

weather mcp

By vhxnif GitHub

A weather MCP server Demo

sse stdio
Overview

what is Weather MCP?

Weather MCP is a weather server demo that provides real-time weather data through a server-client architecture.

how to use Weather MCP?

To use Weather MCP, install the dependencies using bun install, then run the server with bun run src/mcp/sse-server.ts for SSE or configure the Stdio server with the provided command.

key features of Weather MCP?

  • Real-time weather data streaming via SSE
  • Configurable client settings for different server types
  • Easy installation and setup with Bun package manager

use cases of Weather MCP?

  1. Streaming live weather updates to web applications.
  2. Integrating weather data into IoT devices.
  3. Building custom weather dashboards for data visualization.

FAQ from Weather MCP?

  • What is the purpose of Weather MCP?

Weather MCP serves as a demo for a weather server that streams real-time data.

  • How do I run the server?

You can run the server by executing bun run src/mcp/sse-server.ts after installing the dependencies.

  • Can I customize the client configuration?

Yes! You can modify the client configuration JSON to suit your needs.

Content

weather mcp

To install dependencies:

bun install

SSE Server

Run Server

bun run src/mcp/sse-server.ts

Client Config

{
  "url" : "http://localhost:3000/sse" 
}

Stdio Server

Client Config

{
  "command" : "bun",
  "args": [
    "run",
    "<path>/src/mcp/stdio-server.ts"
  ] 
}

No tools information available.
Github
Github by sidharthrajaram

-