Weather MCP Server
by Annihilater
Weather MCP Server provides weather information for cities around the world through a simple API interface. It uses the Model Context Protocol (MCP) to communicate with clients, allowing easy integration with AI assistants and other MCP-compatible applications.
Last updated: N/A
What is Weather MCP Server?
A simple weather information service built with Model Context Protocol (MCP). It provides weather information for cities around the world through a simple API interface.
How to use Weather MCP Server?
Clone the repository, install dependencies, build the project, and start the server. Configure the MCP settings in your application (e.g., Cursor) to use the mcp_mcp_server_get_weather_get_weather
function with a city name as input.
Key features of Weather MCP Server
Get current weather conditions by city name
Returns temperature, weather description, humidity, and wind speed
Fallback to generated data if external API is unavailable
Simple and lightweight implementation
Use cases of Weather MCP Server
Integrating weather information into AI assistants
Providing weather data to MCP-compatible applications
Displaying weather information in a user interface
Automated weather reports
FAQ from Weather MCP Server
What is MCP?
What is MCP?
Model Context Protocol (MCP) is a protocol for communication between applications and AI models.
What technologies are used?
What technologies are used?
TypeScript, Node.js, MCP SDK (@modelcontextprotocol/sdk), and Zod.
How do I install the server?
How do I install the server?
Clone the repository, run npm install
, and then npm run build
.
How do I start the server?
How do I start the server?
Run npx @modelcontextprotocol/inspector node dist/index.js
.
How do I get weather information for a city?
How do I get weather information for a city?
Call the mcp_mcp_server_get_weather_get_weather
function with the city name as a parameter.