mcpField
W
Wasilah

Wasilah

Remote
github.com/mumullickmOther0Updated 1w ago
Repository

About Wasilah

Wasilah is a remote MCP server for Islamic reference data, intended for users asking about worship times and related calendar information. It calculates prayer times locally with the same astronomy engine as the Wasilah app and makes no external API calls.

Key features

  1. 01Daily prayer times and next prayer
  2. 02Qibla bearing calculation
  3. 03Hijri dates and monthly calendar
  4. 04Quran surah audio links
  5. 0599 Names and tasbeeh phrases
  6. 06Bangladesh district sehri and iftar offsets

Use cases

  1. 01Check prayer times for a city or coordinates
  2. 02Find the Qibla direction for a location
  3. 03Look up a Hijri date or month
  4. 04Get Quran audio and Islamic reference details

MCP support

Exposes Islamic reference data through MCP tools for clients such as Claude. Location, prayer, and calendar calculations run locally without external network calls.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://wasilah-mcp.aykiz.workers.dev/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

9
ParameterTypeRequiredDescription
asrenumNoAsr juristic method. "auto" follows the calculation method’s regional default.auto | shafii | hanafi
citystringNoCity name to resolve, e.g. "Dhaka" or "Madinah". Ignored when latitude and longitude are given.
datestringNoDate as YYYY-MM-DD. Defaults to today in the location’s timezone.
methodenumNoCalculation method. Defaults to "karachi" (the app default).karachi | isna | mwl | makkah | egypt | tehran | gulf | kuwait | qatar | singapore | france | turkey | russia
latitudenumberNoLatitude in degrees, north positive.
timezonestringNoIANA timezone, e.g. "Asia/Dhaka". Used with explicit latitude/longitude. If omitted, the zone is inferred from the nearest known city and reported in the answer.
longitudenumberNoLongitude in degrees, east positive.
offset_minutesobjectNoOptional per-prayer adjustment in whole minutes, matching the offset settings in the Wasilah app, e.g. {"maghrib": 3}. Applies to the five obligatory prayers only; Sunrise is never offset. These are the user's own adjustments, not a calculation method.
offset_minutes.asrintegerNo
offset_minutes.fajrintegerNo
offset_minutes.ishaintegerNo
offset_minutes.dhuhrintegerNo
offset_minutes.maghribintegerNo

Details

From the project README

Wasilah MCP

Wasilah MCP server

A remote Model Context Protocol server that exposes Wasilah's Islamic reference data to Claude as a custom connector. Add the URL in Claude and it can answer prayer-time, Qibla, Hijri-date, and Quran-audio questions directly.

Prayer times are computed with the same astronomy engine as the Wasilah app (ported from lib/features/prayer_times/prayer_astronomy.dart), so the connector and the app agree to the minute for the same location, date, method, and madhab.

Tools

ToolWhat it returns
get_prayer_timesThe five daily prayers plus sunrise for a city or coordinates. Marks Dhuhr as Jumu'ah on Fridays.
get_next_prayerThe next upcoming prayer and time remaining.
get_qiblaCompass bearing to the Kaaba.
get_hijri_dateIslamic date for a given Gregorian date (Umm al-Qura, with a tabular fallback).
get_hijri_calendarA full Hijri month mapped to Gregorian dates, with the significant days in it.
get_quran_audioA streaming full-surah recitation URL plus surah name and ayah count.
get_asma_ul_husnaThe 99 Names of Allah in Arabic, transliteration, English and Bengali.
get_ifb_district_offsetIslamic Foundation Bangladesh's published sehri and iftar offset from Dhaka for any of the 64 districts.
get_tasbeehThe six dhikr phrases from the Wasilah tasbeeh counter, with meaning and customary count.

Every location tool accepts either a city name (resolved against a bundled offline database) or explicit latitude + longitude (with an optional timezone; if omitted, the zone is inferred from the nearest known city and the answer says so). Prayer tools also accept method (Karachi, ISNA, MWL, Umm al-Qura, and others) and asr (auto, shafii, hanafi). The connector makes no external network calls.

Run locally

npm install
npm test        # exercises every tool through the MCP endpoint, no server needed
npm run dev     # serves the worker on http://localhost:8787

With the dev server running, point the MCP Inspector at http://localhost:8787/mcp to browse and call the tools interactively.

Deploy (Cloudflare Workers)

npx wrangler login
npm run deploy

Wrangler prints the deployed URL, for example https://wasilah-mcp.<subdomain>.workers.dev. The connector endpoint is that URL plus /mcp. Visiting the root URL serves a short landing page with the connector URL and setup steps.

Add to Claude

  1. Settings, then Connectors.
  2. Add custom connector.
  3. Paste https://<your-worker-url>/mcp.
  4. Ask something like "What time is Maghrib in Dhaka today?" or "Which way is the Qibla from Madinah?"

This server is authless and stateless. It exposes only public reference data; it holds no personal information and needs no sign-in.

Notes

  • Prayer parity. Calculation-method angles, the Asr shadow factors, and the solar geometry mirror the app exactly. The app's default is Karachi method with Hanafi Asr.
  • Hijri source. Uses the Umm al-Qura calendar where the runtime's ICU supports it, and a tabular calculation otherwise. A tabular date can differ from a moon-sighting announcement by a day.
  • Fully offline. The connector makes no external API calls. City lookups use a bundled offline database (a subset of GeoNames, CC BY 4.0: top cities per country plus every capital); prayer times, Qibla, and Hijri date are computed on the server. Pass coordinates directly for places not in the database.
  • Personal data is out of scope. This server does not touch the on-device Salah tracker. Exposing per-user history would require a Wasilah backend with accounts and OAuth.

Comments

Markdown supported

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.