azan-mcp
A lightweight MCP library to calculate prayer times and trigger Azan with a single tool call.
The Azan library simplifies the process of calculating Islamic prayer times by allowing developers to input essential parameters such as latitude, longitude, timezone, height, and the method of calculation. This eliminates the need for complex astronomical calculations and ensures accurate prayer time notifications, even in challenging weather conditions. With just one line of code, developers can integrate this functionality into their applications, making it ideal for AI agents or prayer applications. By using the Azan library, developers can focus on building features rather than dealing with the intricacies of time calculations. The library supports various calculation methods, ensuring flexibility and accuracy based on different geographical locations and preferences.
Compatible with
Install
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"azan-mcp": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-azan-mcp"
]
}
}
}Config File Location
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Some servers require additional setup - check the GitHub README for specific instructions.
Permissions