mcpField
M
My Weather Server 0706

My Weather Server 0706

Local
github.com/yangvueMedia & Design0Updated 16w ago

About My Weather Server 0706

A small MCP server for retrieving current weather by city. It uses Open-Meteo geocoding and forecast APIs and requires no API key.

Key features

  1. 01Look up current weather by city
  2. 02Resolve cities through Open-Meteo geocoding
  3. 03Return temperature and conditions

Use cases

  1. 01Check current conditions for a named city
  2. 02Retrieve weather details during an assistant conversation

MCP support

Exposes a single `get_weather` tool that MCP clients can call with a city name. Weather and geocoding data come from Open-Meteo; no API key is required.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"my-weather-server-0706": {
"command": "npx",
"args": [
"-y",
"open-meteo-mcp-weather-server"
]
}
}
}
Run commandnpx -y open-meteo-mcp-weather-server

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmopen-meteo-mcp-weather-server

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
citystringYesCity name

Details

From the project README

my-weather-server-0706

MCP server for querying current weather by city. It uses Open-Meteo geocoding and forecast APIs, and exposes one MCP tool: get_weather.

Tools

get_weather

Get current weather for a city.

Input:

{
  "city": "上海"
}

Output:

通过 my-weather-server-0706 返回:上海 当前天气是:阴天
定位:上海,上海市,中国
温度:...
体感温度:...
湿度:...
降水:...
云量:...
风速:...
风向:...
更新时间:...

Install

From GitHub:

npx -y github:yangvue/my-weather-server-0706

From npm, once published:

npx -y open-meteo-mcp-weather-server

From this repository:

npm install
npm start

MCP Configuration

Use this config to run from GitHub:

{
  "mcpServers": {
    "my-weather-server-0706": {
      "command": "npx",
      "args": ["-y", "github:yangvue/my-weather-server-0706"]
    }
  }
}

Use this config after the package is published to npm:

{
  "mcpServers": {
    "my-weather-server-0706": {
      "command": "npx",
      "args": ["-y", "open-meteo-mcp-weather-server"]
    }
  }
}

Use this config when running from a local checkout:

{
  "mcpServers": {
    "my-weather-server-0706": {
      "command": "node",
      "args": ["/absolute/path/to/my-mcp-server/index.js"]
    }
  }
}

Data Source

  • Geocoding: Open-Meteo Geocoding API
  • Weather: Open-Meteo Forecast API

No API key is required.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.