Provides accurate Islamic prayer times for locations throughout Malaysia using the waktusolat.app API.
Malaysia Prayer Time MCP Server provides accurate Islamic prayer times for locations throughout Malaysia. This server implements the Model Context Protocol (MCP) to seamlessly integrate with Claude Desktop, delivering real-time prayer schedules directly through your AI assistant.
The server utilizes the waktusolat.app API to retrieve JAKIM-verified prayer times and supports searching by city, zone code, or coordinates.
✅ Location-Based Times: Get prayer times for any city or district in Malaysia
✅ Coordinate Support: Find prayer times using latitude and longitude coordinates
✅ Zone Code Access: Directly query using JAKIM zone codes (e.g., SGR03
for Kuala Lumpur)
✅ Complete Prayer Schedule: Retrieve all daily prayer times (Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha)
✅ Current Prayer Status: Determine the current and next prayer times
✅ Robust Error Handling: Graceful handling of network issues and API changes
✅ Seamless Claude Integration: Clean integration with Claude Desktop via MCP
pip
or uv
package manager# Clone the repository
git clone https://github.com/yourusername/mcp-server-malaysia-prayer-time.git
cd mcp-server-malaysia-prayer-time
# Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
pip install -e .
# Clone the repository
git clone https://github.com/yourusername/mcp-server-malaysia-prayer-time.git
cd mcp-server-malaysia-prayer-time
# Create and activate a virtual environment using uv
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install dependencies
uv pip install -e .
macOS:
mkdir -p ~/Library/Application\ Support/Claude/
nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows:
mkdir -p %APPDATA%\Claude
notepad %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"malaysia-prayer-time": {
"command": "/absolute/path/to/your/.venv/bin/python",
"args": [
"main.py"
],
"cwd": "/absolute/path/to/mcp-server-malaysia-prayer-time"
}
}
}
Once configured, you can interact with prayer times through Claude Desktop using natural language queries:
The MCP server exposes the following tools to Claude:
get_prayer_times
Retrieves prayer times for a specific city or zone code in Malaysia.
Parameters:
city
(string, default: "kuala lumpur"): City name or zone code (e.g., "SGR03")country
(string, default: "malaysia"): Currently only supports "malaysia"date
(string, default: "today"): Date in YYYY-MM-DD format or "today"get_prayer_times_by_coordinates
Retrieves prayer times based on geographic coordinates.
Parameters:
latitude
(float): Latitude coordinatelongitude
(float): Longitude coordinatedate
(string, default: "today"): Date in YYYY-MM-DD format or "today"list_zones
Lists all available prayer time zones in Malaysia with their corresponding codes.
The server provides these prayer times:
The server currently supports all JAKIM zones in Malaysia. The coordinate-based lookup supports these major areas:
Verify configuration paths are absolute and correct
Check Claude logs:
# macOS
tail -f ~/Library/Logs/Claude/mcp*.log
# Windows
type %APPDATA%\Claude\Logs\mcp*.log
Test the server directly:
cd /path/to/mcp-server-malaysia-prayer-time
python main.py
list_zones
)Try using a different spelling, a nearby major city, or the appropriate zone code
Contributions are welcome! Here's how you can contribute:
git checkout -b feature/amazing-feature
git commit -m 'Add some amazing feature'
git push origin feature/amazing-feature
# Clone your fork
git clone https://github.com/yourusername/mcp-server-malaysia-prayer-time.git
cd mcp-server-malaysia-prayer-time
# Set up development environment
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]" # Installs dev dependencies
# Run tests
pytest
This project is licensed under the MIT License - see the LICENSE file for details.
A philosophical reasoning system combining OpenEnded Philosophy with the Non-Axiomatic Reasoning System (NARS) for advanced analysis and synthesis.
generate lyrics, song and background music(instrumental)
Generates 3D-style cartoon images using Google's Gemini AI and provides secure file system operations.
A virtual travel environment for an avatar on Google Maps, utilizing various Google Maps and optional AI image generation APIs.
Generates O'RLY? (O'Reilly parody) book covers.
Generates O'RLY? (O'Reilly parody) book covers.
An intelligent trading assistant that fetches live stock prices using the Yahoo Finance API.
Perform bulk BNB and BEP20 token transfers on the BNB Smart Chain (BSC).
Provides real-time prices for assets like precious metals and cryptocurrencies.
An integration for Claude Desktop to interact with Spotify using the Model Context Protocol (MCP).