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 分

    請在儲存庫或註冊中心條目中宣告授權條款。