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.
Explore
- Official example from the MCP quickstart
- Built with Node.js
- Configuration provided for Claude for Desktop
An example explained MCP Quickstart: https://modelcontextprotocol.io/quickstart
cursor ~/Library/Application\ Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"weather": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/index.js"
]
}
}
}
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.



