Indian Legal MCP

io.github.GSMS-B由 GitHub 账号 GSMS-B 发布v3.1.0更新于 Oct 24, 2026

Access 102 Indian Acts, 2026 Constitution, criminal mappings, and 10 legal research skills.

已验证Streamable HTTP可网页运行网页搜索与抓取知识与记忆

概览

AI 生成的概览

远程 MCP 服务器,让助手以结构化方式访问 102 部印度法律、2026 年版宪法、刑法条文对照映射和法律研究技能。

可以做什么
  • 浏览与定位法律:列出全部 102 部法律、查询单部法律的元数据与现行状态,或按主题、法律名称解析出法律代码
  • 检索与读取条文:对全部法律做全文关键词搜索,按编号取单条条文或宪法条款,列出条文标题,或获取整章、条文区间以及分页的整部法律
  • 刑法条文对照:在旧法 IPC、CrPC、IEA 与 2023 年新法 BNS、BNSS、BSA 之间双向转换条文编号
  • 宪法资料:列出并读取印度宪法的全部 12 个附表与 3 个附录
  • 法律研究技能:发现各领域技能工作流并加载程序性说明,包括含引用与防臆造规则的核心技能
适用场景
适合需要以真实条文文本为依据回答印度法律问题、查找特定条文或宪法条款、确认某部法律是否仍然有效,或把旧刑法条文编号对应到 2023 年新法的场景。适用于法律研究、合规参考与教学分析,而非实时法律意见。
运行要求
需要一个远程 streamable HTTP 端点;未声明需要安装、账号、API 密钥或环境变量。README 另记录了本地 Python 运行方式,但未发布对应软件包。
安装前请注意
该服务器提供只读参考资料,但 README 明确说明其不构成正式法律意见,条文应核对印度官方公报。内容为第三方汇编的成文法文本,在诉讼或合同事务中依赖前应核实准确性与时效性。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Indian Legal MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.GSMS-B%2Findian-legal-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "indian-legal": {
      "type": "http",
      "url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
    }
  }
}

README


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

Structured, authoritative access to 102 Indian Acts & Codes (12,174 sections) coupled with 10 Domain Legal Research Skills for AI assistants, LLM agents, and legal practitioners.

[MCP Version] [Database Size] [Skills Architecture] [License: MIT] [HF Space] [FastMCP]


[Indian Legal MCP Poster]

⚡ 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).

🧠 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.

text
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 IDActs CoveredPrimary Procedural Job & Doctrinal Traps
1criminal-lawBNS, BNSS, BSA, IPC, CRPC, IEA, POCSO, NDPS, PMLA, PCA, UAPA, ARMS, DPA, SCSTOffence date decides IPC vs BNS. Special act non-obstante bail clauses (NDPS s.37, PMLA s.45) override BNSS.
2civil-contract-propertyCPC, ICA, SGA, SRA, LA, TPA, REGISTRATION, EASEMENTS, RFCTLARR, MVA, ACAPick the correct forum (civil court vs arbitral tribunal). Mandatory limitation check under Limitation Act 1963.
3banking-finance-recoveryNIA, SARFAESI, RDBA, IBC, BRA, RBI, FEMA, CHIT, PSSA, FCRARecovery route decision matrix: cheque bounce (s.138 NIA) vs DRT (RDBA) vs SARFAESI vs corporate insolvency (IBC).
4corporate-securities-insuranceCA, IPA, LLP, COMPETITION, COMMERCIAL_COURTS, SEBI, SCRA, INSURANCE, IRDAIBusiness vehicle classification (Proprietorship vs Firm vs LLP vs Pvt/Public Ltd). SEBI regulations and insider trading.
5taxation-and-customsITA, CGST, IGST, CUSTOMS, STAMP, PBPTAAssessment year determines applicability of direct tax codes. Input tax credit rules under CGST/IGST; benami property confiscation.
6family-and-personal-lawHMA, HSA, HAMA, SMA, ISA, FCA, GWA, MWPRDA, MWPRMA, PCMAReligion of parties governs personal succession/marriage; secular options under Special Marriage Act; triple talaq criminalization.
7labour-and-workplaceCOW, CSS, IRC, OSH, CALPRA, POSH4 unified labour codes replacing ~29 legacy statutes. Mandatory POSH Internal Complaints Committees (ICC).
8cyber-data-and-iprIT_ACT, DPDPA, AADHAAR, TELECOM, COPYRIGHT, PATENTS, TRADEMARKS, DESIGNS, GISeparation of cyber offences (IT Act) from digital privacy (DPDPA 2023) and intellectual property infringement.
9constitutional-and-public-lawCOI, RTI, PHRA, PCRA, ADVOCATES, ATA, CONTEMPT_COURTS, LSAA, RPA, RPWDA, RTE, DV, JJ, MWPSCFundamental Rights violation remedies (Article 32/226 writs), Union/State/Concurrent legislative lists (7th Schedule), RTI exemptions.
10environment-healthcare-regulatoryEPA, NGT, AIR, WATER, WPA, VSA, FSSA, DCA, MHA, EA, CPA, RERA, MSMEDSpecialized 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:

json
{  "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:

json
{  "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:

json
{  "mcpServers": {    "indian-legal": {      "url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"    }  }}

🛠️ MCP Tools Reference (16 Tools)

Tool NameDescriptionKey Arguments
list_skills[Discovery] Returns the skill registry with domain triggers, covered Acts, and workflows. Supports keyword filtering.query (optional str)
get_skill[Procedure Retrieval] Retrieves procedural instructions (SKILL.md) or reference files for a legal domain or _core.skill_id (str), file (default: 'SKILL.md')
search_keyword[Primary AI Tool] Ultra-fast FTS5 full-text keyword search across 102 Acts with BM25 ranking.query (str), act_code (optional)
resolve_actLightweight topic resolver returning matching act codes and titles.query (str)
get_sectionFetches exact section/article by number with full headnote and body text.act_code (str), section_number (str)
list_actsReturns list of all 102 Acts, enactment year, and status.(None)
get_act_infoMetadata and total section count for a specific Act.act_code (str)
list_sectionsLightweight index of all section numbers and titles in an Act.act_code (str)
get_chapterRetrieves all sections within a chapter or Constitution Part.act_code (str), chapter_number (str)
get_section_rangeFetches contiguous range of sections between start and end.act_code (str), start_section (str), end_section (str)
get_full_actPaginated retrieval of full statutory text (50 sections per page).act_code (str), page (int)
convert_sectionBidirectional cross-walk between old and new criminal laws (e.g. IPC 302 ↔ BNS 103).act_code (str), section_number (str), include_text (bool)
get_constitution_scheduleFetches full text of any Constitution Schedule (First to Twelfth).schedule_number (str)
list_constitution_schedulesLists all 12 Constitution schedules and titles.(None)
get_constitution_appendixFetches full text of Constitution Appendices (I, II, III).appendix_number (str)
list_constitution_appendicesLists all Constitution appendices.(None)

📚 Complete Catalogue of 102 Covered Acts (13 Domains)

DomainCodeOfficial Statute NameYearTotal Sections
Criminal Law & Penal StatutesARMSArms Act, 1959195948
BNSBharatiya Nyaya Sanhita, 20232023358
BNSSBharatiya Nagarik Suraksha Sanhita, 20232023531
BSABharatiya Sakshya Adhiniyam, 20232023170
CONTEMPT_COURTSContempt of Courts Act, 1971197124
CRPCCode of Criminal Procedure, 19731973525
DPADowry Prohibition Act, 1961196112
IEAIndian Evidence Act, 18721872184
IPCIndian Penal Code, 18601860575
NDPSNarcotic Drugs and Psychotropic Substances Act, 19851985127
PCAPrevention of Corruption Act, 1988198835
PMLAPrevention of Money Laundering Act, 2002200281
POCSOProtection of Children from Sexual Offences Act, 2012201247
UAPAUnlawful Activities (Prevention) Act, 1967196767
Constitutional Law & Public AdministrationADVOCATESAdvocates Act, 1961196185
ATAAdministrative Tribunals Act, 1985198541
COIConstitution of India (2026 Edition)1950507
LSAALegal Services Authorities Act, 1987198738
PCRAProtection of Civil Rights Act, 1955195523
PHRAProtection of Human Rights Act, 1993199345
RPARepresentation of the People Act, 19511951196
RTIRight to Information Act, 2005200531
SCSTScheduled Castes and Scheduled Tribes (Prevention of Atrocities) Act, 1989198926
Commercial, Corporate & Financial LawACAArbitration and Conciliation Act, 1996199692
CACompanies Act, 20132013517
CHITChit Funds Act, 1982198290
COMMERCIAL_COURTSCommercial Courts Act, 2015201526
COMPETITIONCompetition Act, 2002200295
CPAConsumer Protection Act, 20192019107
IBCInsolvency and Bankruptcy Code, 20162016281
IPAIndian Partnership Act, 1932193274
LLPLimited Liability Partnership Act, 2008200888
MSMEDMicro, Small and Medium Enterprises Development Act, 2006200632
RERAReal Estate (Regulation and Development) Act, 2016201692
SCRASecurities Contracts (Regulation) Act, 1956195678
SEBISecurities and Exchange Board of India Act, 1992199292
SGASale of Goods Act, 1930193067
Banking, Finance & RevenueBRABanking Regulation Act, 19491949131
CGSTCentral Goods and Services Tax Act, 20172017190
CUSTOMSCustoms Act, 19621962278
FCRAForeign Contribution (Regulation) Act, 2010201056
FEMAForeign Exchange Management Act, 1999199952
IGSTIntegrated Goods and Services Tax Act, 2017201728
INSURANCEInsurance Act, 19381938263
IRDAIInsurance Regulatory and Development Authority Act, 1999199939
ITAIncome-tax Act, 20252025536
NIANegotiable Instruments Act, 18811881156
PBPTAProhibition of Benami Property Transactions Act, 1988198875
PSSAPayment and Settlement Systems Act, 2007200742
RBIReserve Bank of India Act, 19341934132
RDBARecovery of Debts and Bankruptcy Act, 1993199345
SARFAESISARFAESI Act, 2002200261
STAMPIndian Stamp Act, 1899189997
Civil Procedure, Contracts & PropertyCPCCode of Civil Procedure, 19081908171
EASEMENTSIndian Easements Act, 1882188264
ICAIndian Contract Act, 18721872268
LALimitation Act, 1963196332
MVAMotor Vehicles Act, 19881988256
REGISTRATIONRegistration Act, 1908190896
RFCTLARRRight to Fair Compensation & Transparency in Land Acquisition (RFCTLARR) Act, 20132013114
SRASpecific Relief Act, 1963196348
TPATransfer of Property Act, 18821882148
Unified Labor CodesCALPRAChild and Adolescent Labour (Prohibition and Regulation) Act, 1986198629
COWCode on Wages, 2019201969
CSSCode on Social Security, 20202020164
IRCIndustrial Relations Code, 20202020100
OSHOccupational Safety, Health and Working Conditions Code, 20202020143
Cyber, Technology, Telecom & IdentityAADHAARAadhaar (Targeted Delivery of Financial and Other Subsidies) Act, 2016201669
DPDPADigital Personal Data Protection Act, 2023202341
IT_ACTInformation Technology Act, 20002000125
TELECOMTelecommunications Act, 2023202362
Intellectual Property Rights (IPR)COPYRIGHTCopyright Act, 19571957105
DESIGNSDesigns Act, 2000200048
GIGeographical Indications of Goods (Registration and Protection) Act, 1999199989
PATENTSPatents Act, 19701970175
TRADEMARKSTrade Marks Act, 19991999169
Family & Personal LawsFCAFamily Courts Act, 1984198423
GWAGuardians and Wards Act, 1890189055
HAMAHindu Adoptions and Maintenance Act, 1956195630
HMAHindu Marriage Act, 1955195537
HSAHindu Succession Act, 1956195631
ISAIndian Succession Act, 19251925392
MWPRDAMuslim Women (Protection of Rights on Divorce) Act, 198619867
MWPRMAMuslim Women (Protection of Rights on Marriage) Act, 201920198
PCMAProhibition of Child Marriage Act, 2006200621
SMASpecial Marriage Act, 1954195457
Environmental & Green LawAIRAir (Prevention and Control of Pollution) Act, 1981198162
EPAEnvironment (Protection) Act, 1986198637
NGTNational Green Tribunal Act, 2010201039
VSAVan (Sanrakshan Evam Samvardhan) Adhiniyam, 1980198010
WATERWater (Prevention and Control of Pollution) Act, 1974197475
WPAWild Life (Protection) Act, 19721972162
Public Health, Healthcare & Food SafetyDCADrugs and Cosmetics Act, 1940194088
FSSAFood Safety and Standards Act, 20062006101
MHAMental Healthcare Act, 20172017126
Social Protection, Education & Human WelfareDVProtection of Women from Domestic Violence Act, 2005200537
JJJuvenile Justice (Care and Protection of Children) Act, 20152015112
MWPSCMaintenance and Welfare of Parents and Senior Citizens Act, 2007200732
POSHSexual Harassment of Women at Workplace (Prevention, Prohibition and Redressal) Act, 2013201330
RPWDARights of Persons with Disabilities Act, 20162016102
RTERight of Children to Free and Compulsory Education Act, 2009200939
Energy, Infrastructure & Public UtilitiesEAElectricity Act, 20032003188

⚖️ 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.

来源:README.md,提交 0f2355a

工具

16

版本历史

3
  1. v3.1.0最新Oct 19, 2026
  2. v2.0.0Oct 19, 2026
  3. v1.0.0Sep 16, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。