Overview
The hideya_weather-mcp-server is a simple weather server example that demonstrates the Model Context Protocol (MCP) through a quickstart guide.
To use the server, clone the repository, install the necessary packages, and build the project using npm commands. Configure the server settings in the Claude for Desktop configuration file.
- Easy setup with npm installation - Example configuration for weather data retrieval - Demonstrates the use of Model Context Protocol
- Setting up a local weather server for development purposes.
- Learning how to implement MCP in applications.
- Testing weather data retrieval functionalities.
Add to your AI client
Use these steps to connect Simple Weather MCP Server example from Quickstart in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"hideya-weather-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hideya-weather-mcp-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"hideya-weather-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hideya-weather-mcp-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"hideya-weather-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hideya-weather-mcp-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"hideya-weather-mcp-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hideya-weather-mcp-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"hideya-weather-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hideya-weather-mcp-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"hideya-weather-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hideya-weather-mcp-server-mcp-mirror"
]
}
}
}FAQ
What is the Model Context Protocol (MCP)?
MCP is a protocol designed for context-aware applications, allowing them to communicate and share data effectively.
Is this project suitable for production use?
This project is primarily an example and may require further development for production use.
Where can I find the quickstart guide?
The quickstart guide is available at https://modelcontextprotocol.io/quickstart.