hebcal-mcp

Hebcal is an MCP server that provides information on Jewish holidays and calendars. It communicates over standard input/output or HTTP, allowing users to generate lists of holidays for any year. Users can access various Jewish-related information, including Shabbat candle lighting times and Torah readings.

GitHub Stars

3

User Rating

Not Rated

Forks

0

Issues

0

Views

2

Favorites

0

README
Hebcal Jewish holidays and Hebrew calednar Model Context Protocol (MCP) server

Hebcal (pronounced HEEB-kal, as in Hebrew calendar) is a free Jewish calendar and holiday web site.

Our mission is to increase awareness of Jewish holidays and to help Jews to be observant of the mitzvot.

This repository is the MCP server equivalent of the powerful custom Jewish calendar tool that lets you generate a list of Jewish holidays for any year (past, present or future).

Also available are a Hebrew date converterShabbat candle lighting times and Torah readings (both full kriyah and triennial system), and a page to look up yahrzeits, birthdays and anniversaries.

Running the Server

This MCP server can run in two modes:

  1. Stdio Mode (default): Communicates over standard input/output.

    npm install
    npm run build
    node build/cli.js
    
  2. Server-Sent Events (SSE) Mode: Communicates over HTTP using SSE.

    npm install
    npm run build
    node build/server.js
    

    The SSE endpoint will be available at http://localhost:8080/mcp by default. You can configure the port using the NODE_PORT environment variable (e.g., NODE_PORT=3000 node build/server.js).

    You can test the SSE endpoint with curl:

    curl -N http://localhost:8080/mcp
    

    Then, in a separate terminal, you can send MCP requests (as JSON) to the server via its stdin if you are also running it in stdio mode, or by sending HTTP POST requests if you were to implement an HTTP ingress for requests. For now, the SSE transport only handles outgoing messages. For a full duplex SSE communication, the client would also need to send requests to the server (e.g. via POST requests to a different endpoint). This example focuses on the server sending events to the client.

Author Information
hebcal

perpetual Jewish Calendars in Go, JavaScript, Swift, C, Java and Perl

Israel

45

Followers

33

Repositories

0

Gists

9

Total Contributions

Top Contributors

Threads