@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: 7
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, and full-text search over the text of Supreme Court of India and High Court judgments.
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.india_search_judgments(...)— full-text search over the TEXT of Indian court judgments: the Supreme Court of India and 25 High Courts, 32,572,660 passages of judgment text (about 15.8 million judgments; a judgment is stored as overlapping passages of about 4,000 characters), 1950 onward. Ranked by BM25; all words first, falling back to any word. Optionalcourt(supreme-court, or a High Court by name or slug such asdelhi,bombay,punjab-and-haryana) andyearorfrom_year/to_year. One result per judgment, at its best-matching passage: case title, court, decision date, citation (where the court records one), case number, CNR, disposal, an excerpt around the matched words, and aref. The year filter with no court asks every court.india_get_judgment(...)— the stored text of one judgment byref, with the passage overlaps removed; long judgments are returned in pieces ofmax_charswithnext_start_chunkto continue. The text is the publisher’s extraction from the court’s published judgment: it can contain extraction noise (repeated fragments, line-break loss) and the court’s own record is authoritative.
Judgments index
india_search_judgments queries a full-text index of 32,572,660 passages (SQLite
FTS5 in ten shards, about 36.0 GB) and reads text from R2 (25.7 GB
compressed, 64 passages to a gzip block, found by arithmetic on the hit’s
id). A court, and a court’s year range, is one id range, so filters are
native to the index. Stand-alone installs of this pack have neither, and the
two tools answer search_unavailable. The load is
scripts/india-law/ingest_judgments.py (plan, run, verify, manifest); the
data is a dated snapshot (data_as_of in every response).
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. -
Open India Law (Vaquill AI), court judgments dataset, CC BY 4.0 (snapshot 2026-08): the Supreme Court of India and 25 High Courts. Every judgment response carries Judgments: Supreme Court of India and the High Courts of India, via Open India Law (Vaquill AI), CC BY 4.0 and
data_as_of; credit the originating court when reusing. -
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
- india_search_judgments — 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
- india_get_judgment — Fetch the stored text of one Indian court judgment found by india_search_judgments, by its ref (e.g. “delhi:2019:123456”). Returns the case title, court, date, citation, CNR and the judgment text with
Tools
india_get_judgment— Fetch the stored text of one Indian court judgment found by india_search_judgments, by its ref (e.g. delhi:2019:123456 ). Returns the case title, court, date, citation, CNR and the judgment text withindia_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_judgments— 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 aindia_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;