Navigation
Malaysia Prayer Time MCP Server: Hyper-Accurate Real-Time Timings - MCP Implementation

Malaysia Prayer Time MCP Server: Hyper-Accurate Real-Time Timings

Malaysia Prayer Time MCP Server: Hyper-accurate, real-time prayer timings tailored for developers. Seamless integration, trusted by mosques and apps nationwide. Precision meets convenience!

Research And Data
4.4(33 reviews)
49 saves
23 comments

This tool saved users approximately 14039 hours last month!

About Malaysia Prayer Time MCP Server

What is Malaysia Prayer Time MCP Server: Hyper-Accurate Real-Time Timings?

The Malaysia Prayer Time MCP Server is a specialized Model Context Protocol (MCP) server designed to deliver hyper-accurate, real-time prayer timings for zones across Malaysia. It leverages the MPT Waktu Solat API to provide precise data, ensuring compliance with local religious guidelines. This server enables seamless integration into applications requiring instant access to sunrise, midday, dusk, and other critical prayer times.

How to Use Malaysia Prayer Time MCP Server: Hyper-Accurate Real-Time Timings?

Installation Steps

  1. Create a virtual environment and install dependencies via uv toolchain:
    uv venv
    source .venv/bin/activate
    uv pip install -e .
  2. Grant execution permissions to the server executable:
    chmod +x bin/mcp-server-waktu-solat

Claude Desktop Configuration

Edit claude_desktop_config.json to include the server under mcpServers:

"waktu-solat": {
  "command": "uvx",
  "args": ["run", "/absolute/path/to/bin/mcp-server-waktu-solat"],
  "env": {}
}

Restart Claude Desktop to activate the integration.

Malaysia Prayer Time MCP Server Features

Key Features of Malaysia Prayer Time MCP Server: Hyper-Accurate Real-Time Timings?

  • Zone-Specific Precision: Retrieve times for over 100 predefined zones (e.g., SGR01 for Selangor, KUL01 for Kuala Lumpur).
  • Dynamic Zone Discovery: Instantly fetch a comprehensive list of supported zones programmatically.
  • Real-Time Status Updates: Obtain current prayer phase status with sub-minute accuracy, including time remaining until next prayer.

Use Cases of Malaysia Prayer Time MCP Server: Hyper-Accurate Real-Time Timings?

  • Personal Use: Developers building Islamic apps for prayer reminder features.
  • Religious Institutions: Mosques needing automated timing updates for announcement systems.
  • Event Planners: Scheduling cultural or religious events synchronized with local prayer schedules.
  • Geospatial Analysis: Researchers studying prayer timing variations across Malaysian regions.

Malaysia Prayer Time MCP Server FAQ

FAQ from Malaysia Prayer Time MCP Server: Hyper-Accurate Real-Time Timings?

What dependency manager is required?
The uv toolchain is mandatory for package management and environment setup.
How are daylight savings handled?
Calculated automatically using马来西亚's official astronomical algorithms.
Can I test without deployment?
Yes, use uv test for unit tests and edge case validation.
Are zone codes standardized?
Yes, follows the National Mosque Department's official 4-digit geocoding system.

Content

Malaysia Prayer Time MCP Server

Malaysia Prayer Time MCP Server

An MCP (Model Context Protocol) server that provides access to Malaysia Prayer Time data using the API from github.com/mptwaktusolat/api-waktusolat.

Features

  • Get prayer times for specific zones in Malaysia
  • List all available prayer time zones
  • Get current prayer time status for a zone

Installation

  1. Create a virtual environment and install dependencies using uv:
uv venv
source .venv/bin/activate
uv pip install -e .
  1. Make the server executable:
chmod +x bin/mcp-server-waktu-solat

Usage

Running in Claude Desktop

  1. Add the following configuration to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
  "mcpServers": {
    "waktu-solat": {
      "command": "uvx",
      "args": ["run", "/absolute/path/to/bin/mcp-server-waktu-solat"],
      "env": {}
    }
  }
}

Replace /absolute/path/to/ with the actual path where you cloned this repository.

  1. Restart Claude Desktop to load the new MCP server.

Available MCP Tools

The server implements the following tools:

get_prayer_times

Get prayer times for a specific zone in Malaysia

  • Input: zone (string) - The zone code (e.g., 'SGR01', 'KUL01')

list_zones

List all available prayer time zones in Malaysia

  • No input required

get_current_prayer

Get the current prayer time status for a specific zone

  • Input: zone (string) - The zone code (e.g., 'SGR01', 'KUL01')

Development

  1. Clone the repository
  2. Install development dependencies:
uv venv
source .venv/bin/activate
uv pip install -e .
  1. Run the server:
./bin/mcp-server-waktu-solat

License

See LICENSE file.

Related MCP Servers & Clients