mcpField
M
Mcp Server Weather

Mcp Server Weather

Local
github.com/pradeepk-aiMedia & Design0Updated 78w ago

About Mcp Server Weather

Mcp Server Weather is an MCP server that retrieves weather data through a Weather API. Its `get_current_weather` tool accepts latitude and longitude and returns weather data as JSON.

Key features

  1. 01Calls a Weather API
  2. 02Provides the `get_current_weather` tool
  3. 03Queries by latitude and longitude
  4. 04Returns weather data as JSON

Use cases

  1. 01Look up current weather for coordinates
  2. 02Test the weather tool in MCP Inspector

MCP support

The MCP server exposes Weather API data to clients through the `get_current_weather` tool, which takes latitude and longitude.

Configuration

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

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README
MCP Server that invokes Weather API
Install uv - Rust based Python packager (windows)

winget install --id=astral-sh.uv -e

Project Setup
uv init 
uv venv
source .venv/bin/activate
uv add "mcp[cli]" httpx
Run

mcp dev server.py

  • The MCP Inspector is available at http://127.0.0.1:6274
  • Connect -> Tools -> List Tools -> get_current_weather
  • Enter a latitude and longitude, eg 63.4463991, 10.8127596
  • "Tool Result" -> you'll see a JSON object with weather data

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.