LegalSearch
Provides tools for searching Indian judgments and statutes, and retrieving bounded legal packets for grounding AI agents in Indian law.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LegalSearchSearch for Indian judgment on right to privacy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
LegalSearch Agent Kit
LegalSearch is Roop's public MCP for grounding external agents in Roop's public Indian judgments and statutes without adopting the full Roop platform or migrating an existing agent stack.
This repository gives agent users a copy-paste master prompt, MCP setup snippets, and starter skills for Gemini agents, Codex, Claude Code, Hermes, OpenClaw-style agents, Cursor, VS Code agent mode, and other MCP-capable tools.
Registry name:
Display title:
LegalSearchCanonical MCP Registry ID:
ai.roopslaw/legalsearchOfficial MCP Registry status: published and active
Public Endpoints
MCP endpoint: https://mcp.roopslaw.ai/mcp
Health: https://mcp.roopslaw.ai/health
Discovery JSON: https://mcp.roopslaw.ai/.well-known/roop-public-mcp.json
Roop bot guide: https://www.roopslawassist.com/bots
Roop llms.txt: https://www.roopslawassist.com/llms.txt
Official MCP Registry search: https://registry.modelcontextprotocol.io/v0.1/servers?search=LegalSearch
Related MCP server: pk-eli-mcp
What LegalSearch Provides
Public judgment search and bounded judgment packets.
Public statute and subordinate-legislation search and bounded packets.
Public corpus status.
A vendor-neutral grounding workflow for agents that already support MCP.
What It Does Not Provide
Private workspaces, matters, documents, drafts, or user data.
Internal Roop systems, operational endpoints, non-public technical details, secrets, or privileged tools.
Legal advice. Agents must tell users to verify legal work against official sources and consult a qualified professional where appropriate.
Quick Start
Give your agent the master prompt in MASTER_PROMPT.md.
For direct setup instructions, see docs/mcp-setup.md.
For answer behavior and legal grounding rules, see docs/legal-grounding-policy.md.
Why Use Roop's Platform Too?
LegalSearch is a knowledge layer for interoperability. It is intentionally bounded. For sustained legal work, Roop's native platform and indigenous Roop Agents can be cheaper, faster, and more powerful because research, drafting, matter context, verification, collaboration, and billing are integrated rather than stitched together by an external agent.
See docs/platform-and-pricing-positioning.md for responsible positioning.
Security
Do not commit API keys. Use local environment variables such as ROOP_PUBLIC_MCP_API_KEY for authenticated MCP access. See SECURITY.md.
License
MIT. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Connect AI to millions of laws and court cases with the Lawstronaut MCP.
Structured access to 10 major Indian legal texts (BNS, IPC, etc) for AI agents.
- LegalizeOAuthdev.legalize
Official MCP connector for Legalize: read and search its whole open corpus, at any point in time.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA read-only MCP connector for searching, fetching, and citing provenance-tracked legal corpora with verifiable content hashes.Apache 2.0
- AlicenseAqualityAmaintenanceMCP server for searching and retrieving Pakistani federal statutes and Supreme Court judgments with structured citations, using static HuggingFace datasets.6Apache 2.0

Lawstronaut MCPofficial
FlicenseNot gradedqualityBmaintenanceConnects AI agents to 50+ million laws and court cases across 150+ jurisdictions via the Model Context Protocol.1-- AlicenseAqualityBmaintenanceAn MCP server for the CourtMesh public API that enables AI clients to search and analyze Indian court case law, covering over 310 million case records from the Supreme Court, High Courts, District Courts, and tribunals.121MIT