prayer_time MCP Server

prayer_time MCP Server

By imsaar GitHub

A MCP server giving Salat (Namaz | Prayer) time for 5 daily prayers with middle of night, sunset and sunrise.

prayer-time MCP-server
Overview

what is prayer_time MCP Server?

The prayer_time MCP Server is a TypeScript-based server that provides Muslim prayer (Salah) times for five daily prayers, along with additional times for sunset and sunrise based on the user's location and date.

how to use prayer_time MCP Server?

To use the server, you need to configure it with your location's latitude and longitude, and specify the date for which you want the prayer times. You can also create notes and generate summaries of those notes.

key features of prayer_time MCP Server?

  • Provides daily prayer times for a specific location and date.
  • Allows users to create and manage text notes.
  • Generates summaries of stored notes.
  • Easy integration with Claude Desktop for enhanced functionality.

use cases of prayer_time MCP Server?

  1. Muslims can check daily prayer times based on their geographical location.
  2. Users can create notes related to their prayers or religious studies.
  3. The server can be used in educational settings to teach about Islamic practices.

FAQ from prayer_time MCP Server?

  • How do I get the prayer times for my location?

You need to provide your latitude and longitude along with the desired date to get the prayer times.

  • Can I create notes using this server?

Yes! The server allows you to create and manage text notes.

  • Is there a way to summarize my notes?

Yes, you can use the summarize_notes tool to generate a summary of all your stored notes.

Content

prayer_time MCP Server

An MCP server to get muslim prayer (aka Salah) times for given date and location

This is a TypeScript-based MCP server that implements a simple notes system. It demonstrates core MCP concepts by providing:

  • Resources representing text notes with URIs and metadata
  • Tools for creating new notes
  • Prompts for generating summaries of notes

Features

Resources

  • List and access notes via note:// URIs
  • Each note has a title, content and metadata
  • Plain text mime type for simple content access

Tools

  • create_note - Create new text notes
    • Takes title and content as required parameters
    • Stores note in server state
  • get_daily_prayer_times - Get daily prayer times for a specific location
  • Takes latitude (number), longitude (number), and date (string, YYYY-MM-DD) as required parameters
  • Returns the calculated prayer times for the given date and location

Prompts

  • summarize_notes - Generate a summary of all stored notes
    • Includes all note contents as embedded resources
    • Returns structured prompt for LLM summarization

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "prayer_time": {
      "command": "/path/to/prayer_time/build/index.js"
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

No tools information available.

Mirror of

image-generation mcp-server
View Details

Secure MCP server for analyzing Excel files with oletools

oletools mcp-server
View Details

Mirror of

bigquery mcp-server
View Details

MCPHubs is a website that showcases projects related to Anthropic's Model Context Protocol (MCP)

mcp mcp-server
View Details
Dealx
Dealx by DealExpress

-

dealx mcp-server
View Details

Google Analytics MCP server for accessing analytics data through tools and resources

google-analytics mcp-server
View Details

A Python-based MCP server that lets Claude run boto3 code to query and manage AWS resources. Execute powerful AWS operations directly through Claude with proper sandboxing and containerization. No need for complex setups - just pass your AWS credentials and start interacting with all AWS services.

aws mcp-server
View Details