Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI → MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE ↗ (opens in a new tab)
  • llms.txt ↗ (opens in a new tab)
  • Catalog JSON ↗ (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub ↗ (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ⚖️ Legal
  3. Indian Legal MCP
I
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Indian Legal MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time — check back soon.
View Repository

Structured access to 10 major Indian legal texts (BNS, IPC, etc) for AI agents.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON ▾
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for Indian Legal MCP, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Directory Badge Claim listing Alternatives⚖️ More in Legal

Documentation Overview


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 banner

⚖️ Indian Legal MCP

Structured, sourced access to 10 major Indian legal texts — built for AI agents.

Python 3.10+ License: MIT Hugging Face Spaces Model Context Protocol Status

Live Server • Tools • Acts Covered • Credits • License


Indian Legal MCP Poster

📖 What is this?

Indian Legal MCP is a Model Context Protocol server that gives AI assistants — Claude, ChatGPT, or any other MCP-compatible client — exact, structured access to the text of 10 major Indian Acts, instead of relying on the model's memory (and risking hallucination on section numbers, punishments, or repealed law).

Connect it once, and any AI agent using it can pull the real text of a section, browse a chapter, search by keyword, or check whether a law is still in force — all sourced directly from the underlying Act text, not guessed.

Disclaimer: This is not legal advice. Always verify anything that matters against the official Gazette at indiacode.nic.in. Historical Acts (IPC, CrPC, Indian Evidence Act) are clearly marked as repealed in every response — they remain useful for matters predating 1 July 2024, but no longer apply to new cases.


✨ Features

  • 10 major Indian Acts in one consistent, queryable structure
  • Smart keyword search — exact title matches rank first, partial title matches next, body-text matches last (BM25-style relevance), so the most relevant section always surfaces first
  • Safe pagination — large Acts (like BNS's 358 sections) are automatically chunked into manageable pages, so a single query never overflows an AI's context window
  • Historical-law awareness — every response involving IPC, CrPC, or the Indian Evidence Act automatically notes that the Act is repealed and names the current replacement (BNS, BNSS, or BSA respectively)
  • No embeddings, no ML model running — plain, fast, full-text search under the hood, which keeps this server free to host and quick to respond
  • Zero setup for the AI side — connect once, and the AI decides on its own when a question calls for a lookup

📚 Acts covered

ActFull nameStatus
BNSBharatiya Nyaya Sanhita, 2023✅ Current
BNSSBharatiya Nagarik Suraksha Sanhita, 2023✅ Current
BSABharatiya Sakshya Adhiniyam, 2023✅ Current
COIConstitution of India✅ Current
CPCCode of Civil Procedure, 1908✅ Current
MVAMotor Vehicles Act, 1988✅ Current
NIANegotiable Instruments Act, 1881✅ Current
IPCIndian Penal Code, 1860🕰️ Repealed → replaced by BNS
CRPCCode of Criminal Procedure, 1973🕰️ Repealed → replaced by BNSS
IEAIndian Evidence Act, 1872🕰️ Repealed → replaced by BSA

🛠️ Available tools

ToolWhat it does
list_acts()Lists all 10 Acts, with their current/repealed status
get_act_info(act_code)Full name, year, and status of one Act
get_section(act_code, section_number)Exact text of one section or Constitution article
list_sections(act_code)Every section number + title in an Act, without full text — for browsing
get_chapter(act_code, chapter_number)Every section in one chapter, in order
get_section_range(act_code, start, end)All sections in a numeric range, inclusive
get_full_act(act_code)The entire Act, paginated automatically for large Acts
search_keyword(query, act_code?)Ranked keyword search, across one Act or all 10

🔌 Connect to the live server

Server URL:

Code
https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/

Claude Desktop

Open Settings → Developer → Edit Config, and add this to claude_desktop_config.json:

config.json
{
  "mcpServers": {
    "Indian Legal MCP": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
      ]
    }
  }
}

Restart Claude Desktop — the tools will appear under the MCP/tools icon in the chat window.

Other MCP clients (Cursor, Cline, Windsurf, Claude Code, etc.)

For your MCP client’s setup instructions, use the following server URL:

https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/


🖥️ Run it yourself / develop locally

bash
git clone https://github.com/GSMS-B/indian-legal-mcp.git
cd indian-legal-mcp
pip install -r requirements.txt
python normalize.py   # builds legal.db from the raw JSON in data/raw/
python app.py          # starts the Gradio app with MCP enabled

The app will print a local URL — open it in a browser to test each tool by hand, or connect a local MCP client to the printed /gradio_api/mcp/ endpoint.


🙏 Credits & data sources

This project would not have been possible without the excellent datasets compiled by GSMS-B and Civictech India ("For the People & By the people"):

  • Indian-Legal-Sections (BNS, BNSS, BSA) — The text for the modern criminal codes (BNS, BNSS, and BSA) was independently compiled and structured for this project by GSMS-B on Hugging Face.
  • Indian-Law-Penal-Code-Json — Structured JSON used as the foundational data source for this project's historical Act coverage, including IPC, CRPC, IEA, CPC, MVA, and NIA.
  • constitution-of-india — The source dataset used for the Constitution of India (COI).

Huge thanks to Civictech India for making their data freely and openly available. Please check out and star their repositories if you find this project useful.


📄 License

This project is licensed under the MIT License — see the LICENSE file for details. The underlying legal texts themselves are public government documents; the credited source datasets carry their own respective licenses, viewable in their original repositories linked above.


Built by GSMS-B · If this project helped you, consider giving it a ⭐

Read the full README →View source on GitHub →

Related MCP Servers

View all in Legal View all alternatives
  • R
    Regulatory Deadline

    FinCEN/SEC/EU AI Act/GDPR deadline tracker for AI agents.

    ⚖️ Legal0 views
    Compare vs Regulatory Deadline →
  • M
    Melta UI

    AI-Ready design system MCP: melta UI tokens, component contracts, 99 rules, check_html self-verify

    ⚖️ Legal0 views
    Compare vs Melta UI →
  • J
    Justicelibre

    Free access to ~1M French administrative court decisions via MCP

    ⚖️ Legal1 views
    Compare vs Justicelibre →
  • L
    LibreJustice

    Search French and European case law and French legal texts (codes, statutes, treaties).

    ⚖️ Legal1 views
    Compare vs LibreJustice →

Reviews

No reviews yet — be the first to share how this listing worked for you.

Frequently Asked Questions about Indian Legal MCP

We don't have a confirmed install command for Indian Legal MCP yet, so we don't publish a generated one — a guessed package name would point at the wrong package or none at all. Follow the project's own README or setup instructions (https://github.com/GSMS-B/indian-legal-mcp) for the current steps.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewIndian Legal MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/indian-legal-mcp?style=directory)](https://allmcps.com/mcp/indian-legal-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/indian-legal-mcp"><img src="https://allmcps.com/api/badge/indian-legal-mcp?style=directory" alt="Indian Legal MCP on AllMCPs" /></a>

Technical Specs & Signals

Category⚖️Legal
More technical detailsExpand ▾
Last updatedSep 28, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging · 27/100How this signal is calculated ▾
Server availabilityNot measured

Not scored for repo-hosted servers — we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data — not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website — proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it — no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ⚖️ Legal →Best MCP servers for Legal →Alternatives to Indian Legal MCP →Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients