Gita & Mahabharata

io.github.theindianappguyPublished by GitHub account theindianappguyv1.0.0Updated Oct 26, 2026

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

VerifiedStreamable HTTPWeb executableKnowledge & Memory

Overview

AI-generated overview

Remote MCP server giving assistants semantic search and full-text access to the Bhagavad Gita and Ganguli's Mahabharata.

What you can do
  • Search the Bhagavad Gita semantically by life topic or question, and get a written answer with verses
  • Look up specific Gita verses or ranges with Sanskrit, IAST transliteration and two translations
  • Get summaries of any of the Gita's 18 chapters, or a list of all chapters
  • Search the complete Mahabharata (Ganguli translation) for stories, characters, events and teachings
  • Read a full Mahabharata section, with long sections paged
  • Fetch a daily or random Gita verse, the same for everyone on a given day in India time
When to use it
Useful when users ask for scriptural guidance or commentary on life situations, want exact Gita verses or chapter overviews, or ask about Mahabharata characters, stories and teachings on dharma and duty.
Requirements
A remote streamable HTTP endpoint; no package, account, API key or environment variable is declared. Network access to the hosted endpoint is needed.
Before you install
All tools are read-only lookups; no credentials or writes are involved. Answers to topical searches are generated text, so verse citations should be checked against the returned source verses.

Installation

In SourceWeft

  1. Open Gita & Mahabharata in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.theindianappguy%2Fgita-mahabharata-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

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

Tools

6

search_gita

Search the Bhagavad Gita

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.

Parametersqueryrequiredtop_k

get_gita_verse

Read a Bhagavad Gita verse

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.

Parametersverserequiredchapterrequiredverse_end

get_gita_chapter_summary

Bhagavad Gita chapter summary

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).

Parameterschapterrequired

search_mahabharata

Search the Mahabharata

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.

Parametersparvaqueryrequiredtop_k

get_mahabharata_section

Read a Mahabharata section

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.

Parameterspageparvarequiredsectionrequired

daily_verse

Bhagavad Gita verse of the day

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).

Takes no parameters.

Version history

1
  1. v1.0.0LatestOct 17, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.