Build with Masajed

Mosques, prayer and iqamah times, events and landmarks, for your app, your script or your AI assistant. Free for individuals, mosques and non-profits.

Live

MCP for AI assistants

Connect Claude or another assistant to Masajed's read-only tools. Ask it to “find a mosque near me with a women's space, open for Isha”.

https://masajed.org/mcp

Claude Code:

claude mcp add --transport http masajed https://masajed.org/mcp
  • find_mosques · Find mosques
  • get_mosque · Mosque details
  • prayer_times · Prayer times
  • list_cities · Cities
  • find_landmarks · Landmark mosques

Without a key: 30 calls a day. With a free key from your account: 2,000 a day.

Live

Feeds and widgets

  • A mosque's prayer times as a calendar feed: /m/<id>/calendar.ics
  • A city's adhan times: /times/<city>/calendar.ics
  • One class or event: /e/<id>/calendar.ics
  • A timetable for a mosque's own website: <iframe src="https://masajed.org/embed/<id>" width="100%" height="190" style="border:0"></iframe>
  • Figures by city as CSV: /state.csv
Live

REST API

Read-only JSON over GET, with a published OpenAPI description. Every answer links back to the Masajed page.

curl "https://masajed.org/v1/mosques?near=49.19,-122.85&jumuah=true" \
  -H "Authorization: Bearer YOUR_KEY"
  • /v1/mosques · near, city, q, kind, facilities, women_space, step_free, jumuah, open_now, limit
  • /v1/mosques/<id> · details and today's times
  • /v1/mosques/<id>/times · up to 7 days, with iqamah
  • /v1/cities and /v1/cities/<city>/times
  • /v1/landmarks · /v1/events

OpenAPI 3.1 description · the same daily allowance as the MCP server.

Live

Command line

For scripts and terminals on Mac, Windows and Linux. Needs Node 18 or later, nothing else.

npx masajed near 49.19,-122.85 --jumuah
npx masajed times masjid-al-salaam-burnaby --days 3
npx masajed times --city surrey

Use it often? npm install -g masajed, then just masajed. Or download the single file. Set MASAJED_KEY to your key for more than 30 calls a day. Run npx masajed --help for every command.

Fair use

  • Keys for every heavy caller, with generous free limits.
  • Credit Masajed and link back to the mosque's page.
  • No bulk copying of the database.
  • Larger or commercial use by agreement.
  • Never use Masajed data to profile people or to track who attends a mosque.

Hantar maklum balas

Apa yang salah, apa yang boleh membantu, atau apa yang anda suka? Kami membaca setiap mesej.

Halaman: · Hanya pasukan Masajed yang melihat ini.

Perbaiki terjemahan ini

Setiap baris di halaman ini, dalam bahasa Inggeris dan seperti yang dibaca sekarang. Cadangkan susunan kata yang lebih baik, atau sokong cadangan orang lain. Perubahan disiarkan apabila pentadbir meluluskannya, atau apabila tiga orang menyokongnya dan tiada yang membantah.

Log masuk untuk mencadangkan atau menyokong

Baris di halaman ini: 0

Tiada teks untuk diterjemahkan ditemui di halaman ini.