home / mcp / indian law mcp server

Indian Law MCP Server

Queries Indian legislation and EU cross-references directly from Claude and MCP clients.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ansvar-systems-india-law-mcp": {
      "url": "https://india-law-mcp.vercel.app/mcp"
    }
  }
}

You can query Indian legislation and related EU cross-references directly from Claude, Cursor, or any MCP-compatible client. This MCP server makes Indian law searchable, cross-referenceable, and AI-readable, helping you build legal tech, perform compliance checks, or research statutes efficiently without juggling multiple sources.

How to use

You can connect to either the hosted HTTP endpoint or run a local MCP server and connect your client to it. For Claude or Cursor, add the server as an MCP endpoint and start querying for provisions, citations, and currency checks. You will be able to search full text, retrieve exact provisions by statute, verify if a statute is in force, and build legal stances that aggregate multiple sources.

How to install

Prerequisites: you need Node.js and npm installed on your machine. Ensure you have a working internet connection to fetch dependencies and to access remote MCP endpoints.

Step 1: Clone the repository.

Step 2: Install dependencies.

Step 3: Build the project.

Step 4: Run tests.

To run the server locally you use the development command provided in the project and then connect your MCP clients to the local instance.

Representative commands from the source flow include:

git clone https://github.com/Ansvar-Systems/India-law-mcp
cd India-law-mcp
npm install
npm run build
npm test
```

```bash
npm run dev
```

```bash
npx @anthropic/mcp-inspector node dist/index.js

Additional notes

If you prefer a remote usage pattern, you can connect to the hosted endpoint without installing dependencies locally. The remote endpoint is: https://india-law-mcp.vercel.app/mcp. Use this URL in your MCP client settings to start querying.

Security and reliability considerations

This MCP server emphasizes verifiable, non-LLM statute text. Text is ingested from official Indian government sources, and you receive provisions directly from the database without artificial paraphrasing. Regular security scanning is part of the workflow, including static analysis, SAST, secret scanning, vulnerability checks, and dependency monitoring to help you depend on a safer tool for legal research.

Examples of what you can do with the server

Ask questions like finding specific provisions, checking if a statute is currently in force, or discovering EU directives that Indian statutes implement. You can build legal stances by aggregating citations across statutes and format citations per Indian conventions.

Available tools

search_legislation

Full-text search across all provisions with BM25 ranking to quickly locate relevant statutes and clauses.

get_provision

Retrieve a specific provision by statute, including chapter and section identifiers.

check_currency

Determine whether a statute is in force, amended, or repealed to ensure up-to-date research.

validate_citation

Check citations against the database to reduce errors and hallucinations.

build_legal_stance

Aggregate citations from multiple statutes to form a coherent legal position.

format_citation

Format legal citations according to Indian conventions (full/short/pinpoint); supports standard reference styles.

list_sources

List all available statutes with metadata for quick discovery.

about

Provide server information, capabilities, and coverage summaries.

get_eu_basis

Retrieve EU directives or regulations that apply to Indian statutes.

get_indian_implementations

Find Indian laws that implement a given EU act.

search_eu_implementations

Search EU documents with counts of Indian implementations.

get_provision_eu_basis

Get EU law references that apply to a specific provision.

validate_eu_compliance

Check the implementation status of EU directives within Indian law.

Indian Law MCP Server - ansvar-systems/india-law-mcp