jaystarz1
MCP Serverjaystarz1public

mcp weather location time server

Helps you find out the forecast for where and when you're going to do something to help you understand how to dress, pack, or select an activity.

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

Helps you find out the forecast for where and when you're going to do something to help you understand how to dress, pack, or select an activity.

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Weather/Location/Time MCP Server

This project provides a unified Model Context Protocol (MCP) server for weather, location, and time tools.
It is designed for use as a remote MCP tool server for AI models (like Claude, GPT, etc.).

Features

  • Modular Python project using FastAPI and FastMCP
  • Three integrated MCP tools:
    • Weather: US National Weather Service (NWS) API forecasts by latitude/longitude
    • Location: Geocoding using OpenStreetMap Nominatim API (no API key required)
    • Time: Current date/time for any IANA timezone
  • Production-ready: deployable to Render.com or any cloud server

Quick Start (Local)

  1. Clone the repo

    git clone https://github.com/jaystarz1/mcp-weather-location-time-server.git
    cd mcp-weather-location-time-server
    
  2. Create and activate a virtual environment

    python3.11 -m venv .venv
    source .venv/bin/activate
    
  3. Install dependencies

    pip install -r requirements.txt
    
  4. Run the server

    python main.py
    
  • Server will run at http://localhost:8000/
  • Main MCP endpoint is /sse
  • This server is intended for use by MCP-capable clients, not for human web browsing.

MCP Tools

  • get_weather: Returns the weather forecast for a given latitude/longitude (US only).
  • get_location: Looks up latitude/longitude for an address or place name.
  • get_current_time: Returns the current date/time in any IANA timezone.

Deployment

Deploy to Render.com

  1. Create a new Web Service on Render.com and connect this repo.
  2. Set:
    • Build Command: pip install -r requirements.txt
    • Start Command: python main.py
    • Environment Variable: PYTHON_VERSION = 3.11.12
  3. Click “Deploy”.

Environment Variables

  • None required for open APIs (Weather/Location/Time).

Troubleshooting

See Troubleshooting Guide for common problems and solutions (update this link if you create a guide).


License

MIT


Credits

  • Built by jaystarz1 using FastAPI and FastMCP.
  • Weather data by US National Weather Service.
  • Location/geocoding by OpenStreetMap Nominatim.

Quick Start

1

Clone the repository

git clone https://github.com/jaystarz1/mcp-weather-location-time-server
2

Install dependencies

cd mcp-weather-location-time-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerjaystarz1
Repomcp-weather-location-time-server
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation