arya-ai is a comprehensive Indian-law plugin and local MCP server for lawyers. It combines specialist legal agents, reusable drafting skills, command prompts, protocol references, NCLT/NCLAT/IBC drafting workflows, legal templates, and local document tools into one portable repository.
It is designed to work across Claude, Claude Code, ChatGPT/Codex, Gemini, Cursor, and any MCP-compatible assistant.
arya-ai helps with:
- Indian legal research and issue spotting.
- Legal notices, civil suits, criminal complaints, affidavits, opinions, RTI applications, writ/PIL workflows, and contract review.
- NCLT/NCLAT/IBC/company-law pleadings using a six-stage Reader, Format, Drafter, Verifier, Refiner, and Overseer workflow.
- Limitation analysis, jurisdiction checks, trial preparation, appeal strategy, and evidence review.
- Protocol-backed analysis across contract, criminal, civil procedure, corporate, labour, property, IP, consumer, RERA, RTI, PIL, writ, ADR, cyber, and civic-law domains.
- Local case-folder creation and DOCX export using Pandoc.
- Local PDF workflow guidance for tribunal/court annexures and extracted text review.
| Area | Count | Location |
|---|---|---|
| Specialist legal agents | 32 | agents/ |
| Command workflows | 32 | commands/ |
| Skills and drafting workflows | 28 | skills/ |
| Protocol reference files | 235 | protocols/ |
| Company-law drafting case types | 10 | skills/nclt-*, skills/ibc-*, skills/nclat-* |
| General drafting templates | 4 | skills/indian-legal-drafting/assets/templates/ |
| Local MCP server | 1 | server/main.py |
- Contract law and specific relief.
- Criminal law, BNS/BNSS/BSA transition, bail, FIR, trial, evidence, and appeals.
- Civil procedure, jurisdiction, pleadings, trial, execution, appeals, and revision.
- Corporate law, Companies Act compliance, shareholder disputes, board processes, schemes, and IBC.
- NCLT, NCLAT, company bench, oppression/mismanagement, schemes, capital reduction, revival, investigation, class action, and IBC applications.
- Labour and employment law, gratuity, bonus, EPF/ESIC, termination, retrenchment, settlements, and industrial disputes.
- Property transfers, leases, mortgages, registration, due diligence, and RERA/consumer remedies.
- Intellectual property, patents, trademarks, copyright, designs, GI, licensing, and enforcement.
- Constitutional/civic remedies: writs, RTI, PIL, NGT, local governance, tribunals, and public grievance.
- ADR: arbitration, mediation, and conciliation.
All platforms should start with:
Read skills/arya-ai-orchestrator/SKILL.md first and follow it for routing, legal safety, drafting, and verification.
Core rules:
- Do not invent citations, statutes, court rules, dates, or facts.
- Mark uncertain law as needing verification.
- Check current primary sources when law, filing requirements, fees, or limitation periods may have changed.
- Treat client materials as confidential.
- Keep every draft traceable to user-provided facts or explicit assumptions.
- Always include a final verification checklist for filing-sensitive work.
This repo includes a Codex plugin manifest:
.codex-plugin/plugin.json
Use the repo as a local plugin folder or copy it into your plugin marketplace/workspace. The key entry points are:
skills/arya-ai-orchestrator/SKILL.md.mcp.jsonserver/main.py
Use the repository as a Claude Code plugin/prompt directory:
claude --plugin-dir /path/to/arya-aiClaude-specific metadata is in:
.claude-plugin/plugin.json
CLAUDE.md
Install as an MCPB-style local extension using manifest.json, or add this server config manually:
{
"mcpServers": {
"arya-ai": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/arya-ai", "run", "server/main.py"]
}
}
}Requirements:
- Python 3.10+
uv- Optional:
pandocfor DOCX export - Optional:
pdftotextfor PDF text extraction
Cursor rules are in:
.cursor/rules/arya-ai.mdc
Attach this repo to your workspace and reference skills/arya-ai-orchestrator/SKILL.md before Indian-law tasks.
Use GEMINI.md as the platform entry file. If your Gemini environment supports MCP, load .mcp.json.
Run the server:
uv --directory /absolute/path/to/arya-ai run server/main.pyThen use the arya-ai MCP server tools.
arya-ai exposes these local tools:
list_arya_ai_capabilitieslist_legal_domainslist_commandsget_command_promptlist_specialist_agentsget_specialist_agentsearch_protocolsget_protocollist_drafting_templatesget_drafting_templatelist_case_typesget_case_type_formatget_agent_instructionsget_pleading_baseread_case_foldercreate_case_foldersave_artifactsave_draft_as_docx
For NCLT/NCLAT/IBC drafting, call get_agent_instructions() first. The required workflow is:
- Create a case folder.
- Save source documents.
- Load the case-type skill.
- Load pleading base.
- Reader extracts and pseudonymises facts.
- Format maps facts to the forum structure.
- Drafter creates draft v1.
- Verifier checks facts, citations, annexures, and unsupported assertions.
- Refiner fixes and polishes.
- Overseer reviews as opposing counsel and hardens the final draft.
- Save final DOCX locally.
Supported company-law case types:
nclt-section-241-242-petitionnclt-scheme-of-arrangementnclt-section-66-reduction-of-capitalnclt-section-252-revival-struck-off-companynclt-section-213-investigationnclt-section-245-class-actionnclat-appeal-section-421nclat-appeal-section-61-ibcibc-section-9-operational-creditor-applicationibc-section-10-corporate-applicant
Draft a legal notice for breach of a software services agreement under Indian law. Use placeholders where facts are missing.
Check limitation, forum, and maintainability for this proposed civil suit.
Search arya-ai protocols for Section 65B digital evidence and prepare a trial checklist.
Draft an NCLT Section 241-242 oppression and mismanagement petition from these facts and documents.
Prepare an RTI application and first appeal strategy for non-disclosure by a public authority.
arya-ai/
├── .codex-plugin/ Codex plugin manifest
├── .claude-plugin/ Claude-style plugin metadata
├── .cursor/rules/ Cursor rules
├── agents/ Specialist legal agents
├── commands/ Legal command workflows
├── company-drafting-agents/ Six-agent company-law pipeline personas
├── docs/ Licensing and documentation
├── protocols/ Indian-law protocol reference library
├── server/ Local MCP server
├── skills/ Skills, templates, and drafting workflows
├── AGENTS.md Generic agent instructions
├── CLAUDE.md Claude entry instructions
├── GEMINI.md Gemini entry instructions
├── manifest.json MCPB-style manifest
└── pyproject.toml Python/MCP runtime metadata
arya-ai is a legal drafting and research aid. It does not replace an advocate's professional judgment. Every output must be checked by a qualified lawyer before filing, sending, or relying on it. Verify statutes, rules, limitation, citations, court fees, forum-specific practice directions, annexures, affidavits, authorisations, and procedural requirements from current primary sources.
The arya-ai integration code and original wrapper materials are MIT licensed. Bundled source materials retain their original licenses and notices in docs/source-licenses/.
Important: the supplied NCLT-Skills-main.zip archive contained proprietary restrictions that prohibit redistribution. Its files are not included here. arya-ai includes an original skills/nclt-pdf-workflow/SKILL.md replacement for local PDF and tribunal annexure workflows.