protogrid

Search / io.github.GSMS-B/indian-legal-mcp

Indian Legal MCP

R0· no sign-in

Access 102 Indian Acts, Constitution, and old-to-new criminal law mappings for AI assistants.

v3.0.0 · active · repository · descriptor JSON · versions

An agent can connect right now, no human step.Remote endpoint, no authentication, reachable on the last probe.
Quality63needs work
Trust94of 100
Uptime, 30 days100%
Latency p50245 ms

Connect

8 clients · secrets stay placeholders
{
  "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

Quality 63 / 100needs work

protocol75 · weight 25
  • warn
    protocol.modernnewest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
  • n/a
    protocol.statelessonly applies to 2026-07-28 servers
  • pass
    protocol.transportstreamable HTTP
  • n/a
    protocol.list_ttlonly applies to 2026-07-28 servers
authorizationn/a · weight 15
  • n/a
    auth.prm, auth.as_metadata, auth.cimdno remote uses OAuth
  • n/a
    auth.secret_in_urlno templated URL
tool hygiene71 · weight 30
  • pass
    tools.descriptionsevery tool has a description
  • pass
    tools.description_lengthdescriptions are concise
  • pass
    tools.schemasevery tool has an object input schema
  • fail
    tools.annotationsno tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
  • fail
    tools.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); …
  • pass
    tools.token_costabout 2,088 tokens to load every tool
  • pass
    tools.api_dumptools are not a one-to-one API dump
stability25 · weight 15
  • warn
    stability.changes14 tool changes in 30 days
  • fail
    stability.rug_pull1 tools kept their name but changed most of their description in 30 days; review before trusting them
dependenciesn/a · weight 15
  • n/a
    deps.known_vulns, deps.mcp_sdk_version, deps.resolvableno npm or PyPI package

14 tools, about 2,088 tokens to load them all · tool set abf48bf5837e · tools last changed 2026-10-18 · checked 2026-10-19 10:52 UTC

Tool changes

  • indian_legal_mcp_list_constitution_appendicesadded

    List all 3 Appendices of the Constitution of India with their numbers and titles.

  • indian_legal_mcp_get_constitution_appendixadded

    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_list_constitution_schedulesadded

    List all 12 Schedules of the Constitution of India with their numbers and titles.

  • indian_legal_mcp_get_constitution_scheduleadded

    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_convert_sectionadded

    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_search_keywordchangeddescription, input schemameaning changed
    before

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

    after · 38% of words in common

    [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 schema
  • indian_legal_mcp_get_section_rangechangeddescription, input schema
    before

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

    after · 77% of words in common

    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 schema
    before

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

    after · 58% of words in common

    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 schema

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

Trust 94 / 100

provenance80
liveness100
freshness100
hygiene100

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

Endpoints

remoteauthreachableuptime 30dp50protocollast ok
https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/ streamable-httpnoneyes100%245 ms2025-11-252026-10-19

Tools (14)

indian_legal_mcp_convert_sectionMap/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_infoGet 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_chapterGet 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_appendixGet 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_scheduleGet 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_actGet 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_rangeGet 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_actsList 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_appendicesList all 3 Appendices of the Constitution of India with their numbers and titles.
indian_legal_mcp_list_constitution_schedulesList all 12 Schedules of the Constitution of India with their numbers and titles.
indian_legal_mcp_list_sectionsList 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.

Similar MCP servers

Official server.json
{
  "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."
}