india_search_acts

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_acts for the schema, then POST the same URL with its arguments for the data.

Find Indian acts by title words in the Legislative Department’s India Code repository. Central acts by default; set jurisdiction to a state name for state acts. Returns act_id, year, act number, ministry, enactment and in-force dates, and a repealed flag. Note the Bharatiya Nyaya Sanhita 2023 replaced the Indian Penal Code from 2024-07-01.

Parameters

NameTypeRequiredDescription
querystringyesTitle words, e.g. “contract” or “information technology”
jurisdictionstringnoCENTRAL (default) or a state name such as “Maharashtra”
limitnumbernoMax acts, 1-25 (default 10)

Example call

Arguments

{
  "query": "contract"
}

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_acts","arguments":{"query":"contract"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('india_search_acts', {
  "query": "contract"
});

Response shape

FieldTypeDescription
foundboolean
querystring
jurisdictionstring
total_matchesnumber
actsarray
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "query": {
      "type": "string"
    },
    "jurisdiction": {
      "type": "string"
    },
    "total_matches": {
      "type": "number"
    },
    "acts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "act_id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "year": {
            "type": "string"
          },
          "act_number": {
            "type": "string"
          },
          "jurisdiction": {
            "type": "string"
          },
          "ministry": {
            "type": "string"
          },
          "enacted": {
            "type": "string"
          },
          "in_force_from": {
            "type": "string"
          },
          "long_title": {
            "type": [
              "string",
              "null"
            ]
          },
          "repealed": {
            "type": "boolean"
          }
        },
        "additionalProperties": true
      }
    },
    "source": {
      "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