# Prayer times and sun times > Islamic prayer times (fajr, dhuhr, asr, maghrib, isha; 20+ calculation methods, default by country) and sunrise, sunset and twilight for 34,000 towns (English or Arabic names) or any coordinates, in local time. Free JSON API and MCP server. No key needed. - MCP server (Streamable HTTP): https://prayer-times.mnpi.workers.dev/mcp. Tools: prayer_times(place|latitude+longitude, date?, method?, asr?, days?), sun_times(place|latitude+longitude, date?), prayer_methods() - REST: GET https://prayer-times.mnpi.workers.dev/v1/prayer?place=Riyadh · GET https://prayer-times.mnpi.workers.dev/v1/prayer?place=Birmingham&country=GB&days=30 · GET https://prayer-times.mnpi.workers.dev/v1/sun?place=Auckland - OpenAPI: https://prayer-times.mnpi.workers.dev/openapi.json - Times are computed astronomically; local mosques may differ by a few minutes or use another method. Places: GeoNames (geonames.org), CC BY 4.0.