Back to MCP directory
publicPublicdnsLocal runtime

jp-weather-mcp-server

一个基于日本天气API的简单MCP服务器项目,提供天气数据服务

article

README

🚀 日本天气 MCP 服务器 🌠

这是一个简单的 MCP 服务器,借助 天気予報 API(livedoor 天气互換) 来提供服务。

🚀 快速开始

📦 安装指南

使用 uv 安装依赖项:

uv sync

💻 使用示例

与 Claude 桌面一起使用

{
  "mcpServers": {
    "Weather MPC Server": {
      "command": "/path/to/your/uv", // 检查 `which uv`
      "args": [
        "--directory",
        "/path/to/your/jp-weather-mcp-server", //项目完整路径
        "run",
        "weather.py"
      ]
    }
  }
}
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client