MCP ExplorerExplorer

Prayer Time Mcp Server

@imsaaron 9 months ago
1 MIT
FreeCommunity
AI Systems
A MCP server giving Salat (Namaz | Prayer) time for 5 daily prayers with middle of night, sunset and sunrise.

Overview

What is Prayer Time Mcp Server

prayer-time-mcp-server is an MCP server that provides the prayer times for Muslims, specifically the five daily prayers, along with additional times such as the middle of the night, sunset, and sunrise.

Use cases

Use cases include integrating prayer time notifications in mobile applications, providing prayer schedules for community centers, and enhancing religious websites with accurate prayer time data.

How to use

To use prayer-time-mcp-server, you need to install the dependencies using ‘npm install’, build the server with ‘npm run build’, and configure it in Claude Desktop by adding the server configuration in the appropriate JSON file for your operating system.

Key features

Key features include the ‘get_daily_prayer_times’ tool, which allows users to retrieve daily prayer times based on latitude, longitude, and date. The server returns calculated prayer times for the specified location and date.

Where to use

prayer-time-mcp-server can be used in religious applications, mobile apps for Muslims, and any software that requires accurate prayer time calculations based on geographical locations.

Content

prayer_time MCP Server

An MCP server to get muslim prayer (aka Salah) times for given date and location

Features

Tools

  • get_daily_prayer_times - Get daily prayer times for a specific location
  • Takes latitude (number), longitude (number), and date (string, YYYY-MM-DD) as required parameters
  • Returns the calculated prayer times for the given date and location

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "prayer_time": {
      "command": "/path/to/prayer_time/build/index.js"
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers