Simple Weather MCP Server example from Quickstart
About
An example MCP server that provides weather data, as explained in the MCP quickstart (https://modelcontextprotocol.io/quickstart). It is intended for developers learning how to build and configure an MCP server.
Details
- Author
- MCP-Mirror
- Downloads
- 280
- Categories
- Media
Jump to
- Official example from the MCP quickstart
- Built with Node.js
- Configuration provided for Claude for Desktop
Install dependencies with npm install, build with npm run build, then configure in Claude for Desktop by adding an entry to the mcpServers object in the configuration JSON (e.g., ~/Library/Application\ Support/Claude/claude_desktop_config.json).
Simple Weather MCP Server example from Quickstart
An example explained MCP Quickstart: https://modelcontextprotocol.io/quickstart
How to build
npm install
npm run build
Claude for Desktop configuration
cursor ~/Library/Application\ Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"weather": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/index.js"
]
}
}
}
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.
