Indian Legal MCP
Indian statutes, criminal-code crosswalks and legal research skills over MCP
- Pricing
- Open source
- Platforms
- API, self-hosted, Web
- Runs
- Remotely
- Version
- 3.1.0
- Listing updated
- today
Similar MCP servers
About Indian Legal MCP
Indian Legal MCP is an open-source MCP server for legal and government. It runs as a hosted remote server, so there is nothing to install locally.
The server holds the text of 102 Indian Acts and codes, about 12,174 sections, articles, schedules and appendices, in a SQLite database with FTS5 full-text search and BM25 ranking. The README highlights the 2023 criminal reform codes (BNS, BNSS, BSA) alongside IPC, CrPC and the Evidence Act, linked by 2,629 section mappings so a lookup can be converted both ways, for example IPC 302 to BNS 103. It also covers the Constitution of India, the Income-tax Act 2025, the Companies Act, SEBI, IBC and arbitration legislation.
The design principle is that the server is the library and a skill is the procedure. Ten domain skills, such as criminal law, banking recovery, labour and cyber law, plus one core skill, tell an assistant how to fetch, verify and cite statutory text instead of recalling it, flagging traps such as the offence date deciding IPC versus BNS. Sixteen tools and fifteen prompt workflows support lookups, comparisons and drafting.
It runs as a hosted Gradio space over Streamable HTTP with no installation, or locally with Python, under the MIT licence. It is a research aid for lawyers, students and agents, not legal advice.
Install
Run in a terminal
claude mcp add --transport http indian-legal-mcp https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/Add to Settings → Connectors → Add custom connector
https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/Add to ~/.cursor/mcp.json
{
"mcpServers": {
"indian-legal-mcp": {
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"indian-legal-mcp": {
"type": "http",
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"indian-legal-mcp": {
"serverUrl": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"indian-legal-mcp": {
"type": "http",
"url": "https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/"
}
}
}Using several servers? Build one config file with the MCP config generator.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
- list_skills
- Returns the skill registry with domain triggers, covered Acts and workflows.
- get_skill
- Retrieves procedural instructions or reference files for a legal domain.
- search_keyword
- Full-text keyword search across the Acts with BM25 ranking.
- resolve_act
- Resolves a topic to matching act codes and titles.
- get_section
- Fetches an exact section or article by number.
- list_acts
- Lists all Acts with enactment year and status.
- get_act_info
- Metadata and section count for an Act.
- list_sections
- Index of section numbers and titles in an Act.
- get_chapter
- Retrieves all sections in a chapter or Constitution part.
- get_section_range
- Fetches a contiguous range of sections.
- get_full_act
- Paginated retrieval of an Act's full text.
- convert_section
- Cross-walks between old and new criminal laws.
What it does
- Statute lookup
- Fetches an exact section or article with headnote and body by Act code and number.
- Full-text search
- Searches all 102 Acts with BM25 ranking, optionally limited to one Act.
- Old-to-new criminal crosswalk
- Converts sections between IPC, CrPC, IEA and BNS, BNSS, BSA.
- Browse by chapter or range
- Retrieves chapters, section ranges or a whole Act in pages of 50 sections.
- Domain research skills
- Ten procedures guide assistants to retrieve, verify and cite law.
- Remote or local
- Use the hosted endpoint or run the app yourself.
Good for
- Find the BNS equivalent of an IPC section
- Pull the exact text of a Companies Act section for a memo
- Compare provisions across statutes with citations
- Walk through a cheque-bounce versus DRT versus IBC recovery decision
- Give students a cited study aid on constitutional articles
Pricing
Open source
Open source (MIT); free hosted endpoint on Hugging Face
Indian Legal MCP FAQ
How much law does it cover?
The README says 102 Acts and codes with 12,174 sections, plus the Constitution of India.
Can it map old criminal sections to new ones?
Yes, convert_section crosswalks IPC, CrPC and IEA with BNS, BNSS and BSA using 2,629 mappings.
Do I need to install it?
No. A hosted endpoint is available; local use needs Python.
What licence is it under?
MIT.
Is Indian Legal MCP free?
Yes. Indian Legal MCP is open source, so you can use and self-host it for free.
How do I add Indian Legal MCP to Claude Code?
Run this command in your terminal: claude mcp add --transport http indian-legal-mcp https://gsms-b-indian-legal-mcp.hf.space/gradio_api/mcp/
What are the best alternatives to Indian Legal MCP?
The closest alternatives to Indian Legal MCP are Cipo, Data Ny, Datos Gob Es, Datos Cl and Data Govt Nz.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.
