Indian-Legal-MCP

Indian Legal MCP: The Definitive Legal Protocol for AI Agents The Indian Legal MCP Server provides AI agents with high-speed, structured, and strictly sourced…

От сообщества: Добавлен пользователем или импортирован; проверьте владельца перед подключениемРаботаетБез входаГлобальныйБесплатноТолько чтение

Что умеет

  • 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.
  • 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 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 e

Какие данные видит

Нужен ли аккаунт

Не нужен: сервер работает без входа

Indian Legal MCP: The Definitive Legal Protocol for AI Agents

The Indian Legal MCP Server provides AI agents with high-speed, structured, and strictly sourced access to the 10 major Indian legal texts. Designed specifically to eliminate AI hallucinations in legal research, this tool connects LLMs directly to an authoritative SQLite database, ensuring that every legal response is grounded in exact, verifiable statutory text.

Supported Legal Texts (Current & Repealed)

  • BNS (Bharatiya Nyaya Sanhita, 2023)
  • BNSS (Bharatiya Nagarik Suraksha Sanhita, 2023)
  • BSA (Bharatiya Sakshya Adhiniyam, 2023)
  • IPC (Indian Penal Code, 1860 - Repealed)
  • CrPC (Code of Criminal Procedure, 1973 - Repealed)
  • IEA (Indian Evidence Act, 1872 - Repealed)
  • COI (Constitution of India)
  • CPC (Code of Civil Procedure, 1908)
  • MVA (Motor Vehicles Act, 1988)
  • NIA (Negotiable Instruments Act, 1881)

Key Features for AI Agents

  1. Precision Keyword Search: Utilizes exact/BM25 lexical matching to find specific legal terminology without relying on semantic guesswork.
  2. Context-Aware Fetching: Agents can fetch specific chapters, individual sections, or exact section ranges to prevent blowing out their context windows.
  3. Repeal Awareness: Automatically detects when an agent queries repealed laws (like the IPC or CrPC) and attaches mandatory structural notes guiding the AI to the modern replacements (BNS, BNSS).
  4. Smart Pagination: Built-in safeguards allow agents to read entire acts in 50-section paginated chunks without crashing.

Why use this MCP?

Standard AI models guess what the law says based on training data. By equipping your agent with the Indian Legal MCP, it transforms from a predictive text engine into a precise legal researcher that cites exact section numbers, respects historical legal transitions, and delivers uncompromised accuracy for the Indian judicial system.

Список инструментов сервера (8)

Технические названия из tools/list. Нужны только разработчикам.

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.
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_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' or 'show me IPC 302'. 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.
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_get_chapterGet 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.
indian_legal_mcp_get_section_rangeGet 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.
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_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. 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.