Skip to main content

MCP server for Panchangam calculations — Tithi, Nakshatra, Yoga, Muhurtas for any city

Project description

mcp-server-panchangam

An MCP (Model Context Protocol) server that gives AI assistants accurate Telugu/Vedic Panchangam data — Tithi, Nakshatra, Yoga, Karana, sky events, and auspicious/inauspicious time windows — for any city and date.

Installation

This is a standard MCP stdio server (uvx mcp-server-panchangam), so it works with any MCP-compatible client or agent — Claude Desktop, Claude Code, Cursor, Windsurf, and custom agents built on the MCP SDK. Below are examples for a couple of common clients; for others, point your client's MCP config at the same uvx mcp-server-panchangam command.

Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "panchangam": {
      "command": "uvx",
      "args": ["mcp-server-panchangam"]
    }
  }
}

Claude Code — run once:

claude mcp add panchangam -- uvx mcp-server-panchangam

Tools

list_supported_cities

Returns 22 pre-configured cities with name, latitude, longitude, timezone, and country. Call this first to discover valid city names.

get_panchangam(date, city, system="drik", latitude=None, longitude=None, timezone=None)

Full Panchangam for a date and city:

  • Metadata — Samvatsara, Ayanam, Rituvu, Maasam, Paksham, Vaaram, solar and lunar signs
  • Pancha Anga — Tithi, Nakshatra, Yoga, Karana with start/end times
  • Sky events — Sunrise, Sunset, Moonrise, Moonset
  • Auspicious windows — Brahma Muhurta, Abhijit Muhurta, Amrita Kalam
  • Inauspicious windows — Rahu Kalam, Gulika Kalam, Yamagandam, Varjyam, Durmuhurtham
  • Choghadiya — 8 day blocks with names
  • Festivals — 30+ named Telugu festivals (Ugadi, Vinayaka Chavithi, Deepavali, Maha Shivaratri, Makara Sankranti cluster, Navaratri days, Varalakshmi Vratam, …) plus monthly Sankashti Chaturthi and Masa Shivaratri, with traditional deciding moments (madhyahna/aparahna/pradosha/nishita)
  • Special day flags — Ekadashi, Amavasya, Pournami, Pradosham, Sankranti, Ganda Moola
  • Eclipse — Solar/lunar eclipse with type (Total/Partial/Annular/Penumbral), visibility from your location, eclipse window, and Sutak period (or null if not visible)
  • Special Yogas — Sarvartha Siddhi, Amrita Siddhi, Visha, and Dagdha yogas

get_muhurta(date, city, system="drik", latitude=None, longitude=None, timezone=None)

Auspicious and inauspicious time windows only — a lighter call for quick "is this a good time?" queries.

get_special_days(year, month, city, system="drik", latitude=None, longitude=None, timezone=None)

Lists special days in a given month: named festivals, Ekadashi (fasting), Amavasya (new moon), Pournami (full moon), Pradosham, Sankranti, Ganda Moola, and Solar/Lunar Eclipses. Each entry includes a special_yogas list for that day.

Cities and locations

city accepts any of the 22 pre-configured cities (instant, no network) or any free-text city name (geocoded via OpenStreetMap). You can also bypass city lookup entirely by passing latitude, longitude, and timezone directly.

Telugu Heartland — Hyderabad, Vijayawada, Visakhapatnam, Tirupati, Warangal, Guntur, Nizamabad, Rajahmundry, Kurnool, Nellore

Major Indian Metros — Bengaluru, Chennai, Mumbai, Delhi

International Diaspora — Dallas, San Jose, San Francisco, Edison (NJ), New York, London, Sydney, Dubai

Calculation systems

System Basis Best for
drik Swiss Ephemeris (pyswisseph) + Lahiri ayanamsa Modern apps, accurate sky events
surya_siddhanta Mean-motion algorithms from classical SS text Traditions rooted in classical siddhantic calculation
vakya Surya Siddhanta + published correction tables Traditional Telugu/Tamil printed Panchangams

Source

Source code, tests, and the related Panchangam calendar feed project: https://github.com/socraticsurge/telugu-calendar-utilities

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_panchangam-1.1.1.tar.gz (42.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_panchangam-1.1.1-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_panchangam-1.1.1.tar.gz.

File metadata

  • Download URL: mcp_server_panchangam-1.1.1.tar.gz
  • Upload date:
  • Size: 42.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_server_panchangam-1.1.1.tar.gz
Algorithm Hash digest
SHA256 f3bfbd7c55bc28c89f61a26ec9144b51df7486857ba06a8a588a6d10e766e643
MD5 292928e506417b902c71a4d9b5aa7edf
BLAKE2b-256 10cb4961bd5e8a2a4b6a8e1167a365f64b391445726d6a3204fc473e4368c5c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_panchangam-1.1.1.tar.gz:

Publisher: publish.yml on socraticsurge/telugu-calendar-utilities

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_server_panchangam-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_panchangam-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 27babc1a87935d8e4799d947938d8c03fb791d9cfc74ba353ea688f65b98f0b6
MD5 480108dc9d5f89296c2d292be6610dc1
BLAKE2b-256 49ca23af4e45b63f8bab6a6ee5d7003d0b889e9b0211b5c0985d85b1538f0850

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_server_panchangam-1.1.1-py3-none-any.whl:

Publisher: publish.yml on socraticsurge/telugu-calendar-utilities

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page