india_search_judgments

Pack: india-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/india_search_judgments for the schema, then POST the same URL with its arguments for the data.

Full-text search over the TEXT of Indian court judgments: the Supreme Court of India and 25 High Courts, about 32.6 million passages of judgment text (1950 onward). Finds the judgments that discuss a subject or quote a phrase, e.g. “adverse possession limitation”, “anticipatory bail economic offences”, “doctrine of basic structure”. Returns one result per judgment: case title, court, decision date, citation, case number, CNR, disposal, an excerpt around the matched words and a ref for india_get_judgment. Filter by court (e.g. “delhi”, “bombay”, “supreme-court”) and by year or from_year/to_year. Source: Open India Law (Vaquill AI), CC BY 4.0.

Parameters

NameTypeRequiredDescription
querystringyesWords to find in the judgment text, e.g. “adverse possession limitation”
courtstringnoOptional: “supreme-court” or a High Court by name or slug, e.g. “delhi”, “Bombay”, “punjab-and-haryana”, “kerala”
yearnumbernoOptional: a single decision year
from_yearnumbernoOptional: first decision year
to_yearnumbernoOptional: last decision year
limitnumbernoMax judgments, 1-25 (default 10)

Example call

Arguments

{
  "query": "adverse possession",
  "court": "delhi",
  "year": 2019
}

curl

curl -X POST https://gateway.pipeworx.io/india-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"india_search_judgments","arguments":{"query":"adverse possession","court":"delhi","year":2019}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('india_search_judgments', {
  "query": "adverse possession",
  "court": "delhi",
  "year": 2019
});

Response shape

FieldTypeDescription
foundboolean
querystring
matchstring
scopeobject
countnumber
resultsarray
notestring
sourcestring
attributionstring
data_as_ofstring
caveatstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "query": {
      "type": "string"
    },
    "match": {
      "type": "string"
    },
    "scope": {
      "type": "object",
      "properties": {
        "court": {
          "type": "string"
        },
        "from_year": {
          "type": "number"
        },
        "to_year": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "count": {
      "type": "number"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "case_title": {
            "type": "string"
          },
          "court": {
            "type": [
              "string",
              "null"
            ]
          },
          "court_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "decision_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "citation": {
            "type": [
              "string",
              "null"
            ]
          },
          "case_number": {
            "type": [
              "string",
              "null"
            ]
          },
          "cnr": {
            "type": [
              "string",
              "null"
            ]
          },
          "disposition": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "snippet": {
            "type": "string"
          },
          "matching_chunks": {
            "type": "number"
          },
          "chunk": {
            "type": "string"
          },
          "pages": {
            "type": [
              "string",
              "null"
            ]
          },
          "score": {
            "type": "number"
          },
          "ref": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "note": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "attribution": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "caveat": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the india-law pack
{
  "mcpServers": {
    "india-law": {
      "url": "https://gateway.pipeworx.io/india-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 11, 2026