My MCP Weather Server
@EnigmaticHarvest
About My MCP Weather Server
A dummy MCP server to test the mcp-chat-cli at
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is My MCP Weather Server?
My MCP Weather Server is an example MCP (Model Context Protocol) server built with the @modelcontextprotocol/sdk for TypeScript. It exposes a single tool that returns dummy weather information for a few predefined cities, intended for use as a backend by MCP-compliant clients such as LLM‑powered agents.
How to use My MCP Weather Server?
Clone or create the project, install dependencies with npm install, then run npm run build (or use the development command with ts-node and nodemon). The server uses Streamable HTTP Transport; clients call the get_city_weather tool by providing a city string and an optional unit parameter.
Key features of My MCP Weather Server
- Implements the Model Context Protocol (MCP)
- Uses Streamable HTTP Transport for communication
- Exposes a
get_city_weathertool with structured output - Accepts optional unit parameter (metric/imperial, defaults to metric)
- Returns dummy weather data: temperature, description, humidity
- Demonstes simple in-memory session management
Use cases of My MCP Weather Server
- Prototyping an MCP‑compliant weather tool for an LLM agent
- Learning how to build and test an MCP server with TypeScript
- Demonstrating structured tool output and session handling
- Testing MCP client‑server integration without a real weather API
FAQ from My MCP Weather Server
What does the get_city_weather tool return?
It returns dummy weather information including temperature, description, and humidity, along with structuredContent matching a defined outputSchema for reliable client parsing.
What are the runtime dependencies?
Node.js v18 or higher and npm (or yarn/pnpm). The server uses the @modelcontextprotocol/sdk and runs via ts-node in development mode.
Does My MCP Weather Server use a real weather API?
No. All weather data is dummy/in‑memory for a few predefined cities (e.g., paris, london, tokyo). It is an example server, not a production service.
What transport does the server use?
It uses StreamableHTTPServerTransport, the recommended MCP transport for HTTP‑based communication.
Is authentication or session management included?
The server demonstrates basic in‑memory session handling, but no authentication mechanism is implemented.
Frequently asked questions
What does the `get_city_weather` tool return?
It returns dummy weather information including temperature, description, and humidity, along with `structuredContent` matching a defined `outputSchema` for reliable client parsing.
What are the runtime dependencies?
Node.js v18 or higher and npm (or yarn/pnpm). The server uses the `@modelcontextprotocol/sdk` and runs via `ts-node` in development mode.
Does My MCP Weather Server use a real weather API?
No. All weather data is dummy/in‑memory for a few predefined cities (e.g., paris, london, tokyo). It is an example server, not a production service.
What transport does the server use?
It uses `StreamableHTTPServerTransport`, the recommended MCP transport for HTTP‑based communication.
Is authentication or session management included?
The server demonstrates basic in‑memory session handling, but no authentication mechanism is implemented.
Basic information
More Media & Design MCP servers
yt-dlp-mcp
kevinwattA Model Context Protocol (MCP) server that bridges Video & Audio content with Large Language Models using yt-dlp.
Game Asset Generator using MCP and Hugging Face Spaces
MubarakHAlketbiAn MCP server for creating 2D/3D game assets from text using Hugging Face AI models.
Design Systems Mcp
southleftI'm your specialized design systems assistant. Ask me about components, tokens, patterns, and best practices.
Figma MCP Server
thirdstrandstudioFigma MCP Server with full API functionality
Vibe Design System
mondaycom🎨 Vibe Design System - Official monday.com UI resources for application development in React.js
Comments