About prayer_time MCP Server
prayer_time MCP Server provides calculated Muslim prayer times for a specified date and location. It is intended for MCP clients that need daily Salah times from latitude and longitude.
Key features
- 01Daily prayer times by location
- 02Latitude and longitude inputs
- 03Date-specific calculations
Use cases
- 01Retrieve prayer times for a chosen date
- 02Look up times for a location using coordinates
MCP support
The MCP server exposes the `get_daily_prayer_times` tool, which accepts latitude, longitude, and a date, then returns calculated prayer times.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEprayer_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), anddate(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.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.