@pipeworx/india-law
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/india-law’s. Install: one-click buttons
Connect to just the @pipeworx/india-law pack
https://gateway.pipeworx.io/india-law/mcp — only @pipeworx/india-law’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 5
Indian statutes (central and state acts, one section’s text at a time), full-text search over about 1.1 million provisions of legislation and regulator instruments.
Tools
india_search_acts(...)— find acts by title words. Central acts by default; setjurisdictionto a state name for state acts. Returns theact_id, year, act number, ministry, enactment and in-force dates, and a repealed flag.india_get_section(...)— fetch the text of one section: pass the act title (oract_id) and the section number, e.g. “Indian Contract Act, 1872” s.73. IPC requests: the Indian Penal Code, 1860 was repealed from 2024-07-01 and replaced by the Bharatiya Nyaya Sanhita, 2023 (BNS), and the repository no longer carries IPC sections individually. Asking for “Section 302 IPC” returns the BNS successor section (s.103, “Punishment for murder”) with its full text, markedtext_is_successor: true, for a curated list of well-known offences (murder, culpable homicide, rape, theft, cheating, cruelty to a wife s.498A, defamation, and similar). The list is a subset, not the full concordance, and a BNS section may be a sub-section of the number given; an IPC section outside the list returnsfound:falsewith a pointer toindia_search_sections. The Code of Criminal Procedure and the Indian Evidence Act are likewise replaced (BNSS and BSA, 2023) and are reported as repealed-and-replaced.india_search_sections(...)— search section headings and text across acts (e.g. “murder”), optionally limited to one act byact_id.india_search_provisions(...)— full-text search over the TEXT of 1,098,269 provisions: 544,078 from central and state legislation (10,112 acts) and 554,191 from the instruments of fifteen regulators (12,152 instruments: RBI, SEBI, MCA, IRDAI, TRAI, CBIC, DGFT and others). Finds what the law says about a subject (“anticipatory bail”, “limitation period for suits”), ranked by BM25. Optionaljurisdiction(central, a state or union territory such astamil-nadu,states, a regulator such asrbi, orregulations) oract_idscope the search. Every result is one provision with its act, section, chapter, an excerpt around the matched words, and the publisher’s link. Match is all-words first, falling back to any-word for a sentence.india_get_provision(...)— the full text of one section by act title and section number (“Information Technology Act, 2000”, “43A”), with its sub-sections in order;"8F(2)"selects one sub-section. A missing section returns the sections that act does have. The dataset does not carry every section of every act (it holds 118 sections of the Indian Contract Act, 1872), soindia_get_section, which reads the repository live, is the fallback.
Auth
Keyless.
Data sources
-
Open India Law (Vaquill AI), legislation and regulations dataset, CC BY 4.0 (snapshot 2026-08). Central and state acts come from India Code; the regulator instruments from each regulator’s publications. Attribution is carried in every response: Source: Open India Law (Vaquill AI), CC BY 4.0, with
data_as_of. Text is the publisher’s snapshot and may not reflect later amendments; it is not legal advice. -
Legislative Department, Government of India, India Code — central and state acts and their sections. Queried live per request. Statute text is as published by the Legislative Department and may lag amendments and is not legal advice. Dates: acts carry
enactedandin_force_from.
Index
The two provision tools query a full-text index (SQLite FTS5, four shards,
about 0.46 GB) and read provision text from R2 (0.26 GB compressed, one bundle
per act). A standalone install of this pack has neither, so those two tools
answer search_unavailable and point at the live India Code tools. The load is
scripts/india-law/build_legislation.py then scripts/ingest-india-law.mjs.
Tools
- india_search_acts — 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, minis
- india_get_section — Fetch the text of one section of an Indian act from India Code. Pass the act title (or act_id) and the section number, e.g. act “Indian Contract Act, 1872”, section “73”. For the repealed Indian Penal
- india_search_sections — Search section headings across Indian acts by words, e.g. “murder” finds BNS s.103 “Punishment for murder”. Optionally restrict to one act via act_id. Returns section number, heading and a text previe
- india_search_provisions — Full-text search over the text of about 1.1 million provisions of Indian central and state legislation and of fifteen regulators (RBI, SEBI, MCA, IRDAI, TRAI, CBIC and others). Finds the sections that
- india_get_provision — Fetch the full text of one section of an Indian act or regulator instrument by act title and section number, from the Open India Law dataset (Vaquill AI, CC BY 4.0), e.g. act “Information Technology A
Tools
india_get_provision— Fetch the full text of one section of an Indian act or regulator instrument by act title and section number, from the Open India Law dataset (Vaquill AI, CC BY 4.0), e.g. act Information Technology Acindia_get_section— Fetch the text of one section of an Indian act from India Code. Pass the act title (or act_id) and the section number, e.g. act Indian Contract Act, 1872 , section 73 . For the repealed Indian Penal Cindia_search_acts— 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, minisindia_search_provisions— Full-text search over the text of about 1.1 million provisions of Indian central and state legislation and of fifteen regulators (RBI, SEBI, MCA, IRDAI, TRAI, CBIC and others). Finds the sections thatindia_search_sections— Search section headings across Indian acts by words, e.g. murder finds BNS s.103 Punishment for murder . Optionally restrict to one act via act_id. Returns section number, heading and a text preview;