Indian Legal MCP
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., "@Indian Legal MCPWhat is Section 302 of the Indian Penal Code?"
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.
title: Indian Legal MCP emoji: ⚖️ colorFrom: yellow colorTo: gray tags:
mcp
legal sdk: gradio sdk_version: 6.27.0 app_file: app.py pinned: false license: mit
⚖️ Indian Legal MCP Server (v3.1)
High-Performance Model Context Protocol Server with Domain Skills for Indian Law & Jurisprudence
⚡ Overview
The Indian Legal MCP Server connects Claude, ChatGPT, Cursor, Windsurf, Claude Code, and any MCP-compliant autonomous agent directly to India's entire statutory legal system.
Built on SQLite with native FTS5 full-text indexing, BM25 ranking, and sub-millisecond retrieval, it provides:
102 Complete Indian Acts & Codes spanning 12,174 statutory sections, articles, schedules, and appendices.
10 Domain Skills + 1 Core Universal Skill: Procedural AI research workflows adhering strictly to the principle that the MCP is the library, while skills are the procedures the AI follows.
Modern 2023 Criminal Reform Sanhitas (BNS, BNSS, BSA) alongside historical codes (IPC, CrPC, IEA) with 2,629 bidirectional section concordance mappings.
Complete 2026 Constitution of India (Articles 1–395, Preamble, all 12 Schedules, 3 Appendices) incorporating up to the 106th Amendment.
Direct Taxation & Corporate Framework: Income-tax Act, 2025 (536 sections), Companies Act (517 sections), SEBI Act, SCRA, LLP, MSMED, IBC, and Arbitration.
16 Core Legal Tools + 15 Advanced Prompt Workflows (Beginner explanations, brief drafting, statutory comparison, and legal claim verification).
Related MCP server: Law7 MCP
🧠 Legal Research Skills Architecture
Design Principle: The MCP is the library, and a skill is the procedure the AI follows while using it. A skill never contains raw statutory text—the law stays in the MCP database, and the skill instructs the AI how to fetch, verify, and cite it without hallucinations.
skills/
├── registry.json # Tier 1: Lightweight index of triggers & tools (startup discovery)
├── _core/
│ └── SKILL.md # Universal legal reasoning, retrieval-first rule, citation standards
├── criminal-law/ # Tier 2: Domain-specific procedural workflows (<100 lines)
│ ├── SKILL.md
│ └── reference/ # Tier 3: Deep doctrinal references (loaded on-demand)
│ ├── date_rule.md
│ └── special_statutes.md
├── civil-contract-property/
│ ├── SKILL.md
│ └── reference/
└── ... (10 cohesive domains covering all 102 Acts)The 10 Domain Skills Matrix (All 102 Acts Assigned)
# | Skill ID | Acts Covered | Primary Procedural Job & Doctrinal Traps |
1 |
| BNS, BNSS, BSA, IPC, CRPC, IEA, POCSO, NDPS, PMLA, PCA, UAPA, ARMS, DPA, SCST | Offence date decides IPC vs BNS. Special act non-obstante bail clauses (NDPS s.37, PMLA s.45) override BNSS. |
2 |
| CPC, ICA, SGA, SRA, LA, TPA, REGISTRATION, EASEMENTS, RFCTLARR, MVA, ACA | Pick the correct forum (civil court vs arbitral tribunal). Mandatory limitation check under Limitation Act 1963. |
3 |
| NIA, SARFAESI, RDBA, IBC, BRA, RBI, FEMA, CHIT, PSSA, FCRA | Recovery route decision matrix: cheque bounce (s.138 NIA) vs DRT (RDBA) vs SARFAESI vs corporate insolvency (IBC). |
4 |
| CA, IPA, LLP, COMPETITION, COMMERCIAL_COURTS, SEBI, SCRA, INSURANCE, IRDAI | Business vehicle classification (Proprietorship vs Firm vs LLP vs Pvt/Public Ltd). SEBI regulations and insider trading. |
5 |
| ITA, CGST, IGST, CUSTOMS, STAMP, PBPTA | Assessment year determines applicability of direct tax codes. Input tax credit rules under CGST/IGST; benami property confiscation. |
6 |
| HMA, HSA, HAMA, SMA, ISA, FCA, GWA, MWPRDA, MWPRMA, PCMA | Religion of parties governs personal succession/marriage; secular options under Special Marriage Act; triple talaq criminalization. |
7 |
| COW, CSS, IRC, OSH, CALPRA, POSH | 4 unified labour codes replacing ~29 legacy statutes. Mandatory POSH Internal Complaints Committees (ICC). |
8 |
| IT_ACT, DPDPA, AADHAAR, TELECOM, COPYRIGHT, PATENTS, TRADEMARKS, DESIGNS, GI | Separation of cyber offences (IT Act) from digital privacy (DPDPA 2023) and intellectual property infringement. |
9 |
| COI, RTI, PHRA, PCRA, ADVOCATES, ATA, CONTEMPT_COURTS, LSAA, RPA, RPWDA, RTE, DV, JJ, MWPSC | Fundamental Rights violation remedies (Article 32/226 writs), Union/State/Concurrent legislative lists (7th Schedule), RTI exemptions. |
10 |
| EPA, NGT, AIR, WATER, WPA, VSA, FSSA, DCA, MHA, EA, CPA, RERA, MSMED | Specialized tribunals (NGT, RERA, Consumer Commissions), environmental clearances, FSSAI standards, Drugs & Cosmetics licensing. |
🚀 Quick Start / Client Integration
Option 1: Remote MCP (Zero Installation)
Connect instantly to the live hosted MCP endpoint without installing Python or cloning code:
{
"mcpServers": {
"indian-legal": {
"type": "streamable-http",
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}Option 2: Claude Desktop Configuration (claude_desktop_config.json)
Add the following entry to your Claude Desktop configuration:
{
"mcpServers": {
"indian-legal": {
"command": "python",
"args": [
"c:/Users/memor/Videos/Indian-Legal-MCP-new/indian-legal-mcp/app.py"
]
}
}
}Option 3: Cursor Integration (.cursor/mcp.json)
Add to .cursor/mcp.json in your project or global settings:
{
"mcpServers": {
"indian-legal": {
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}🛠️ MCP Tools Reference (16 Tools)
Tool Name | Description | Key Arguments |
| [Discovery] Returns the skill registry with domain triggers, covered Acts, and workflows. Supports keyword filtering. |
|
| [Procedure Retrieval] Retrieves procedural instructions ( |
|
| [Primary AI Tool] Ultra-fast FTS5 full-text keyword search across 102 Acts with BM25 ranking. |
|
| Lightweight topic resolver returning matching act codes and titles. |
|
| Fetches exact section/article by number with full headnote and body text. |
|
| Returns list of all 102 Acts, enactment year, and status. | (None) |
| Metadata and total section count for a specific Act. |
|
| Lightweight index of all section numbers and titles in an Act. |
|
| Retrieves all sections within a chapter or Constitution Part. |
|
| Fetches contiguous range of sections between start and end. |
|
| Paginated retrieval of full statutory text (50 sections per page). |
|
| Bidirectional cross-walk between old and new criminal laws (e.g. IPC 302 ↔ BNS 103). |
|
| Fetches full text of any Constitution Schedule (First to Twelfth). |
|
| Lists all 12 Constitution schedules and titles. | (None) |
| Fetches full text of Constitution Appendices (I, II, III). |
|
| Lists all Constitution appendices. | (None) |
📚 Complete Catalogue of 102 Covered Acts (13 Domains)
Domain | Code | Official Statute Name | Year | Total Sections |
Criminal Law & Penal Statutes |
| Arms Act, 1959 | 1959 | 48 |
| Bharatiya Nyaya Sanhita, 2023 | 2023 | 358 | |
| Bharatiya Nagarik Suraksha Sanhita, 2023 | 2023 | 531 | |
| Bharatiya Sakshya Adhiniyam, 2023 | 2023 | 170 | |
| Contempt of Courts Act, 1971 | 1971 | 24 | |
| Code of Criminal Procedure, 1973 | 1973 | 525 | |
| Dowry Prohibition Act, 1961 | 1961 | 12 | |
| Indian Evidence Act, 1872 | 1872 | 184 | |
| Indian Penal Code, 1860 | 1860 | 575 | |
| Narcotic Drugs and Psychotropic Substances Act, 1985 | 1985 | 127 | |
| Prevention of Corruption Act, 1988 | 1988 | 35 | |
| Prevention of Money Laundering Act, 2002 | 2002 | 81 | |
| Protection of Children from Sexual Offences Act, 2012 | 2012 | 47 | |
| Unlawful Activities (Prevention) Act, 1967 | 1967 | 67 | |
Constitutional Law & Public Administration |
| Advocates Act, 1961 | 1961 | 85 |
| Administrative Tribunals Act, 1985 | 1985 | 41 | |
| Constitution of India (2026 Edition) | 1950 | 507 | |
| Legal Services Authorities Act, 1987 | 1987 | 38 | |
| Protection of Civil Rights Act, 1955 | 1955 | 23 | |
| Protection of Human Rights Act, 1993 | 1993 | 45 | |
| Representation of the People Act, 1951 | 1951 | 196 | |
| Right to Information Act, 2005 | 2005 | 31 | |
| Scheduled Castes and Scheduled Tribes (Prevention of Atrocities) Act, 1989 | 1989 | 26 | |
Commercial, Corporate & Financial Law |
| Arbitration and Conciliation Act, 1996 | 1996 | 92 |
| Companies Act, 2013 | 2013 | 517 | |
| Chit Funds Act, 1982 | 1982 | 90 | |
| Commercial Courts Act, 2015 | 2015 | 26 | |
| Competition Act, 2002 | 2002 | 95 | |
| Consumer Protection Act, 2019 | 2019 | 107 | |
| Insolvency and Bankruptcy Code, 2016 | 2016 | 281 | |
| Indian Partnership Act, 1932 | 1932 | 74 | |
| Limited Liability Partnership Act, 2008 | 2008 | 88 | |
| Micro, Small and Medium Enterprises Development Act, 2006 | 2006 | 32 | |
| Real Estate (Regulation and Development) Act, 2016 | 2016 | 92 | |
| Securities Contracts (Regulation) Act, 1956 | 1956 | 78 | |
| Securities and Exchange Board of India Act, 1992 | 1992 | 92 | |
| Sale of Goods Act, 1930 | 1930 | 67 | |
Banking, Finance & Revenue |
| Banking Regulation Act, 1949 | 1949 | 131 |
| Central Goods and Services Tax Act, 2017 | 2017 | 190 | |
| Customs Act, 1962 | 1962 | 278 | |
| Foreign Contribution (Regulation) Act, 2010 | 2010 | 56 | |
| Foreign Exchange Management Act, 1999 | 1999 | 52 | |
| Integrated Goods and Services Tax Act, 2017 | 2017 | 28 | |
| Insurance Act, 1938 | 1938 | 263 | |
| Insurance Regulatory and Development Authority Act, 1999 | 1999 | 39 | |
| Income-tax Act, 2025 | 2025 | 536 | |
| Negotiable Instruments Act, 1881 | 1881 | 156 | |
| Prohibition of Benami Property Transactions Act, 1988 | 1988 | 75 | |
| Payment and Settlement Systems Act, 2007 | 2007 | 42 | |
| Reserve Bank of India Act, 1934 | 1934 | 132 | |
| Recovery of Debts and Bankruptcy Act, 1993 | 1993 | 45 | |
| SARFAESI Act, 2002 | 2002 | 61 | |
| Indian Stamp Act, 1899 | 1899 | 97 | |
Civil Procedure, Contracts & Property |
| Code of Civil Procedure, 1908 | 1908 | 171 |
| Indian Easements Act, 1882 | 1882 | 64 | |
| Indian Contract Act, 1872 | 1872 | 268 | |
| Limitation Act, 1963 | 1963 | 32 | |
| Motor Vehicles Act, 1988 | 1988 | 256 | |
| Registration Act, 1908 | 1908 | 96 | |
| Right to Fair Compensation & Transparency in Land Acquisition (RFCTLARR) Act, 2013 | 2013 | 114 | |
| Specific Relief Act, 1963 | 1963 | 48 | |
| Transfer of Property Act, 1882 | 1882 | 148 | |
Unified Labor Codes |
| Child and Adolescent Labour (Prohibition and Regulation) Act, 1986 | 1986 | 29 |
| Code on Wages, 2019 | 2019 | 69 | |
| Code on Social Security, 2020 | 2020 | 164 | |
| Industrial Relations Code, 2020 | 2020 | 100 | |
| Occupational Safety, Health and Working Conditions Code, 2020 | 2020 | 143 | |
Cyber, Technology, Telecom & Identity |
| Aadhaar (Targeted Delivery of Financial and Other Subsidies) Act, 2016 | 2016 | 69 |
| Digital Personal Data Protection Act, 2023 | 2023 | 41 | |
| Information Technology Act, 2000 | 2000 | 125 | |
| Telecommunications Act, 2023 | 2023 | 62 | |
Intellectual Property Rights (IPR) |
| Copyright Act, 1957 | 1957 | 105 |
| Designs Act, 2000 | 2000 | 48 | |
| Geographical Indications of Goods (Registration and Protection) Act, 1999 | 1999 | 89 | |
| Patents Act, 1970 | 1970 | 175 | |
| Trade Marks Act, 1999 | 1999 | 169 | |
Family & Personal Laws |
| Family Courts Act, 1984 | 1984 | 23 |
| Guardians and Wards Act, 1890 | 1890 | 55 | |
| Hindu Adoptions and Maintenance Act, 1956 | 1956 | 30 | |
| Hindu Marriage Act, 1955 | 1955 | 37 | |
| Hindu Succession Act, 1956 | 1956 | 31 | |
| Indian Succession Act, 1925 | 1925 | 392 | |
| Muslim Women (Protection of Rights on Divorce) Act, 1986 | 1986 | 7 | |
| Muslim Women (Protection of Rights on Marriage) Act, 2019 | 2019 | 8 | |
| Prohibition of Child Marriage Act, 2006 | 2006 | 21 | |
| Special Marriage Act, 1954 | 1954 | 57 | |
Environmental & Green Law |
| Air (Prevention and Control of Pollution) Act, 1981 | 1981 | 62 |
| Environment (Protection) Act, 1986 | 1986 | 37 | |
| National Green Tribunal Act, 2010 | 2010 | 39 | |
| Van (Sanrakshan Evam Samvardhan) Adhiniyam, 1980 | 1980 | 10 | |
| Water (Prevention and Control of Pollution) Act, 1974 | 1974 | 75 | |
| Wild Life (Protection) Act, 1972 | 1972 | 162 | |
Public Health, Healthcare & Food Safety |
| Drugs and Cosmetics Act, 1940 | 1940 | 88 |
| Food Safety and Standards Act, 2006 | 2006 | 101 | |
| Mental Healthcare Act, 2017 | 2017 | 126 | |
Social Protection, Education & Human Welfare |
| Protection of Women from Domestic Violence Act, 2005 | 2005 | 37 |
| Juvenile Justice (Care and Protection of Children) Act, 2015 | 2015 | 112 | |
| Maintenance and Welfare of Parents and Senior Citizens Act, 2007 | 2007 | 32 | |
| Sexual Harassment of Women at Workplace (Prevention, Prohibition and Redressal) Act, 2013 | 2013 | 30 | |
| Rights of Persons with Disabilities Act, 2016 | 2016 | 102 | |
| Right of Children to Free and Compulsory Education Act, 2009 | 2009 | 39 | |
Energy, Infrastructure & Public Utilities |
| Electricity Act, 2003 | 2003 | 188 |
⚖️ Legal Disclaimer
Important Notice: The Indian Legal MCP server is designed for legal research, compliance reference, educational analysis, and AI assistant grounding. It does not constitute formal legal advice. Neither the authors nor GSMS-B assume liability for actions taken based on this software. For live litigation or contractual advisory, always consult a qualified advocate and verify provisions against the official Gazette of India (indiacode.nic.in).
👤 Author & Maintainer
Engineered with pride by GSMS-B.
For issues, pull requests, and updates, visit the GitHub Repository.
This server cannot be deployed
Maintenance
Related MCP Connectors
Semantic retrieval across 295,000+ Indonesian regulations and 5.6M+ legal provisions, updated daily. Give AI direct access to Indonesian regulatory knowledge before reasoning.
Search U.S. case law, fetch opinions, and ask matter-aware legal questions over your documents.
Search US and Indian statutes, regulations, constitutions, and court rules.
Indian legal research, judgments and Acts, drafting, translation, matters and due diligence.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables searching and retrieving over 1,100 Zambian statutes and 9,000 provisions directly from AI clients for legal research and compliance. It features full-text search, citation validation, and mapping of Zambian laws to international legal frameworks.184 npmApache 2.0
- AlicenseNot gradedqualityBmaintenanceProvides AI assistants with up-to-date legal documents from official sources, enabling accurate legal information retrieval and analysis.18AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceSearch Indonesian regulations, resolve citations, read specific articles, and find Constitutional Court decisions with official-source links. Six research and feedback tools plus a health probe provide structured text, legal-status context, and amendment relationships. Hosted Streamable HTTP; free account with OAuth or a personal token.2AGPL 3.0

Legalizeofficial
AlicenseNot gradedqualityBmaintenanceEnables AI assistants to search and read consolidated legislation from multiple countries, retrieve exact law texts as of any historical date with citations and git commit SHAs, and create webhook or email subscriptions to track legal changes.2MIT