Skip to main content
Glama
sthossan

Weather & Prayer Times MCP Server

by sthossan

🧠 Node MCP Local Server (TypeScript)

This is a Model Context Protocol (MCP) demo server implemented in Node.js + TypeScript, running via STDIO.

🚀 Features

  • Tools: Weather & Namaz times

  • Prompts: Motivation & Greeting

  • Resources: Example Readme

  • Sampling: Random quote

Related MCP server: MCP Weather Server

🧩 Run Locally

npm install
npm run start

API Keys

  • OpenWeatherMap:

    • Sign up for a free account at OpenWeatherMap.

    • Generate your API key.

    • Replace YOUR_OPENWEATHERMAP_API_KEY in your .env file with this key.

  • Aladhan API:

    • The Aladhan API for namaz timings generally does not require an API key for its public endpoints.

📦 Environment

Copy .env.example.env and add any API keys (if needed).

## ⚙️ Configure your MCP client to spawn the server

For Claude Desktop Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "weather-prayer": {
      "command": "node",
      "args": ["/path/to/your/mcp-server/dist/server.js"],
      "env": {
        "API_KEY": "default-api-key"
      }
    }
  }
}

For Cursor Add to your Cursor MCP configuration:

{
  "mcpServers": {
    "weather-prayer": {
      "command": "node",
      "args": ["/path/to/your/mcp-server/dist/server.js"],
      "env": {
        "API_KEY": "default-api-key"
      }
    }
  }
}

For ChatGPT If using ChatGPT with MCP support, configure in your MCP settings:

{
  "servers": [
    {
      "name": "weather-prayer",
      "command": "node",
      "args": ["/path/to/your/mcp-server/dist/server.js"],
      "env": {
        "API_KEY": "default-api-key"
      }
    }
  ]
}
F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Enables users to search for location coordinates, retrieve current weather data, and stream real-time weather updates using the Open-Meteo API. Supports location search by city name and provides detailed weather information including temperature, wind speed, and weather conditions.
    Last updated
    8
  • A
    license
    -
    quality
    D
    maintenance
    Provides real-time weather data and 5-day forecasts using OpenWeatherMap API. Supports querying by city name, country code, or geographic coordinates with detailed climate information including temperature, humidity, wind, and UV index.
    Last updated
    17
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Provides current weather conditions and 5-day forecasts for any location using the OpenWeatherMap API. Supports flexible location queries including city names, coordinates, and zip codes.
    Last updated
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Provides weather data integration using the OpenWeatherMap API, enabling users to fetch current weather conditions, hourly and daily forecasts, weather alerts, and geocoding services for any location worldwide.
    Last updated
    56
    MIT

View all related MCP servers

Related MCP Connectors

  • Islamic prayer times & calendar MCP (Aladhan API). Keyless.

  • Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sthossan/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server