Install on Claude Desktop
Get AnrakLegal tools directly in your Claude Desktop conversations. Search 588,024+ Indian legal documents without leaving Claude.
Before You Start
Claude Desktop
Download from claude.ai/download
Node.js 18+
Required to run the MCP server. Download from nodejs.org
Why Node.js?
The MCP server runs using NPX (Node Package eXecuter), which comes with Node.js. NPX automatically downloads and runs the server without manual installation. It's a one-time requirement that enables seamless auto-updates.
Installation Steps
Get Your API Key
Visit the console to generate your API key:
Go to ConsoleYour API key will start with ANRAK-
Open Configuration File
Locate your Claude Desktop configuration file:
macOS
Press Cmd+Shift+G in Finder, paste the path above
Windows
Press Win+R, paste the path above
If the file doesn't exist, create it with your text editor.
Add AnrakLegal Configuration
If file is empty or new:
If you have existing MCP servers:
Important
Replace ANRAK-xxxxx-xxxxx-xxxxx-xxxxx with your actual API key from Step 1. Save the file after editing.
Restart Claude Desktop
macOS
- Click Claude in menu bar
- Select "Quit Claude" or press Cmd+Q
- Wait 5 seconds
- Reopen from Applications
Windows
- Close all Claude windows
- Check Task Manager to ensure process exits
- Wait 5 seconds
- Reopen from Start menu
Must Completely Quit
Just closing the window won't work. You must fully quit the application for Claude to reload the configuration.
Verify Installation
Open a new conversation in Claude Desktop and send this message:
Claude should respond listing these 5 tools:
anraklegalSearch
Search Indian legal documents
anraklegalDocument
Retrieve full judgment text
anraklegalMetadata
Get case metadata
anraklegalFragment
Extract relevant snippets
anraklegalOriginal
Download original documents
Try It Out!
Test your installation with a simple query. Ask Claude:
Claude will automatically use the AnrakLegal tools to search and present results!
Troubleshooting
Tools not appearing after restart
• Make sure you completely quit Claude Desktop (not just closed the window)
• Check that your JSON syntax is correct (no missing commas or brackets)
• Verify your API key is correct and inside quotes
• Check logs: ~/Library/Logs/Claude/mcp*.log (macOS)
"Server disconnected" error
• Check your API key is valid at /console
• Ensure your API key starts with ANRAK-
• Try generating a new API key
• Verify the key is properly quoted in the JSON file
"Cannot find module" or "npx command not found"
• Install Node.js from nodejs.org
• Restart your computer after installing Node.js
• Verify Node.js is installed: open Terminal/Command Prompt and run node --version
• For NPX installation: check internet connection (npx downloads on first run)
"Unauthorized" errors when using tools
• Your API key may be expired or deactivated
• Generate a new key at /console
• Update the config file with the new key
• Restart Claude Desktop after updating