maharashtra-courts-drafting
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@maharashtra-courts-drafting Draft a civil writ petition for the Bombay High Court from the facts in my Downloads folder."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Maharashtra Courts & Tribunals Drafting
Local-first drafting pack for pleadings that actually get filed in Maharashtra.
Covers the High Court of Judicature at Bombay (Principal Seat at Mumbai and Benches at Nagpur, Aurangabad / Chhatrapati Sambhajinagar, and the Kolhapur circuit) plus the working tribunals and trial forums in the State.
No marketplace branding. No remote publisher. All processing stays on the machine that runs the connector.
New here? Open START_HERE.md — install + first prompt + harness in one page.
Doc | What’s inside |
Install in 3 paths, first chat, mental model | |
Claude Code / Desktop / Cursor / troubleshooting | |
Orchestration, six agents, artifacts, tool map | |
Copy-paste prompts (writ, reply, ABA, MAT…) | |
What ships (templates, skills, forums, tools) |
Install (quick)
Private install source: https://github.com/edenbuilds/maharashtra-courts-drafting
git clone https://github.com/edenbuilds/maharashtra-courts-drafting.git
cd maharashtra-courts-draftingClaude Code
/plugin install .Claude Desktop / Cursor (MCP) — add to the host config (absolute path):
{
"mcpServers": {
"maharashtra-courts-drafting": {
"command": "uv",
"args": [
"--directory",
"/ABS/PATH/TO/maharashtra-courts-drafting",
"run",
"server/main.py"
]
}
}
}Need: Python ≥ 3.10, uv, pandoc, pdftotext (poppler).
Full steps and smoke test → docs/INSTALL.md.
Related MCP server: ClauseIQ
The harness (how a draft actually runs)
Every drafting chat starts with:
get_agent_instructions()That returns the orchestration script. The model then runs six agents in order — it must not skip to a free-form Word file.
Reader → Format → Drafter → Verifier → Refiner → Overseer → .docxStage | Artifact |
Reader |
|
Format |
|
Drafter |
|
Verifier |
|
Refiner |
|
Overseer |
|
Render |
|
Format loads the long-form template first, then the short skill note.
Case files live under ~/Downloads/MH-Courts-Drafts/<label>/.
Deep dive → docs/HARNESS.md. Inside the plugin, call get_reference_note("getting-started") or get_reference_note("harness").
Long-form templates
Every instrument has a fill-in official form under templates/ — including Affidavit in Reply and Rejoinder to a writ, stay, caveat, condonation, vakalatnama, and opposite-side drafts at MAT, MACT, Consumer, DRT and the trial court.
Call list_templates() or get_template("civil-wp") / get_template("wp-reply-affidavit").
What this pack drafts
High Court of Judicature at Bombay
Case type | Statutory anchor | Usual side |
Civil Writ Petition | Articles 226 / 227 | Appellate / Original (OS only at Principal Seat) |
Criminal Writ Petition | Articles 226 / 227 + Article 21 | Appellate |
Public Interest Litigation | Article 226 + BHC PIL Rules, 2010 | Appellate |
First Appeal | CPC s.96 / Order XLI | Appellate |
Second Appeal | CPC s.100 | Appellate |
Criminal Appeal | BNSS s.415 / CrPC s.374 | Appellate |
Criminal Revision | BNSS s.438 / 442 · CrPC ss.397, 401 | Appellate |
Application under s.528 BNSS / s.482 CrPC | Inherent jurisdiction (quashing) | Appellate |
Anticipatory Bail | BNSS s.482 / CrPC s.438 | Appellate |
Regular Bail | BNSS s.483 / CrPC s.439 | Appellate |
Contempt Petition | Contempt of Courts Act, 1971 | Appellate / Original |
MACT First Appeal | MV Act s.173 | Appellate |
Matrimonial Appeal | HMA / SMA / Divorce Act | Appellate |
Commercial Appeal / OS Suit skeleton | Commercial Courts Act + BHC OS Rules | Original Side (Mumbai) |
Maharashtra tribunals and trial forums
Forum | Seat(s) in the State | Typical instruments |
Maharashtra Administrative Tribunal | Mumbai (P), Nagpur, Aurangabad | Original Application, MA, Review, Contempt |
District / State Consumer Commission | Every district + SCDRC Mumbai / Nagpur / Chh. Sambhajinagar | CPA 2019 ss.35, 47, 41, 51, 67, 71 |
MACT | District headquarters | MV Act ss.166, 164, 161, 174; execution |
DRT-1 / 2 / 3 Mumbai, DRT Pune, DRT Nagpur, DRT Aurangabad | As notified | RDDBFI OA; SARFAESI s.17 |
DRAT Mumbai | Mumbai | Appeal under RDDBFI / SARFAESI |
NCLT Mumbai Bench | Mumbai | IBC ss.7, 9, 10, 95 |
Labour Court / Industrial Tribunal / Industrial Court | Statewide | ID Act; MRTU & PULP Act, 1971 |
MahaRERA / MahaREAT | Mumbai + regional | RERA complaint / appeal |
Family Court | Notified districts | HMA / SMA / DV / guardianship |
City Civil Court, Mumbai | Mumbai | Civil suits, commercial (below HC OS) |
Small Causes Court | Mumbai, Pune | Rent, Presidency Small Cause |
Cooperative Court | Divisional | MCS Act disputes |
Employees' Compensation Commissioner | District | EC Act, 1923 |
Controlling Authority (Gratuity) / EPFO / ESIC | District / regional | Payment of Gratuity; EPF; ESI s.75 |
Charity Commissioner | Mumbai + regions | BPT Act, 1950 |
Competent Authority / SRA / revenue | District | MLRC 1966; slum; land acquisition |
Bombay High Court territorial map (use before choosing the bench)
Official Appellate Side sitting map (confirm on bombayhighcourt.nic.in before filing; Kolhapur circuit notified August 2025):
Principal Seat, Mumbai
Mumbai City · Mumbai Suburban · Thane · Palghar · Nashik · Pune · Raigad · Dadra & Nagar Haveli · Daman · Diu
(Kolhapur circuit, when sitting, takes Satara, Sangli, Solapur, Kolhapur, Ratnagiri, Sindhudurg — confirm current sitting notification.)
Nagpur Bench
Nagpur · Akola · Amravati · Bhandara · Buldhana · Chandrapur · Wardha · Yavatmal · Gondia · Gadchiroli · Washim
Aurangabad Bench
Chhatrapati Sambhajinagar · Ahilyanagar · Beed · Dhule · Jalna · Jalgaon · Latur · Nanded · Dharashiv · Parbhani · Nandurbar · Hingoli
High Court of Bombay at Goa
North Goa · South Goa — out of State; included only because it is the same High Court. Do not use for Maharashtra district matters.
Original Side jurisdiction lives at the Principal Seat only.
Tools
Tool | Purpose |
| Call first. Orchestration harness, or one agent persona |
| All supported instruments + acronym map |
| Long-form template first, then short skill + checklist |
| Long-form official form by case type or path |
| Every packed fill-in pleading |
| Bombay benches + Maharashtra tribunals |
| Header, parties separator, annexure prefix, paper, fees note |
| Shared skeleton |
| District → correct Bombay bench / MAT bench / DRT |
|
|
| Allow-listed pipeline files only |
| md / txt / pdf / docx |
| Pandoc render, local re-substitution |
|
|
House style (Bombay HC Appellate Side)
Court header ends with a full stop:
IN THE HIGH COURT OF JUDICATURE AT BOMBAY.Bench qualifier when not at the Principal Seat:
IN THE HIGH COURT OF JUDICATURE AT BOMBAY BENCH AT NAGPUR.Parties separator preferred on appeals:
///VERSUS///Spaced section heads on many Appellate Side filings:
F A C T S·G R O U N D S·P R A Y E RAnnexures:
ANNEXURE-A(no skipped letters unless the brief says otherwise)Paper A4, Times New Roman 14, 1.5 spacing, left margin ≈ 4 cm
Court fees: Bombay Court-Fees Act, 1959 (as applicable to Maharashtra)
Stamp (conveyancing): Maharashtra Stamp Act, 1958
Language: English default at Mumbai / Pune / HC; Marathi permitted in interior district forums under the State amendment to CPC s.137 — follow the forum-config
Verification duty
AI drafts hallucinate section numbers, dates and annexure letters. The Verifier stage is not a substitute for the filing advocate. Read DISCLAIMER.md and PRIVACY.md before production use.
Available Tools
14 toolscreate_case_folderC
Create inputs/ and artifacts/ under Downloads/MH-Courts-Drafts (or root).
Inputs: label (required), root.
get_agent_instructionsARead-onlyIdempotent
Mandatory first call with no arguments returns the orchestration script.
Pass reader / format / drafter / verifier / refiner / overseer for one persona.
Inputs: agent_name. Returns: result
get_case_type_formatARead-onlyIdempotent
Return the long-form template + skill + user-facts checklist for one instrument.
Load order: official template first, then short skill note, then common rules, then Index/Synopsis sheets for High Court filings.
Inputs: case_type (required). Returns: result
get_forum_configBRead-onlyIdempotent
Return the forum-config exemplar (header, separator, annexure, paper).
Inputs: forum_id (required). Returns: result
get_pleading_baseBRead-onlyIdempotent
Shared Maharashtra pleading skeleton.
Inputs: no named parameters. Returns: result
get_reference_noteARead-onlyIdempotent
Load a packed reference.
Names: getting-started, harness, territorial-jurisdiction, acronyms, court-fees-stamp, efiling. Also accepts docs/INSTALL or docs/HARNESS.
Inputs: name (required). Returns: result
get_templateARead-onlyIdempotent
Return a long-form template by case_type key or by relative path.
Examples: civil-wp, wp-reply-affidavit, high-court/civil-writ-petition.md
Inputs: name (required). Returns: result
list_case_typesARead-onlyIdempotent
List instruments this connector can draft for Maharashtra forums.
Inputs: no named parameters.
list_forumsARead-onlyIdempotent
List Bombay benches and Maharashtra tribunal forum-configs.
Inputs: no named parameters.
list_templatesARead-onlyIdempotent
List every official long-form template packed with this connector.
Inputs: no named parameters.
read_case_folderBRead-onlyIdempotent
Read md / txt / pdf / docx under inputs/ and artifacts/.
Inputs: case_folder (required).
resolve_benchBRead-onlyIdempotent
Map a Maharashtra district to the correct Bombay bench, MAT bench or DRT.
forum_family: high-court | mat | drt | mact | consumer Kolhapur-circuit districts: confirm the circuit is sitting that week; otherwise file at the Principal Seat.
Inputs: district (required), forum_family.
save_artifactAIdempotent
Save an allow-listed pipeline artifact into the case folder.
Inputs: content (required), filename (required), case_folder (required).
save_draft_as_docxCIdempotent
Render a markdown draft to a filing-grade docx via pandoc.
Inputs: case_folder (required), output_filename, markdown_filename.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Most tools have clearly separated responsibilities (forum resolution, folder management, template retrieval), but get_template and get_case_type_format overlap because both can return a long-form template, and list_templates vs list_case_types are similar catalogues. The descriptions reduce ambiguity but an agent may need to read carefully to pick the right one.
All tools follow a consistent verb_noun snake_case convention (list_*, get_*, create_*, save_*, read_*, resolve_*), and the object after the verb is specific. This makes the set predictable and easy to navigate.
14 tools is at the upper edge of the ideal range, but each tool addresses a distinct stage of the drafting workflow (jurisdiction, folder setup, template loading, rendering). A few meta/utility tools (get_agent_instructions, get_reference_note) add weight but are justifiable.
The surface covers the main drafting lifecycle: resolve forum, create/read case folder, load templates/case formats, and render a DOCX. Missing capabilities like validation, final bundle assembly, or e-filing are notable but can be worked around by the agent/refiner.
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
MCP server for generating rough-draft project plans from natural-language prompts.
Indian legal MCP: cited Supreme Court of India judgments in Claude, ChatGPT and Cursor.
Public Indian legal search MCP for Roop judgments, statutes, and corpus grounding.
Related MCP Servers
- AlicenseAqualityCmaintenanceLocal-first MCP server that gives any AI coding agent per-project memory, workflow intelligence, and always-on, lossless token & context optimization.3765 npm6MIT
- AlicenseAqualityCmaintenanceA multi-agent AI system that reads Indian contracts, flags unfair clauses with severity scores, and provides citations to Indian law. Runs as an MCP server in Claude Desktop.31MIT
- AlicenseBqualityAmaintenanceLocal-first MCP server that transforms civil case PDFs into queryable cases with structural provenance, evidence IDs, and page-level verification for drafting and factual review.22Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA standalone MCP server for Indian personal income-tax work (ITR-1/2/3/4 + post-filing notices) with 8 deterministic tools, running fully offline with no API keys.63 PyPIMIT