prayer_time MCP Server
About
A MCP server giving Salat (Namaz | Prayer) time for 5 daily prayers with middle of night, sunset and sunrise.
Details
- Author
- imsaar
- Downloads
- 206
- Categories
- Productivity
Jump to
- Provides daily Muslim prayer times for any location
- Accepts latitude, longitude, and date as required parameters
- Built using the MCP protocol over stdio
- Supports local development with auto-rebuild via npm run watch
- Debuggable using the MCP Inspector tool
Install dependencies with npm install, then build with npm run build. Add the server configuration to your Claude Desktop configuration file (on MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows: %APPDATA%/Claude/claude_desktop_config.json) specifying the path to build/index.js. Invoke the tool get_daily_prayer_times with required parameters latitude, longitude, and date (YYYY-MM-DD).
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.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



