MCP.so
登录

Mcp Server Weather

@pradeepk-ai

关于 Mcp Server Weather

暂无概览

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Mcp Server Weather?

Mcp Server Weather is an MCP (Model Context Protocol) server that retrieves real‑time weather data from the Open‑Meteo API. It exposes a single tool, get_current_weather, which takes latitude and longitude as inputs and returns the corresponding weather information. This server is intended for use with MCP‑compatible clients like Claude Desktop.

How to use Mcp Server Weather?

Set up the project using uv (install with winget install --id=astral-sh.uv -e on Windows), then initialize a Python virtual environment and add the dependencies mcp[cli] and httpx. Run the server with the command mcp dev server.py. The MCP Inspector will be available at http://127.0.0.1:6274 — connect, list tools, choose get_current_weather, enter a latitude and longitude, and view the tool result.

Key features of Mcp Server Weather

  • Uses free Open‑Meteo API (no API key needed)
  • Single MCP tool: get_current_weather
  • Inputs are latitude and longitude only
  • Returns JSON weather data from the API
  • Easy setup with uv and mcp dev

Use cases of Mcp Server Weather

  • Retrieve current weather for any geographic coordinate
  • Integrate real‑time weather data into Claude Desktop workflows
  • Test and prototype MCP tool development locally

FAQ from Mcp Server Weather

What weather API does the server use?

The server uses the Open‑Meteo API at https://api.open-meteo.com/v1/.

What tool does the server expose?

It exposes one tool called get_current_weather.

What inputs does the tool require?

The tool requires a latitude and longitude (e.g., 63.4463991, 10.8127596).

How do I run the server locally?

After installing dependencies, run mcp dev server.py and access the MCP Inspector at http://127.0.0.1:6274.

Is an API key or authentication required?

No, the Open‑Meteo API is free and does not require an API key.

常见问题

What weather API does the server use?

The server uses the Open‑Meteo API at `https://api.open-meteo.com/v1/`.

What tool does the server expose?

It exposes one tool called `get_current_weather`.

What inputs does the tool require?

The tool requires a latitude and longitude (e.g., `63.4463991, 10.8127596`).

How do I run the server locally?

After installing dependencies, run `mcp dev server.py` and access the MCP Inspector at `http://127.0.0.1:6274`.

Is an API key or authentication required?

No, the Open‑Meteo API is free and does not require an API key.

评论

媒体与设计 分类下的更多 MCP 服务器