Simple Weather MCP Server example from Quickstart

by MCP-Mirror

280 downloads Not rated yet

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"
            ]
        }
    }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.