Wasilah logo

Wasilah

Islamic reference tools for prayer times, Qibla direction, Hijri dates, and Quran recitation links over MCP.

Install Wasilah

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
http://localhost:8787/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

Wasilah MCP server provides prayer times, next-prayer status, Qibla bearings, Hijri dates, and Quran audio links through a remote MCP endpoint. It computes location-based results locally using bundled city data or supplied coordinates, timezone, calculation method, and madhab. The server is authless, stateless, and makes no external network calls. Reach for it when an MCP client needs public Islamic reference data without user accounts or personal history.

Use cases

  • Query daily prayer times for a city or coordinate set
  • Find the next upcoming prayer and remaining time
  • Calculate a Qibla bearing from a location
  • Convert Gregorian dates to Hijri dates
  • Retrieve a full-surah Quran recitation URL

Key features

  • Prayer times with configurable calculation method and Asr rule
  • Next-prayer timing and countdown information
  • Qibla bearing calculations
  • Umm al-Qura or tabular Hijri conversion
  • Streaming full-surah Quran audio URLs
  • Offline, authless, stateless operation

Tools9

What Wasilah lets your agent do. Expand a tool for its parameters.

Self-reported~199 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

5/5 checks healthy over the last 40d

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 2Low 0

Scanned 9/13/2026 via OSV.dev · http://localhost:8787/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit3d agoMost recent push to the default branch.
Tools exposed9Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Wasilah works

What Wasilah MCP server does

Wasilah MCP server exposes Islamic reference data as callable MCP tools. It covers five daily prayers and sunrise, the next upcoming prayer, the direction of the Kaaba, Islamic calendar conversion, and full-surah Quran recitation links. The service is intended for questions such as prayer times for a city, the Qibla bearing from a location, or the Hijri date for a Gregorian date.

Prayer calculations use the same astronomy implementation as the Wasilah app. For matching location, date, calculation method, and Asr rule, the connector and app are designed to produce the same minute-level results. On Fridays, the prayer-time response labels Dhuhr as Jumu'ah.

How it works

Location-aware tools accept either a city name or explicit latitude, longitude, and timezone values. City names are resolved against a bundled offline database containing selected major cities and all national capitals. Coordinates are the fallback for locations absent from that database.

Prayer methods include options such as Karachi, ISNA, MWL, and Umm al-Qura. The Asr setting can be automatic, Shafi'i, or Hanafi. The default behavior follows the app's Karachi calculation method and Hanafi Asr setting. Qibla and prayer values are calculated on the server rather than retrieved from an external API.

Hijri conversion uses Umm al-Qura when supported by the runtime's ICU data. Otherwise, Wasilah uses a tabular calculation, which can differ by one day from a local moon-sighting announcement. Quran audio returns a streaming URL for a complete surah along with its name and ayah count.

Setup and configuration

Wasilah MCP server can run locally or as a Cloudflare Worker. For local development, install the npm dependencies, run the test suite, and start the development worker. The local MCP endpoint is available at /mcp on port 8787. MCP Inspector can connect to that endpoint for interactive tool testing.

Deployment uses Wrangler after authentication. The deployed connector URL is the Worker URL followed by /mcp. In Claude, add that address as a custom connector, then ask for a supported reference lookup. No sign-in, API key, or application-specific environment variable is required.

Tools and capabilities

  • get_prayer_times returns the five obligatory prayers and sunrise for a city or coordinate set.
  • get_next_prayer identifies the upcoming prayer and reports the remaining time.
  • get_qibla calculates a compass bearing toward the Kaaba.
  • get_hijri_date converts a supplied Gregorian date to an Islamic date.
  • get_quran_audio supplies a full-surah recitation URL, surah name, and ayah count.

Limitations and notes

The Wasilah MCP server provides public reference data only. It is stateless, does not call external services, and does not access the Wasilah app's on-device Salah tracker. It also does not store personal information or expose user history; account and OAuth-backed features are outside its scope.

City resolution depends on the bundled database. Supplying coordinates directly is more reliable for smaller or unlisted places. Hijri results are calendar calculations rather than a substitute for an official local moon-sighting decision. The Quran audio capability returns a streaming link rather than audio content embedded in the MCP response.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Wasilah

Wasilah is an MCP server that connects Claude and other MCP clients to Islamic reference data. Its main tools provide prayer times, the next prayer, Qibla bearings, Hijri dates, and full-surah Quran audio URLs. It uses offline calculations and bundled city data, requires no authentication, and does not store personal information.

Install the npm dependencies, run the tests, and start the local development worker with the repository's npm scripts. The local MCP endpoint is served at http://localhost:8787/mcp. For hosted use, authenticate Wrangler, deploy the Worker, and append /mcp to its URL.

Add the deployed Worker URL ending in /mcp as a custom connector in Claude's Settings under Connectors. After saving it, ask Claude for prayer times, a Qibla bearing, a Hijri date, or Quran audio information.

The server makes no external API calls and computes prayer times, Qibla, and Hijri dates locally, using bundled city data for name lookups. However, the MCP endpoint itself must be running and reachable by the client; Quran audio returns a streaming URL.

Yes, provide latitude, longitude, and timezone instead of a city name. The bundled offline database covers selected major cities and every capital, so direct coordinates are the appropriate option for places not included.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWasilah AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/wasilah?style=directory)](https://allmcps.com/mcp/wasilah)
HTML Embed
<a href="https://allmcps.com/mcp/wasilah"><img src="https://allmcps.com/api/badge/wasilah?style=directory" alt="Wasilah on AllMCPs" /></a>