← Files SanghraARCHIVED FILE

plugin.json

6.58 KB · Dec 2, 2026 · 12:24 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "sanghra",
  "version": "1.0.1",
  "description": "Search and quote Indian judgments and Acts: the Supreme Court of India, all 25 High Courts, NCLAT, DRAT and India Code, with citations, paragraph numbers and source links.",
  "author": {
    "name": "Legal Harness Private Limited",
    "email": "hello@sanghra.com",
    "url": "https://sanghra.com"
  },
  "homepage": "https://sanghra.com",
  "keywords": [
    "indian law",
    "case law",
    "judgments",
    "statutes",
    "legal research",
    "supreme court of india",
    "high court",
    "india code"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Sanghra",
        "shortDescription": "Indian case law and statutes",
        "longDescription": "Sanghra gives ChatGPT a maintained corpus of Indian law to search and quote, so answers rest on the judgment or the Act itself rather than on memory.\n\nWhat it covers:\n- Supreme Court of India: 39,462 judgments, 1950 to 2026, with SCR and neutral citations, paragraph and page numbers, headnotes and a link to the PDF.\n- All 25 High Courts: about 12.9 million judgments, with court, case number, parties, date, outcome and the passage with page numbers.\n- NCLAT (15,153 decisions) and DRAT (12,883 decisions) for insolvency, company and debt recovery appeals.\n- 6,561 central and State Acts from India Code, with whether each is in force and the old or new provision it corresponds to, such as IPC to BNS.\n\nFour read-only tools:\n- Search Indian case law: find judgments on a question, a proposition, a case name or a citation.\n- Get one judgment: the parties, bench, date, outcome, provisions considered and headnote of a judgment.\n- Search Indian statutes: find a provision by citation (\"section 138 NI Act\", \"BNS 103\") or by subject.\n- Read statute provisions: the exact, complete text of named provisions, for quoting.\n\nEvery result carries its citation and source link, so you can check it. Sanghra cannot read or change your account, and it does not check later treatment such as overruling yet. It is a research aid, not legal advice.\n\nSign in with a Sanghra account from sanghra.com.",
        "developerName": "Legal Harness Private Limited",
        "category": "Education & Research",
        "capabilities": [
          "Search Supreme Court, High Court, NCLAT and DRAT judgments",
          "Fetch the record of one judgment",
          "Search central and State Acts by citation or subject",
          "Read the exact text of named provisions"
        ],
        "websiteURL": "https://sanghra.com",
        "supportURL": "https://sanghra.com/contact/",
        "privacyPolicyURL": "https://sanghra.com/privacy/",
        "termsOfServiceURL": "https://sanghra.com/terms/",
        "defaultPrompt": [
          "Can anticipatory bail be limited to a fixed period? Quote the Supreme Court with the paragraph.",
          "Quote section 138 of the Negotiable Instruments Act exactly.",
          "Which BNS section replaced IPC 302? Show the text of both."
        ],
        "brandColor": "#5842D6",
        "brandColorDark": "#B4A8FF",
        "logo": "./assets/logo.png",
        "composerIcon": "./assets/composer-icon.svg"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Find a Supreme Court holding and quote it with the paragraph",
              "prompt": "Can anticipatory bail be limited to a fixed period? Quote the Supreme Court and give the paragraph.",
              "tools_triggered": "search_case_law, get_judgment",
              "expected_behavior": "Searches case law, then quotes judgment text returned by the tool with the case title, citation, paragraph numbers and PDF link, and notes that later treatment was not checked."
            },
            {
              "description": "Search tribunal decisions",
              "prompt": "Find NCLAT decisions on limitation for a section 7 application under the IBC.",
              "tools_triggered": "search_case_law",
              "expected_behavior": "Searches case law limited to NCLAT and lists the decisions returned, each with appeal number, bench, date and source link, without adding decisions the tool did not return."
            },
            {
              "description": "Quote a statutory provision exactly",
              "prompt": "Quote section 138 of the Negotiable Instruments Act exactly.",
              "tools_triggered": "search_statutes, get_provisions",
              "expected_behavior": "Finds section 138 of the Negotiable Instruments Act, 1881, reads its complete text and quotes it verbatim with the official source link."
            },
            {
              "description": "Compare an old provision with the one that replaced it",
              "prompt": "Which BNS section replaced IPC 302? Show the text of both.",
              "tools_triggered": "search_statutes, get_provisions",
              "expected_behavior": "Identifies section 103 of the Bharatiya Nyaya Sanhita as corresponding to section 302 of the Indian Penal Code and quotes the text of both as returned by the tools."
            },
            {
              "description": "Search High Court judgments on a specific provision",
              "prompt": "Find High Court judgments on interim maintenance under section 125 CrPC and summarise what they hold.",
              "tools_triggered": "search_case_law",
              "expected_behavior": "Searches case law limited to High Courts and summarises the passages returned, citing each judgment with its court, case number, date and PDF link."
            }
          ],
          "negative": [
            {
              "description": "General knowledge question unrelated to law",
              "prompt": "What is the capital of France?"
            },
            {
              "description": "Foreign law outside the corpus",
              "prompt": "Explain the Miranda warning required by the United States Supreme Court."
            },
            {
              "description": "Writing task that needs no legal authority",
              "prompt": "Write a short social media post congratulating our law firm on its tenth anniversary."
            }
          ]
        }
      },
      "publication": {
        "release_notes": "First release of Sanghra for ChatGPT: four read-only tools to search Indian case law (Supreme Court, all 25 High Courts, NCLAT, DRAT), fetch a judgment's record, search central and State Acts, and read the exact text of provisions. Sign-in with a Sanghra account over OAuth."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: dee905d4186c73aae20330aa56aa761bf9ad95974df302331e0706b7117c6a81