Basic information
About Weather MCP Server
# Weather MCP Server
Weather MCP Server is a MCP server in the Media & Design category listed in the AddMCP.net directory, published by Annihilater. Supported transport: stdio. Runtime: node. License: MIT. Source code is hosted on github.com. Related topics: mcp-server, weather, weather-api.
Setup
{
"mcpServers": {
"mcp-server-get-weather": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"dist/index.js"
]
}
}
}
{
"mcpServers": {
"mcp-server-get-weather": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"dist/index.js"
]
}
}
}
{
"servers": {
"mcp-server-get-weather": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"dist/index.js"
]
}
}
}
Weather MCP Server — by Annihilater config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-get-weather": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"node",
"dist/index.js"
]
}
}
}
Weather MCP Server — by Annihilater tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Weather MCP Server?
Weather MCP Server is a lightweight weather information service built with the Model Context Protocol (MCP). It provides current weather conditions for cities worldwide and is designed for easy integration with AI assistants and MCP‑compatible applications.
How to use Weather MCP Server?
Clone the repository, run npm install, then npm run build. Start the server with npx @modelcontextprotocol/inspector node dist/index.js. To use in Cursor, add the configuration "mcp-server-get-weather" to ~/.cursor/mcp.json, specifying the command node and the full path to dist/index.js.
Key features of Weather MCP Server
- Retrieves current weather by city name
- Returns temperature, weather description, humidity, and wind speed
- Falls back to generated data when external API is unavailable
- Lightweight and simple implementation built with TypeScript
- Communicates via stdio transport using MCP protocol
Use cases of Weather MCP Server
- Integrating real‑time weather data into an AI assistant or chatbot
- Quickly checking weather for a specific city during conversation
- Providing weather context in automated workflows or decision‑making tools
- Serving as a demo or reference for MCP server development
Frequently asked questions
1 How does Weather MCP Server obtain weather data?
It uses an external API to fetch live weather data; if the external API is unavailable, it falls back to generated data.
2 What are the system requirements to run this server?
Node.js, npm, and TypeScript are required. The project uses the MCP SDK (@modelcontextprotocol/sdk) and Zod for validation.
3 How do I configure Weather MCP Server in Cursor?
Add the following to ~/.cursor/mcp.json: "mcp-server-get-weather": { "command": "node", "args": ["<path-to-your-project>/dist/index.js"] }
4 What transport protocol does the server use?
The server uses stdio transport, as specified in the project structure.
5 Does Weather MCP Server require any authentication or API keys?
No authentication or API keys are mentioned in the documentation.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In