salaah-mcp
Salaah MCP is a service based on FastAPI and MCP (Model Context Protocol) for calculating Islamic prayer times. It uses the islamic_times library as its core calculation engine and provides two access methods: a REST API and an MCP server. Main features include: calculating prayer times based on location and date, obtaining the Qiblah direction and distance, obtaining sun position and time information, obtaining moon position and moon phase information, and calculating new moon visibility based on the Yallop criterion. It supports multiple calculation methods, such as ISNA, MWL, Umm al-Qura, Egyptian, Karachi, Tehran, and Jafari. The MCP server uses Streamable HTTP transport and by default only accepts localhost requests; allowed hostnames can be configured via the environment variable SALAAH_ALLOWED_HOSTS. This project is suitable for developers who need to integrate prayer time calculation functionality, especially for use with MCP-capable AI assistants such as Claude Desktop.