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 102 Acts (including the 2026 Constitution of India, criminal, civil, commercial, corporate, labor, tax, environmental, public health, 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "indian_legal_mcp_search_keyword"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | search term(s), e.g. 'punishment for murder', 'freedom of speech', 'anticipatory bail', 'arbitration agreement', 'corporate governance', 'cheque bounce'. | |
| act_code | No | optional -- restrict search to one Act (e.g. 'BNS', 'IPC', 'COI', 'CA', 'RERA', 'IBC'). |