MCP.so
ログイン

Weather Microservice with MCP + UV

@hightower9

基本情報

カテゴリ

メディアとデザイン

トランスポート

stdio

作者

hightower9

Weather Microservice with MCP + UV について

概要はまだありません

#weather-microservice#api#docker

Weather Microservice with MCP + UV の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "weather-mcp-server-hightower9": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "dev",
        "server.py"
      ]
    }
  }
}

Weather Microservice with MCP + UV のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is 🌤️ Weather Microservice with MCP + UV?

A lightweight, MCP-powered weather API service that uses uv for Python dependency management and Docker for containerized deployment. It is built for seamless local development, Claude Desktop integration, and scalable deployment.

How to use 🌤️ Weather Microservice with MCP + UV?

Run the server in development mode with hot reload using uv run mcp dev server.py. For Claude Desktop integration, install the server with uv run mcp install server.py. For production, build and run the Docker image with docker build -t weather-service . and docker run --env-file .env -p 6274:6274 weather-service.

Key features of 🌤️ Weather Microservice with MCP + UV

  • Fast local development with live reload using uv and mcp
  • Dockerized for production or staging environments
  • Claude Desktop integration‑ready
  • Loads secrets securely from .env or environment variables

Use cases of 🌤️ Weather Microservice with MCP + UV

  • Rapid prototyping of a weather API with hot‑reload support
  • Integration with Claude Desktop for conversational weather queries
  • Containerized deployment to cloud or on‑premises infrastructure
  • Local development with dependency management via uv

よくある質問

1

What dependencies are required to run this server?

The server requires Python and the `mcp` package, managed via `uv`. Additional dependencies like `pandas` and `numpy` can be added on the fly with `--with` flags.

2

How do I set environment variables for the server?

Create a `.env` file in the project root with variables such as `API_KEY` and `DB_URL`, or inject them via the `-v` flag when installing to Claude Desktop.

3

How do I run the server in development mode?

Use `uv run mcp dev server.py` to start with hot reload. Optionally add `--with pandas --with numpy` to include extra dependencies.

4

Can I deploy this server in a container?

Yes, build the Docker image with `docker build -t weather-service .` and run it with `docker run --env-file .env -p 6274:6274 weather-service`.

コメント

「メディアとデザイン」の他のコンテンツ