Clauseo, Case Law

Your AI cites a case. Now it can read it.

Indian judgments and statutes, for Claude, ChatGPT and 17 more AIs.

Paste this address into your AI

https://data.clauseo.chat/mcp/case-law

Nothing to pay until your AI needs credits.

Pick your AI.

The same address works in every one. Tap yours for its steps.

Your AI Chat apps
Coding tools and agents
Your own code

Claude.ai and Claude Desktop

Paste the address
  1. In Claude on the web or in Claude Desktop, open Customize, then Connectors.
  2. Click Add custom connector.
  3. Name it Clauseo Case Law. Paste this address into MCP server URL:
    https://data.clauseo.chat/mcp/case-law
  4. If Claude asks how people sign in, choose Sign in now and Use Claude's published identity.
  5. Click Add.
  6. When our page opens, click Continue. You're back in Claude, connected.

Once added, it works in the Claude phone app too; the phone app can't add it. Free plans allow one custom connector. On Team and Enterprise plans an Owner adds it under Organization settings, Connectors, and each member clicks Connect.

ChatGPT

Paste the address
  1. On the ChatGPT website, go to Plugins.
  2. Select the plus button, then Add custom MCP server.
  3. Name it Clauseo Case Law. Under Connection, paste this address:
    https://data.clauseo.chat/mcp/case-law
  4. Set authentication so that you sign in to Clauseo.
  5. Read the warning and tick I understand and want to continue. Then select Create as a plugin.
  6. When our page opens, click Continue.
  7. Install the plugin. In a new chat, type @ and pick Clauseo Case Law.

Business, Enterprise and Edu workspaces get every tool. On Business, only admins and owners can add it. Pro accounts can read and fetch. The ChatGPT phone app can't add one; use the website.

Claude Code

One command
  1. In a terminal:
    claude mcp add --transport http clauseo https://data.clauseo.chat/mcp/case-law
  2. Sign in. Run /mcp inside Claude Code, or from the terminal:
    claude mcp login clauseo
  3. Click Continue on our page in the browser.
Use an API key instead

With an API key instead of signing in:

claude mcp add --transport http clauseo https://data.clauseo.chat/mcp/case-law --header "Authorization: Bearer cdk_live_YOUR_KEY"

By default it is added for the current project, on your machine only. Add --scope user for every project, or --scope project to share it through .mcp.json. Over SSH, add --no-browser to the login to print the link instead.

Codex

One command
  1. In a terminal:
    codex mcp add clauseo --url https://data.clauseo.chat/mcp/case-law
  2. Sign in:
    codex mcp login clauseo
  3. Click Continue on our page in the browser.
Use an API key instead

With an API key, in ~/.codex/config.toml, and export CLAUSEO_API_KEY=cdk_live_YOUR_KEY in your shell:

[mcp_servers.clauseo]
url = "https://data.clauseo.chat/mcp/case-law"
bearer_token_env_var = "CLAUSEO_API_KEY"

The ChatGPT desktop app, the Codex CLI and the IDE extension share ~/.codex/config.toml, so adding it once covers all three.

Cursor

One link
  1. Open Add to Cursor on the computer where Cursor runs. Cursor asks you to install the server.
  2. Or add it by hand to ~/.cursor/mcp.json:
    {
      "mcpServers": {
        "clauseo": { "url": "https://data.clauseo.chat/mcp/case-law" }
      }
    }
  3. Follow Cursor's sign-in prompts and click Continue on our page. The server is listed under Customize, then MCPs, in the sidebar.
Use an API key instead

With an API key, in ~/.cursor/mcp.json, with CLAUSEO_API_KEY set in your shell profile:

{
  "mcpServers": {
    "clauseo": {
      "url": "https://data.clauseo.chat/mcp/case-law",
      "headers": { "Authorization": "Bearer ${env:CLAUSEO_API_KEY}" }
    }
  }
}

On Enterprise plans, an admin may need to allow the address as a URL entry in the MCP allowlist.

VS Code with GitHub Copilot

One command
  1. Open the Command Palette and run MCP: Add Server.
  2. Choose HTTP (HTTP or Server-Sent Events) and enter:
    https://data.clauseo.chat/mcp/case-law
  3. Enter clauseo as the server ID, then choose where to save it.
  4. Review the trust and sign-in prompts, and click Continue on our page if it opens.
Use an API key instead

With an API key, in .vscode/mcp.json or your user mcp.json. VS Code asks for the key and hides it as you type:

{
  "inputs": [
    { "type": "promptString", "id": "clauseo-key", "description": "Clauseo API key", "password": true }
  ],
  "servers": {
    "clauseo": {
      "type": "http",
      "url": "https://data.clauseo.chat/mcp/case-law",
      "headers": { "Authorization": "Bearer ${input:clauseo-key}" }
    }
  }
}

Needs VS Code 1.99 or later. On Copilot Business or Enterprise, an admin must turn on the MCP servers in Copilot policy. If sign-in doesn't start, use the API key.

Gemini CLI

One command
  1. In a terminal:
    gemini mcp add --transport http clauseo https://data.clauseo.chat/mcp/case-law
  2. Sign in, inside Gemini CLI:
    /mcp auth clauseo
  3. A browser opens on the same machine. Click Continue on our page.
Use an API key instead

With an API key. --scope user keeps it in your home folder, out of the project's settings file:

gemini mcp add --transport http --scope user -H "Authorization: Bearer cdk_live_YOUR_KEY" clauseo https://data.clauseo.chat/mcp/case-law

Without --scope user, Gemini CLI saves the server in the project's settings. Google says Gemini CLI was replaced by Antigravity CLI for unpaid tier and Google One users on June 18, 2026. If that is you, use Antigravity below.

Antigravity

A config file
  1. Add to ~/.gemini/config/mcp_config.json:
    {
      "mcpServers": {
        "clauseo": { "serverUrl": "https://data.clauseo.chat/mcp/case-law" }
      }
    }
  2. In the Antigravity app, open Agent Settings with Cmd+, or Ctrl+,. On the Customizations tab, click Authenticate next to clauseo.
  3. In the browser, click Continue on our page and copy the authorization code. Paste it into the settings panel and click Submit.
Use an API key instead

With an API key:

{
  "mcpServers": {
    "clauseo": {
      "serverUrl": "https://data.clauseo.chat/mcp/case-law",
      "headers": { "Authorization": "Bearer cdk_live_YOUR_KEY" }
    }
  }
}

The Antigravity CLI, agy, reads the same file. Its docs don't describe signing in, so there use the API key. For one workspace only, use .agents/mcp_config.json in the project.

Windsurf

A config file
  1. In Cascade's MCP menu, choose Open MCP config file. It opens ~/.config/devin/mcp_config.json, or %AppData%/devin/mcp_config.json on Windows.
  2. Add this and save:
    {
      "mcpServers": {
        "clauseo": { "serverUrl": "https://data.clauseo.chat/mcp/case-law" }
      }
    }
  3. Press the refresh button so Cascade picks it up.
  4. Sign in when Windsurf asks, and click Continue on our page.
Use an API key instead

With an API key, with CLAUSEO_API_KEY set in your environment:

{
  "mcpServers": {
    "clauseo": {
      "serverUrl": "https://data.clauseo.chat/mcp/case-law",
      "headers": { "Authorization": "Bearer ${env:CLAUSEO_API_KEY}" }
    }
  }
}

On Enterprise plans, MCP must be turned on in settings, and an admin allowlist blocks every server not on it. Windsurf's docs are moving to Devin, so the file location may change.

Zed

Paste the address
  1. Run agent: open settings and go to MCP Servers. Choose Add Server, then Add Remote Server, and give it this address:
    https://data.clauseo.chat/mcp/case-law
  2. Or add it to your settings file, which zed: open settings file opens:
    {
      "context_servers": {
        "clauseo": { "url": "https://data.clauseo.chat/mcp/case-law" }
      }
    }
  3. Zed asks you to sign in. Click Continue on our page.
Use an API key instead

With an API key, in your settings file:

{
  "context_servers": {
    "clauseo": {
      "url": "https://data.clauseo.chat/mcp/case-law",
      "headers": { "Authorization": "Bearer cdk_live_YOUR_KEY" }
    }
  }
}

Zed's docs don't cover environment variables in headers, so paste the key itself.

Cline

Paste the address
  1. In the Cline panel, click the MCP Servers icon and open the Remote Servers tab.
  2. Enter clauseo as the Server Name and this as the Server URL:
    https://data.clauseo.chat/mcp/case-law
  3. Choose Streamable HTTP as the Transport Type and click Add Server.
  4. Sign in when Cline asks, and click Continue on our page.
Use an API key instead

With an API key, in Cline's MCP settings file. Keep the type line, or Cline falls back to an older transport:

{
  "mcpServers": {
    "clauseo": {
      "type": "streamableHttp",
      "url": "https://data.clauseo.chat/mcp/case-law",
      "headers": { "Authorization": "Bearer cdk_live_YOUR_KEY" }
    }
  }
}

In the Cline CLI, run cline mcp and choose Authorize OAuth to sign in. Enterprise admins can block personal remote servers.

Goose

A config file
  1. Add to ~/.config/goose/config.yaml:
    extensions:
      clauseo:
        name: clauseo
        type: streamable_http
        uri: "https://data.clauseo.chat/mcp/case-law"
        enabled: true
        timeout: 300
  2. Start a session. Sign in when Goose opens your browser, and click Continue on our page.

Goose's docs advise against keeping API keys in config.yaml, so use sign-in.

OpenClaw

A few commands
  1. Stop the gateway, add the server and sign in:
    openclaw gateway stop
    openclaw mcp add clauseo --url https://data.clauseo.chat/mcp/case-law --transport streamable-http --auth oauth
    openclaw mcp login clauseo
  2. Open the link it prints, click Continue on our page, and go back to the terminal.
  3. Start the gateway again:
    openclaw gateway start
Use an API key instead

With an API key, in OpenClaw's config, with CLAUSEO_API_KEY set:

{
  mcp: {
    servers: {
      clauseo: {
        url: "https://data.clauseo.chat/mcp/case-law",
        transport: "streamable-http",
        headers: { Authorization: "Bearer ${CLAUSEO_API_KEY}" }
      }
    }
  }
}

OpenClaw ignores a fixed Authorization header while auth: "oauth" is set, so use one or the other.

Hermes

A config file
  1. Add to ~/.hermes/config.yaml:
    mcp_servers:
      clauseo:
        url: "https://data.clauseo.chat/mcp/case-law"
        auth: oauth
  2. Sign in from a fresh terminal on the Hermes machine:
    hermes mcp login clauseo
  3. Click Continue on our page. Then, in a running session:
    /reload-mcp
Use an API key instead

With an API key, in ~/.hermes/config.yaml, and CLAUSEO_API_KEY=cdk_live_YOUR_KEY in ~/.hermes/.env:

mcp_servers:
  clauseo:
    url: "https://data.clauseo.chat/mcp/case-law"
    headers:
      Authorization: "Bearer ${CLAUSEO_API_KEY}"

On a remote host, run the login over SSH port forwarding so your browser can reach it: ssh -N -L PORT:127.0.0.1:PORT user@host, with the port the login prints.

OpenAI Agents SDK

A few lines of Python
  1. Get an API key. This call makes a new account:
    curl -X POST https://data.clauseo.chat/agent/identity -H "Content-Type: application/json" -d '{"type": "anonymous"}'
  2. Save the api_key it returns. It is shown once. The code below reads it from CLAUSEO_API_KEY.
  3. Connect the server to an agent:
    import asyncio
    import os
    
    from agents import Agent, Runner
    from agents.mcp import MCPServerStreamableHttp
    
    
    async def main() -> None:
        token = os.environ["CLAUSEO_API_KEY"]
        async with MCPServerStreamableHttp(
            name="clauseo",
            params={
                "url": "https://data.clauseo.chat/mcp/case-law",
                "headers": {"Authorization": f"Bearer {token}"},
            },
        ) as server:
            agent = Agent(
                name="Assistant",
                instructions="Use the Clauseo tools to research Indian case law.",
                mcp_servers=[server],
            )
            result = await Runner.run(agent, "Find Supreme Court judgments on anticipatory bail.")
            print(result.final_output)
    
    
    asyncio.run(main())

LangChain

A few lines of Python
  1. Get an API key. This call makes a new account:
    curl -X POST https://data.clauseo.chat/agent/identity -H "Content-Type: application/json" -d '{"type": "anonymous"}'
  2. Save the api_key it returns. It is shown once. The code below reads it from CLAUSEO_API_KEY.
  3. Install:
    pip install "langchain[mcp]"
  4. Load the tools and give them to an agent:
    import asyncio
    import os
    
    from fastmcp.client import Client
    from langchain.agents import create_agent
    from langchain.mcp import MCPAdapter
    
    
    async def main():
        client = Client("https://data.clauseo.chat/mcp/case-law", auth=os.environ["CLAUSEO_API_KEY"])
        async with MCPAdapter(client) as adapter:
            tools = await adapter.list_tools()
            agent = create_agent("claude-sonnet-5", tools)
    
    
    asyncio.run(main())

For browser sign-in instead of a key, pass auth="oauth". Tokens stay in memory, so each run signs in again. langchain.mcp replaces the archived langchain-mcp-adapters package.

Vercel AI SDK

A few lines of TypeScript
  1. Get an API key. This call makes a new account:
    curl -X POST https://data.clauseo.chat/agent/identity -H "Content-Type: application/json" -d '{"type": "anonymous"}'
  2. Save the api_key it returns. It is shown once. The code below reads it from CLAUSEO_API_KEY.
  3. Install:
    npm i ai @ai-sdk/mcp
  4. Create the client and pass its tools to generateText or streamText:
    import { createMCPClient } from '@ai-sdk/mcp';
    
    const mcpClient = await createMCPClient({
      transport: {
        type: 'http',
        url: 'https://data.clauseo.chat/mcp/case-law',
        headers: { Authorization: `Bearer ${process.env.CLAUSEO_API_KEY}` },
      },
    });
    
    try {
      const tools = await mcpClient.tools();
      // pass tools to generateText or streamText
    } finally {
      await mcpClient.close();
    }

Claude API

A few lines of Python
  1. Get an API key. This call makes a new account:
    curl -X POST https://data.clauseo.chat/agent/identity -H "Content-Type: application/json" -d '{"type": "anonymous"}'
  2. Save the api_key it returns. It is shown once. The code below reads it from CLAUSEO_API_KEY.
  3. Pass the server on each Messages API request:
    import os
    
    import anthropic
    
    client = anthropic.Anthropic()
    response = client.beta.messages.create(
        model="claude-opus-5-5",
        max_tokens=1000,
        messages=[{"role": "user", "content": "Find Supreme Court judgments on anticipatory bail."}],
        mcp_servers=[
            {
                "type": "url",
                "url": "https://data.clauseo.chat/mcp/case-law",
                "name": "clauseo",
                "authorization_token": os.environ["CLAUSEO_API_KEY"],
            }
        ],
        tools=[{"type": "mcp_toolset", "mcp_server_name": "clauseo"}],
        betas=["mcp-client-2026-09-15"],
    )
    print(response)

The MCP connector is in beta. It uses tool calls only.

OpenAI API

One request
  1. Get an API key. This call makes a new account:
    curl -X POST https://data.clauseo.chat/agent/identity -H "Content-Type: application/json" -d '{"type": "anonymous"}'
  2. Save the api_key it returns. It is shown once. The code below reads it from CLAUSEO_API_KEY.
  3. Add the server as a tool in a Responses API request. Put your key where it says cdk_live_YOUR_KEY:
    curl https://api.openai.com/v1/responses \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer $OPENAI_API_KEY" \
      -d '{
        "model": "gpt-6-astra",
        "input": "Find Supreme Court judgments on anticipatory bail.",
        "tools": [
          {
            "type": "mcp",
            "server_label": "clauseo",
            "server_url": "https://data.clauseo.chat/mcp/case-law",
            "headers": { "Authorization": "Bearer cdk_live_YOUR_KEY" },
            "require_approval": "never"
          }
        ]
      }'

Leave out require_approval to approve each tool call yourself. That is the default.

Your own agent

Over HTTP
  1. Point your agent at this file. It explains how to sign up with one call and use the tools:
    https://data.clauseo.chat/auth.md
  2. Or by hand. Sign up, and save the api_key it returns:
    curl -X POST https://data.clauseo.chat/agent/identity -H "Content-Type: application/json" -d '{"type": "anonymous"}'
  3. List the tools. This needs no key:
    curl https://data.clauseo.chat/v1/case-law/tools
  4. Call a tool with its arguments as JSON:
    curl -X POST https://data.clauseo.chat/v1/case-law/search_law \
      -H "Authorization: Bearer $CLAUSEO_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"queries": ["anticipatory bail"]}'

A new account has no credits. The first paid call returns a payment link for your human. Add "dry_run": true to any paid call to see its price for free.

Something else? Paste the address wherever it asks for a remote MCP server. An agent with a terminal can sign itself up at auth.md, and anything that speaks HTTP can use the JSON API.

It checks every citation in your draft.

The case, the quote and the paragraph, each against the judgment itself, in one call for the whole draft.

check_citations, on a test draft
  1. VerifiedAIR 2020 SC 5592Tofan Singh v. The State Of Tamil Naduquote at p821 ¶526
  2. Wrong paragraphAIR 2020 SC 5592Tofan Singh v. The State Of Tamil Naduquote at p108 · draft says ¶2
  3. Quote not foundAIR 2020 SC 5592Tofan Singh v. The State Of Tamil Naduclosest p226, which shares 89% of the quote's words
  4. Verified1978 AIR 597Maneka Gandhi v. Union Of Indiathe citation resolves; no quote or pinpoint to check

Verdicts check that a case exists, that the quote is in it and that the paragraph is right. Whether it supports your point is still yours to read.

It opens a judgment as one card.

Then it reads only the paragraphs it needs, at 1 credit per 4,000 tokens.

140,000tokens

The whole of Tofan Singh v. State of Tamil Nadu.

What your AI opens
d143202244 "Tofan Singh v. The State Of Tamil Nadu" · SC · 2020-10-29 · Indira Banerjee, R.F. Nariman
Cite as: AIR 2020 SC 5592 · also AIRONLINE 2020 SC 798
Cites 88 (80 relied, 14 negative) · cited by 1,439 · 740 paragraphs
under 800tokens

It sees how later courts treated a case.

Who relied on it, who didn't, and the paragraph where they said so.

citator, cited by
1,439Tofan Singh v. State of Tamil NaduAIR 2020 SC 5592 · later judgments citing it
  • Amit Ranjan v. Narcotics Control Bureau, DelhiNegativeDelhi High Court · 2022Tofan Singh (supra) is of no assistance to the applicant in view of the sufficient substantial material on record
  • Rajni Kaur v. State Of PunjabRelied onPunjab and Haryana High Court · 2022may be relevant for the grant of regular bail or at the time of final adjudication of the Trial
  • Abdul Razak B.U v. Union Of IndiaNegativeKarnataka High Court · 2026mere voluntary statement of the co-accused cannot be made the basis to implicate the petitioner
  • Nirmal Singh v. State Of PunjabRelied onPunjab and Haryana High Court · 2023anticipatory bail cannot be granted to an accused on the grounds that he has only been named as an accused

The labels are automated, so your AI also gets the paragraph behind each one.

You pay per call, in rupees.

1 credit is ₹0.10 before 18% GST. Your AI can ask the price of any call first, for free.

Nothing to pay until your AI needs credits.

  1. Your AI shows you a linkOurs always start with https://data.clauseo.chat/pay/. Anyone can pay one, so you can forward it.
  2. You pay by UPI, card or netbankingOn a phone it opens your UPI app. On a computer you scan a QR code.
  3. Your AI carries onIt picks up the request it was making as soon as the money lands.

Sign in with a Clauseo login for 1,000 free credits and GST invoices. If our data source ever ends our access, unused paid credits are refunded in full. Terms and privacy.

Agents start at auth.md.

One HTTP call signs you up and returns an API key. Everything on this page is also plain text.