Indian Legal MCP
Access 102 Indian Acts, 2026 Constitution, criminal mappings, and 10 legal research skills.
Should I use this
Quality & Safety
Findings (7)
- LOWin indian_legal_mcp_get_section_range
- LOWin indian_legal_mcp_search_keyword
- LOWin indian_legal_mcp_convert_section
- LOWin indian_legal_mcp_get_constitution_schedule
- LOWin indian_legal_mcp_list_constitution_schedules
- LOWin indian_legal_mcp_get_constitution_appendix
- LOWin indian_legal_mcp_list_constitution_appendices
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"indian-legal-mcp": {
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}Remote endpoints
https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/streamable-httpWhat it can do
Tool inventory
Tools (16)
🟢indian_legal_mcp_list_acts
List all available Acts in the database, with metadata and descriptions. Use this to see which legal codes are supported or find short codes. Currently supports 102 official Acts of India.
Input Schema
{
"type": "object",
"properties": {}
}🟢indian_legal_mcp_get_act_info(act_code)
Get metadata about one specific Act: its full name, year enacted, and whether it is still current law or has been repealed and replaced by something newer.
Input Schema
{
"type": "object",
"properties": {
"act_code": {
"type": "string",
"description": "short code, e.g. BNS, BNSS, BSA, IPC, CRPC, IEA, COI, CPC, MVA, NIA, RERA, CA, IBC, RTI, ITA, SEBI, SCRA, etc. (102 Acts supported)."
}
},
"required": [
"act_code"
]
}🟢indian_legal_mcp_resolve_act(query)
[TOKEN OPTIMIZATION TOOL: Use this instead of list_acts to find act codes for any legal topic or statute name in a tiny, lightweight response.] Find the exact act_code(s) for any topic, statute name, or keyword. Returns a compact list of matching Acts with their act_code, official name, and enactment year. Examples: resolve_act('environment') -> [EPA, NGT, AIR, WATER, WPA, VSA] resolve_act('hindu') -> [HMA, HSA, HAMA] resolve_act('cheque') -> [NIA] resolve_act('company') -> [CA, IBC, COMMERCIAL_COURTS] resolve_act('marriage') -> [HMA, SMA, FCA, PCMA] resolve_act('data protection') -> [DPDPA, IT_ACT]
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "search term, topic, or statute name, e.g. 'environment', 'hindu', 'cheque', 'company', 'tax', 'labor', 'bail'."
}
},
"required": [
"query"
]
}🟢indian_legal_mcp_get_section(act_code, section_number)
[AI TOOL ORCHESTRATION INSTRUCTION: Only use this tool AFTER you have found the exact section number via search_keyword, or if the user explicitly provided it.] Get the exact text of ONE section (or Constitution article) by its number. Use this when someone asks about a specific, known section number, e.g. 'what does BNS Section 103 say', 'show me IPC 302', or 'what does COI Article 21 say'. If the Act is repealed (IPC, CRPC, or IEA), the result includes a note that it no longer applies to new cases and names what replaced it. For the Constitution of India (COI), section_number='0' retrieves the Preamble.
Input Schema
{
"type": "object",
"properties": {
"act_code": {
"type": "string",
"description": "e.g. 'BNS', 'IPC', 'COI'."
},
"section_number": {
"type": "string",
"description": "e.g. '103', '25A', '0' (Preamble), '394A'. Always given as a string."
}
},
"required": [
"act_code",
"section_number"
]
}🟢indian_legal_mcp_list_sections(act_code)
List every section NUMBER and TITLE in one Act, without the full body text. Use this to browse what exists in an Act before deciding which specific section or chapter to fetch in full -- much shorter than get_full_act.
Input Schema
{
"type": "object",
"properties": {
"act_code": {
"type": "string",
"description": "e.g. 'BNS', 'MVA', 'COI'."
}
},
"required": [
"act_code"
]
}🟢indian_legal_mcp_get_chapter(act_code, chapter_number)
Get every section within one chapter (or Constitution Part) of an Act, with full text. Supports all chaptered Acts in the database (e.g. BNS, BNSS, BSA, IPC, CRPC, IEA, COI, CA, IBC, SEBI, SCRA, ITA, EA, DCA, LLP, MHA, MSMED, etc.). You can query by Roman numeral (e.g. 'I', 'III', 'VIA'), Arabic numeral (e.g. '1', '3', '6A'), or by chapter title keywords (e.g. 'Fundamental Rights', 'Adjudication', 'Demutualisation'). For CPC and MVA, which lack chapter grouping in this dataset, it returns an informative message.
Input Schema
{
"type": "object",
"properties": {
"act_code": {
"type": "string",
"description": "short code, e.g. 'BNS', 'COI', 'SEBI', 'SCRA', 'ITA', 'LLP'."
},
"chapter_number": {
"type": "string",
"description": "chapter/part number or title, e.g. '1', 'I', 'Chapter 4', 'Part III', 'Fundamental Rights'."
}
},
"required": [
"act_code",
"chapter_number"
]
}🟢indian_legal_mcp_get_section_range(act_code, start_section, end_section)
Get all sections between a start and end number (inclusive) with full text. If start and end are provided in reverse order, it silently corrects them and includes a note in the response.
Input Schema
{
"type": "object",
"properties": {
"act_code": {
"type": "string",
"description": "e.g. 'BNS', 'COI'."
},
"start_section": {
"type": "string",
"description": "e.g. '100', '12'."
},
"end_section": {
"type": "string",
"description": "e.g. '110', '19'."
}
},
"required": [
"act_code",
"start_section",
"end_section"
]
}🟢indian_legal_mcp_get_full_act(act_code, page)
Get an entire Act, in full, returned in paginated chunks (50 sections/page). Use only when genuinely needing the whole Act. If a page beyond the total pages is requested, it gracefully returns empty sections with a note.
Input Schema
{
"type": "object",
"properties": {
"act_code": {
"type": "string",
"description": "e.g. 'BNS', 'COI'."
},
"page": {
"type": "integer",
"description": "The page number to fetch. Default is 1.",
"default": 1
}
},
"required": [
"act_code"
]
}🟢indian_legal_mcp_search_keyword(query, act_code)
[AI TOOL ORCHESTRATION INSTRUCTION: ALWAYS use this tool FIRST when the specific section number is unknown. Never guess section numbers.] Search section titles and text across all 102 Acts (including the 2026 Constitution of India, criminal, civil, commercial, corporate, labor, tax, environmental, public health, and family codes). Exact title matches rank #1, partial title matches rank #2, and body text matches rank #3 (via BM25). Handles exact phrases, multi-word keywords, section citations (e.g. 'Article 21: Life & Liberty'), and punctuation gracefully. If filtered by an Act that has no matching provisions, dynamically detects and suggests other Acts in the database where relevant provisions exist.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "search term(s), e.g. 'punishment for murder', 'freedom of speech', 'anticipatory bail', 'arbitration agreement', 'corporate governance', 'cheque bounce'."
},
"act_code": {
"type": "string",
"description": "optional -- restrict search to one Act (e.g. 'BNS', 'IPC', 'COI', 'CA', 'RERA', 'IBC')."
}
},
"required": [
"query"
]
}⚪indian_legal_mcp_convert_section(act_code, section_number, include_text)
Map/convert any criminal law section between the old repealed codes (IPC, CrPC, IEA) and the new 2023 criminal codes (BNS, BNSS, BSA) in either direction. Returns the corresponding section number, amendment status ('Retained', 'Change', 'Deleted', 'New Section', 'New Sub-Section'), a concise mapping statement, and the full statutory text of both sections for instant comparison. Examples: convert_section('IPC', '302') -> maps to BNS Section 103 (Punishment for murder) convert_section('BNS', '103') -> maps to IPC Section 302 + highlights new sub-section 103(2) (Mob Lynching) convert_section('CRPC', '437') -> maps to BNSS Section 480 (Non-bailable offence bail) convert_section('IEA', '65B') -> maps to BSA Section 63 (Electronic records admissibility) convert_section('IPC', '377') -> notes that this section was repealed and deleted in BNS convert_section('BNS', '111') -> notes that Organised Crime is a newly introduced provision
Input Schema
{
"type": "object",
"properties": {
"act_code": {
"type": "string",
"description": "Source Act short code ('IPC', 'BNS', 'CRPC', 'BNSS', 'IEA', or 'BSA')."
},
"section_number": {
"type": "string",
"description": "Section number (e.g. '302', '103', '1(1)', '437', '65B')."
},
"include_text": {
"type": "boolean",
"description": "If True (default), includes the exact statutory text of both source and target sections.",
"default": true
}
},
"required": [
"act_code",
"section_number"
]
}🟢indian_legal_mcp_get_constitution_schedule(schedule_number)
Get the full text and tables of a specific Schedule of the Constitution of India (2026 Edition). Covers all 12 Schedules (First to Twelfth Schedule). Examples: get_constitution_schedule('Seventh') -> Union, State, and Concurrent Lists get_constitution_schedule('7') -> Same as 'Seventh' get_constitution_schedule('Eighth') -> Languages get_constitution_schedule('First') -> States and Union Territories
Input Schema
{
"type": "object",
"properties": {
"schedule_number": {
"type": "string",
"description": "Schedule name or number (e.g. 'First', '7', 'Seventh', 'Eighth', '10')."
}
},
"required": [
"schedule_number"
]
}🟢indian_legal_mcp_list_constitution_schedules
List all 12 Schedules of the Constitution of India with their numbers and titles.
Input Schema
{
"type": "object",
"properties": {}
}🟢indian_legal_mcp_get_constitution_appendix(appendix_number)
Get the full text of an Appendix to the Constitution of India (2026 Edition). Covers Appendix I (100th Amendment / Land Boundary Agreement), Appendix II (J&K Order 2019 / C.O. 272), and Appendix III (Declaration under Article 370(3) / C.O. 273).
Input Schema
{
"type": "object",
"properties": {
"appendix_number": {
"type": "string",
"description": "'I', 'II', 'III', or '1', '2', '3'."
}
},
"required": [
"appendix_number"
]
}🟢indian_legal_mcp_list_constitution_appendices
List all 3 Appendices of the Constitution of India with their numbers and titles.
Input Schema
{
"type": "object",
"properties": {}
}🟢indian_legal_mcp_list_skills(query)
Discover expert legal research procedures and workflows available in the system. Returns the skills registry containing domain skill IDs, titles, triggers ('use_when'), covered act codes, recommended tool sequences, and reference files. If query is provided, filters skills by keyword matching against skill ID, title, trigger keywords, or act codes.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "(Optional) Search filter, e.g. 'bail', 'FIR', 'cheque', 'SEBI', 'tax', 'divorce', 'IPR'."
}
},
"required": [
"query"
]
}🟢indian_legal_mcp_get_skill(skill_id, file)
Retrieve procedural instructions and domain reference files for a legal skill. Call this tool after checking list_skills to load the exact workflow for a legal domain. Use skill_id='_core' to retrieve global legal reasoning, citation, and anti-hallucination rules.
Input Schema
{
"type": "object",
"properties": {
"skill_id": {
"type": "string",
"description": "The skill identifier (e.g. '_core', 'criminal-law', 'banking-finance-recovery', 'taxation-and-customs', 'corporate-securities-insurance')."
},
"file": {
"type": "string",
"description": "Specific file to retrieve (default: 'SKILL.md', or reference files like 'reference/date_rule.md', 'reference/recovery_routes.md').",
"default": "SKILL.md"
}
},
"required": [
"skill_id"
]
}Community
Evidence