Gita & Mahabharata

Full Bhagavad Gita (Sanskrit + English) and Ganguli's Mahabharata: search verses and passages.

Should I use this

Quality & Safety

A
Description quality
90%
Schema completeness
82%
Naming quality
97%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (2)

  • LOWTool 'get_gita_verse' description lacks action verbin get_gita_verse
  • LOWTool 'daily_verse' description lacks action verbin daily_verse

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,198Tokens (tool definitions)
~825 BTypical response size
Moderate attention impact (0.94% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "gita-mahabharata-mcp": {
      "url": "https://dharma-mcp.iag.workers.dev/mcp"
    }
  }
}

Remote endpoints

https://dharma-mcp.iag.workers.dev/mcpstreamable-http

What it can do

Tool inventory

Tools (6)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢search_gita(query, top_k)

Use when the user asks for guidance, comfort, or a teaching on any life situation (fear, failure, duty, grief, anger, stress, decisions, work, relationships, detachment, death, purpose) or asks what the Bhagavad Gita or Krishna says about something. Semantic search over all 700 verses. Write the query in English describing the feeling or situation (e.g. 'anger control', 'fear of failure in exams', 'grief after a parent's death'), even if the user wrote in Hindi or Hinglish. Returns real verses with Sanskrit, transliteration, two translations and the chapter.verse reference. Always cite the reference.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 500,
      "description": "What the user is going through or asking about, in their own words"
    },
    "top_k": {
      "default": 4,
      "description": "How many verses to return",
      "type": "integer",
      "minimum": 1,
      "maximum": 8
    }
  },
  "required": [
    "query"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_gita_verse(chapter, verse, verse_end)

Use when the user names a specific verse or range, e.g. 'Gita 2.47' or 'chapter 18 verses 65-66'. Returns the exact verse(s) with Sanskrit, IAST transliteration and two translations.

Input Schema

{
  "type": "object",
  "properties": {
    "chapter": {
      "type": "integer",
      "minimum": 1,
      "maximum": 18
    },
    "verse": {
      "type": "integer",
      "minimum": 1,
      "maximum": 78
    },
    "verse_end": {
      "description": "Last verse of a range (max 10 verses)",
      "type": "integer",
      "minimum": 1,
      "maximum": 78
    }
  },
  "required": [
    "chapter",
    "verse"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_gita_chapter_summary(chapter)

Use when the user asks what a chapter of the Bhagavad Gita is about, or wants an overview of the Gita's 18 chapters (pass chapter 0 for the list of all chapters).

Input Schema

{
  "type": "object",
  "properties": {
    "chapter": {
      "type": "integer",
      "minimum": 0,
      "maximum": 18,
      "description": "1-18, or 0 for all chapter names"
    }
  },
  "required": [
    "chapter"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢search_mahabharata(query, parva, top_k)

Use when the user asks about Mahabharata stories, characters (Arjuna, Karna, Bhishma, Draupadi, Yudhishthira, Krishna, Duryodhana, Vidura...), events, or its teachings on dharma, kingship, duty, fate, loyalty and ethics. Semantic search over the complete Mahabharata (Ganguli translation, all 18 parvas). Optionally restrict to one parva (book) by name or number. Returns passages with parva and section references.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 500
    },
    "parva": {
      "description": "Optional book, e.g. 'Santi', 'Udyoga', 'Bhishma' or 1-18",
      "type": [
        "string",
        "number"
      ]
    },
    "top_k": {
      "default": 4,
      "type": "integer",
      "minimum": 1,
      "maximum": 6
    }
  },
  "required": [
    "query"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_mahabharata_section(parva, section, page)

Read the full text of one section of the Mahabharata (Ganguli translation), e.g. after search_mahabharata returned a relevant passage. Long sections are paged.

Input Schema

{
  "type": "object",
  "properties": {
    "parva": {
      "description": "Book name (e.g. 'Santi') or number 1-18",
      "type": [
        "string",
        "number"
      ]
    },
    "section": {
      "type": "integer",
      "minimum": 1,
      "maximum": 400
    },
    "page": {
      "default": 1,
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "parva",
    "section"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢daily_verse

Use when the user asks for today's verse, a daily verse, or a random verse from the Bhagavad Gita. Same verse for everyone on a given day (India time).

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded6 tools