Search / io.github.GSMS-B/indian-legal-mcp
Indian Legal MCP
R0· no sign-inAccess 102 Indian Acts, Constitution, and old-to-new criminal law mappings for AI assistants.
v3.0.0 · active · repository · descriptor JSON · versions
Search / io.github.GSMS-B/indian-legal-mcp
R0· no sign-inAccess 102 Indian Acts, Constitution, and old-to-new criminal law mappings for AI assistants.
v3.0.0 · active · repository · descriptor JSON · versions
{
"mcpServers": {
"indian-legal-mcp": {
"type": "http",
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}claude mcp add --transport http indian-legal-mcp https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/[mcp_servers.indian-legal-mcp]
url = "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"indian-legal-mcp": {
"type": "remote",
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/",
"enabled": true
}
}
}{
"mcpServers": {
"indian-legal-mcp": {
"type": "http",
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=indian-legal-mcp&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vZ3Ntcy1iLWluZGlhbi1sZWdhbC1tY3AuaGYuc3BhY2UvZ3JhZGlvX2FwaS9tY3AvIn0%3D"
}{
"servers": {
"indian-legal-mcp": {
"type": "http",
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}{
"mcpServers": {
"indian-legal-mcp": {
"httpUrl": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}extensions:
"indian-legal-mcp":
enabled: true
name: "indian-legal-mcp"
type: streamable_http
uri: "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
timeout: 300
protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28protocol.statelessonly applies to 2026-07-28 serversprotocol.transportstreamable HTTPprotocol.list_ttlonly applies to 2026-07-28 serversauth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptionsevery tool has a descriptiontools.description_lengthdescriptions are concisetools.schemasevery tool has an object input schematools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky onestools.directory_hintsno tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: indian_legal_mcp_get_act_info (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); indian_legal_mcp_resolve_act (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); indian_legal_mcp_get_section (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …tools.token_costabout 2,088 tokens to load every tooltools.api_dumptools are not a one-to-one API dumpstability.changes14 tool changes in 30 daysstability.rug_pull1 tools kept their name but changed most of their description in 30 days; review before trusting themdeps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI packageindian_legal_mcp_list_constitution_appendicesaddedList all 3 Appendices of the Constitution of India with their numbers and titles.
indian_legal_mcp_get_constitution_appendixaddedGet 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).
indian_legal_mcp_list_constitution_schedulesaddedList all 12 Schedules of the Constitution of India with their numbers and titles.
indian_legal_mcp_get_constitution_scheduleaddedGet 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
indian_legal_mcp_convert_sectionaddedMap/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
indian_legal_mcp_search_keywordchangeddescription, input schemameaning changed[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. Exact title matches are ranked #1, partial title matches are #2, and body text matches are #3 (via BM25). This is exact/near-exact word matching, NOT meaning-based search.
[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 81 Acts (including the 2026 Constitution of India, criminal, civil, commercial, corporate, labor, environmental, 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.
indian_legal_mcp_get_full_actchangedinput schemaindian_legal_mcp_get_section_rangechangeddescription, input schemaGet all sections between a start and end number (inclusive) with full text. Numeric comparison handles letter-suffixed numbers (like '108A'). If start and end are provided in reverse order, it silently corrects them and includes a note in the response.
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.
indian_legal_mcp_get_chapterchangeddescription, input schemaGet every section within one chapter of an Act, with full text. Only meaningful for BNS, BNSS, BSA, IPC, CRPC, IEA. For CPC, MVA, and COI, which lack chapter grouping in this dataset, it returns a clear message instead of empty data.
Get every section within one chapter (or Constitution Part) of an Act, with full text. Supports BNS, BNSS, BSA, IPC, CRPC, IEA, and Constitution of India (COI). For the Constitution of India, chapter_number represents the Part (e.g. 'III', 'IV', '3', 'Fundamental Rights'). For CPC and MVA, which lack chapter grouping in this dataset, it returns an informative message.
indian_legal_mcp_list_sectionschangedinput schemaShowing the latest 10. Full history: list_changes · trend: quality JSON.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +reachable +uptime-100% +updated-0d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | protocol | last ok |
|---|---|---|---|---|---|---|
https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/ streamable-http | none | yes | 100% | 245 ms | 2025-11-25 | 2026-10-19 |
indian_legal_mcp_convert_section | 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 |
indian_legal_mcp_get_act_info | 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. |
indian_legal_mcp_get_chapter | Get every section within one chapter (or Constitution Part) of an Act, with full text. Supports BNS, BNSS, BSA, IPC, CRPC, IEA, and Constitution of India (COI). For the Constitution of India, chapter_number represents the Part (e.g. 'III', 'IV', '3', 'Fundamental Rights'). For CPC and MVA, which lack chapter grouping in this dataset, it returns an informative message. |
indian_legal_mcp_get_constitution_appendix | 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). |
indian_legal_mcp_get_constitution_schedule | 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 |
indian_legal_mcp_get_full_act | 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. |
indian_legal_mcp_get_section | [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. |
indian_legal_mcp_get_section_range | 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. |
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 81 official Acts of India. |
indian_legal_mcp_list_constitution_appendices | List all 3 Appendices of the Constitution of India with their numbers and titles. |
indian_legal_mcp_list_constitution_schedules | List all 12 Schedules of the Constitution of India with their numbers and titles. |
indian_legal_mcp_list_sections | 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. |
indian_legal_mcp_resolve_act | [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] |
indian_legal_mcp_search_keyword | [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 81 Acts (including the 2026 Constitution of India, criminal, civil, commercial, corporate, labor, environmental, 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. |
Schemas: list_tools.
{
"name": "io.github.GSMS-B/indian-legal-mcp",
"title": "Indian Legal MCP",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/",
"type": "streamable-http"
}
],
"version": "3.0.0",
"repository": {
"url": "https://github.com/GSMS-B/indian-legal-mcp",
"source": "github"
},
"description": "Access 102 Indian Acts, Constitution, and old-to-new criminal law mappings for AI assistants."
}